#[repr(C)]pub struct CCallbackBaseVmtLayout<__VtableT: 'static, P: 'static> {
pub run: extern "C" fn(this: &mut __VtableT, pv_param: *mut P),
pub run_call: extern "C" fn(this: &mut __VtableT, pv_param: *mut P, io_failure: bool, api_call: u64),
pub get_callback_size_bytes: extern "C" fn(this: &mut __VtableT) -> i32,
pub destructor: extern "C" fn(this: &mut __VtableT, should_free: bool),
}Expand description
Virtual method table layout for CCallbackBaseVmt.
Fields§
§run: extern "C" fn(this: &mut __VtableT, pv_param: *mut P)§run_call: extern "C" fn(this: &mut __VtableT, pv_param: *mut P, io_failure: bool, api_call: u64)§get_callback_size_bytes: extern "C" fn(this: &mut __VtableT) -> i32§destructor: extern "C" fn(this: &mut __VtableT, should_free: bool)Trait Implementations§
Source§impl<__VtableT: 'static, P: 'static> Clone for CCallbackBaseVmtLayout<__VtableT, P>
impl<__VtableT: 'static, P: 'static> Clone for CCallbackBaseVmtLayout<__VtableT, P>
impl<__VtableT: 'static, P: 'static> Copy for CCallbackBaseVmtLayout<__VtableT, P>
Auto Trait Implementations§
impl<__VtableT, P> Freeze for CCallbackBaseVmtLayout<__VtableT, P>
impl<__VtableT, P> RefUnwindSafe for CCallbackBaseVmtLayout<__VtableT, P>
impl<__VtableT, P> Send for CCallbackBaseVmtLayout<__VtableT, P>
impl<__VtableT, P> Sync for CCallbackBaseVmtLayout<__VtableT, P>
impl<__VtableT, P> Unpin for CCallbackBaseVmtLayout<__VtableT, P>
impl<__VtableT, P> UnsafeUnpin for CCallbackBaseVmtLayout<__VtableT, P>
impl<__VtableT, P> UnwindSafe for CCallbackBaseVmtLayout<__VtableT, P>
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