#[repr(C)]pub struct CCallback {
pub ptr: Obj,
pub success: unsafe extern "system" fn(ptr: Obj, data: CBuf),
pub error: unsafe extern "system" fn(ptr: Obj, error: CModuleError),
pub unknown_method: unsafe extern "system" fn(ptr: Obj),
pub destroyed: unsafe extern "system" fn(ptr: Obj),
}Fields§
§ptr: Obj§success: unsafe extern "system" fn(ptr: Obj, data: CBuf)§error: unsafe extern "system" fn(ptr: Obj, error: CModuleError)§unknown_method: unsafe extern "system" fn(ptr: Obj)§destroyed: unsafe extern "system" fn(ptr: Obj)Trait Implementations§
Auto Trait Implementations§
impl Freeze for CCallback
impl RefUnwindSafe for CCallback
impl Unpin for CCallback
impl UnwindSafe for CCallback
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