#[repr(C)]pub struct plum_callback {
pub callback: Option<unsafe extern "C" fn(userdata: *mut c_void, buffer: *mut c_void, size: c_int) -> c_int>,
pub userdata: *mut c_void,
}Fields§
§callback: Option<unsafe extern "C" fn(userdata: *mut c_void, buffer: *mut c_void, size: c_int) -> c_int>§userdata: *mut c_voidTrait Implementations§
Auto Trait Implementations§
impl Freeze for plum_callback
impl RefUnwindSafe for plum_callback
impl !Send for plum_callback
impl !Sync for plum_callback
impl Unpin for plum_callback
impl UnwindSafe for plum_callback
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