Struct tinywasm_types::WasmFunction
source · pub struct WasmFunction {
pub instructions: Box<[Instruction]>,
pub locals: Box<[ValType]>,
pub ty: FuncType,
}Fields§
§instructions: Box<[Instruction]>§locals: Box<[ValType]>§ty: FuncTypeTrait Implementations§
source§impl Clone for WasmFunction
impl Clone for WasmFunction
source§fn clone(&self) -> WasmFunction
fn clone(&self) -> WasmFunction
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 moreAuto Trait Implementations§
impl RefUnwindSafe for WasmFunction
impl Send for WasmFunction
impl Sync for WasmFunction
impl Unpin for WasmFunction
impl UnwindSafe for WasmFunction
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