pub struct FuncType {
pub params: ResultType,
pub returns: ResultType,
}Expand description
Fields§
§params: ResultType§returns: ResultTypeImplementations§
Source§impl FuncType
impl FuncType
pub fn read(wasm: &mut WasmReader<'_>) -> Result<FuncType, ValidationError>
Trait Implementations§
impl Eq for FuncType
impl StructuralPartialEq for FuncType
Auto Trait Implementations§
impl Freeze for FuncType
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