#[repr(C)]pub struct M3Function {Show 14 fields
pub module: *mut M3Module,
pub import: M3ImportInfo,
pub wasm: bytes_t,
pub wasmEnd: bytes_t,
pub name: cstr_t,
pub funcType: IM3FuncType,
pub compiled: pc_t,
pub maxStackSlots: u16_,
pub numArgSlots: u16_,
pub numLocals: u16_,
pub numLocalBytes: u16_,
pub constants: *mut c_void,
pub numConstantBytes: u16_,
pub ownsWasmCode: bool,
}
Fields§
§module: *mut M3Module
§import: M3ImportInfo
§wasm: bytes_t
§wasmEnd: bytes_t
§name: cstr_t
§funcType: IM3FuncType
§compiled: pc_t
§maxStackSlots: u16_
§numArgSlots: u16_
§numLocals: u16_
§numLocalBytes: u16_
§constants: *mut c_void
§numConstantBytes: u16_
§ownsWasmCode: bool
Trait Implementations§
Source§impl Clone for M3Function
impl Clone for M3Function
Source§fn clone(&self) -> M3Function
fn clone(&self) -> M3Function
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for M3Function
Auto Trait Implementations§
impl Freeze for M3Function
impl RefUnwindSafe for M3Function
impl !Send for M3Function
impl !Sync for M3Function
impl Unpin for M3Function
impl UnwindSafe for M3Function
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