pub struct WasmFunc {
pub index: u32,
pub name: String,
pub params: Vec<ValType>,
pub results: Vec<ValType>,
pub locals: Vec<ValType>,
pub body_offset: usize,
pub body_size: usize,
}Expand description
A discovered WASM function with its name, type, and body offset.
Fields§
§index: u32§name: String§params: Vec<ValType>§results: Vec<ValType>§locals: Vec<ValType>§body_offset: usize§body_size: usizeAuto Trait Implementations§
impl Freeze for WasmFunc
impl RefUnwindSafe for WasmFunc
impl Send for WasmFunc
impl Sync for WasmFunc
impl Unpin for WasmFunc
impl UnsafeUnpin for WasmFunc
impl UnwindSafe for WasmFunc
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