#[repr(C)]pub struct LMFlowKernelVTable {
pub create: Option<unsafe extern "C" fn(*mut c_void) -> *mut c_void>,
pub get_contract: Option<unsafe extern "C" fn(*mut c_void, *mut LMFlowContract)>,
pub open: Option<unsafe extern "C" fn(*mut c_void, *mut LMFlowContext) -> i32>,
pub process: Option<unsafe extern "C" fn(*mut c_void, *mut LMFlowContext) -> i32>,
pub close: Option<unsafe extern "C" fn(*mut c_void, *mut LMFlowContext) -> i32>,
pub destroy: Option<unsafe extern "C" fn(*mut c_void)>,
}Fields§
§create: Option<unsafe extern "C" fn(*mut c_void) -> *mut c_void>§get_contract: Option<unsafe extern "C" fn(*mut c_void, *mut LMFlowContract)>§open: Option<unsafe extern "C" fn(*mut c_void, *mut LMFlowContext) -> i32>§process: Option<unsafe extern "C" fn(*mut c_void, *mut LMFlowContext) -> i32>§close: Option<unsafe extern "C" fn(*mut c_void, *mut LMFlowContext) -> i32>§destroy: Option<unsafe extern "C" fn(*mut c_void)>Trait Implementations§
Source§impl Clone for LMFlowKernelVTable
impl Clone for LMFlowKernelVTable
Source§fn clone(&self) -> LMFlowKernelVTable
fn clone(&self) -> LMFlowKernelVTable
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LMFlowKernelVTable
Auto Trait Implementations§
impl Freeze for LMFlowKernelVTable
impl RefUnwindSafe for LMFlowKernelVTable
impl Send for LMFlowKernelVTable
impl Sync for LMFlowKernelVTable
impl Unpin for LMFlowKernelVTable
impl UnsafeUnpin for LMFlowKernelVTable
impl UnwindSafe for LMFlowKernelVTable
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