#[repr(C)]pub struct spa_hook {
    pub link: spa_list,
    pub cb: spa_callbacks,
    pub removed: Option<unsafe extern "C" fn(hook: *mut spa_hook)>,
    pub priv_: *mut c_void,
}Expand description
\struct spa_hook A hook, contains the structure with functions and the data passed to the functions.
A hook should be treated as opaque by the caller.
Fields§
§link: spa_list§cb: spa_callbacks§removed: Option<unsafe extern "C" fn(hook: *mut spa_hook)>callback and data for the hook list, private to the hook_list implementor
priv_: *mut c_voidTrait Implementations§
impl Copy for spa_hook
impl Eq for spa_hook
impl StructuralPartialEq for spa_hook
Auto Trait Implementations§
impl Freeze for spa_hook
impl RefUnwindSafe for spa_hook
impl !Send for spa_hook
impl !Sync for spa_hook
impl Unpin for spa_hook
impl UnwindSafe for spa_hook
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