pub struct FunctionOps {
pub index: u32,
pub export_name: Option<String>,
pub ops: Vec<WasmOp>,
}Expand description
Decoded function with its WasmOp sequence
Fields§
§index: u32Function index in the module (includes imported functions)
export_name: Option<String>Export name if this function is exported
ops: Vec<WasmOp>The WASM operations in this function body
Trait Implementations§
Source§impl Clone for FunctionOps
impl Clone for FunctionOps
Source§fn clone(&self) -> FunctionOps
fn clone(&self) -> FunctionOps
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 moreAuto Trait Implementations§
impl Freeze for FunctionOps
impl RefUnwindSafe for FunctionOps
impl Send for FunctionOps
impl Sync for FunctionOps
impl Unpin for FunctionOps
impl UnsafeUnpin for FunctionOps
impl UnwindSafe for FunctionOps
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