#[repr(C)]pub struct ss_plugin_routine_vtable {
pub subscribe: Option<unsafe extern "C-unwind" fn(o: *mut ss_plugin_owner_t, f: ss_plugin_routine_fn_t, i: *mut ss_plugin_routine_state_t) -> *mut ss_plugin_routine_t>,
pub unsubscribe: Option<unsafe extern "C-unwind" fn(o: *mut ss_plugin_owner_t, r: *mut ss_plugin_routine_t) -> ss_plugin_rc>,
}
Fields§
§subscribe: Option<unsafe extern "C-unwind" fn(o: *mut ss_plugin_owner_t, f: ss_plugin_routine_fn_t, i: *mut ss_plugin_routine_state_t) -> *mut ss_plugin_routine_t>
§unsubscribe: Option<unsafe extern "C-unwind" fn(o: *mut ss_plugin_owner_t, r: *mut ss_plugin_routine_t) -> ss_plugin_rc>
Trait Implementations§
Source§impl Clone for ss_plugin_routine_vtable
impl Clone for ss_plugin_routine_vtable
Source§fn clone(&self) -> ss_plugin_routine_vtable
fn clone(&self) -> ss_plugin_routine_vtable
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ss_plugin_routine_vtable
impl Debug for ss_plugin_routine_vtable
impl Copy for ss_plugin_routine_vtable
Auto Trait Implementations§
impl Freeze for ss_plugin_routine_vtable
impl RefUnwindSafe for ss_plugin_routine_vtable
impl Send for ss_plugin_routine_vtable
impl Sync for ss_plugin_routine_vtable
impl Unpin for ss_plugin_routine_vtable
impl UnwindSafe for ss_plugin_routine_vtable
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more