Enum wasmtime_environ::wasmparser::Type
source · pub enum Type {
Func(FuncType),
}
Expand description
Represents a type in a WebAssembly module.
Variants§
Trait Implementations§
source§impl<'a> FromReader<'a> for Type
impl<'a> FromReader<'a> for Type
source§fn from_reader(reader: &mut BinaryReader<'a>) -> Result<Type, BinaryReaderError>
fn from_reader(reader: &mut BinaryReader<'a>) -> Result<Type, BinaryReaderError>
Attempts to read
Self
from the provided binary reader, returning an
error if it is unable to do so.Auto Trait Implementations§
impl Freeze for Type
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)