Enum cranelift_wasm::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.