pub struct FuncType {
pub params: Box<[ValType]>,
pub results: Box<[ValType]>,
}
Expand description
The type of a WebAssembly Function.
See https://webassembly.github.io/spec/core/syntax/types.html#function-types
Fields§
§params: Box<[ValType]>
§results: Box<[ValType]>
Implementations§
Trait Implementations§
source§impl PartialEq for FuncType
impl PartialEq for FuncType
impl StructuralPartialEq for FuncType
Auto Trait Implementations§
impl RefUnwindSafe for FuncType
impl Send for FuncType
impl Sync for FuncType
impl Unpin for FuncType
impl UnwindSafe for FuncType
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