Struct tinywasm_types::Function
source · pub struct Function {
pub ty: TypeAddr,
pub locals: Box<[ValType]>,
pub instructions: Box<[Instruction]>,
}
Expand description
A WebAssembly Function
Fields§
§ty: TypeAddr
§locals: Box<[ValType]>
§instructions: Box<[Instruction]>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Function
impl Send for Function
impl Sync for Function
impl Unpin for Function
impl UnwindSafe for Function
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