[][src]Enum cranelift_wasm::WasmType

pub enum WasmType {
    I32,
    I64,
    F32,
    F64,
    V128,
    FuncRef,
    ExternRef,
}

WebAssembly value type -- equivalent of wasmparser's Type.

Variants

I32

I32 type

I64

I64 type

F32

F32 type

F64

F64 type

V128

V128 type

FuncRef

FuncRef type

ExternRef

ExternRef type

Trait Implementations

impl Clone for WasmType[src]

impl Copy for WasmType[src]

impl Debug for WasmType[src]

impl Eq for WasmType[src]

impl From<WasmType> for Type[src]

impl Hash for WasmType[src]

impl PartialEq<WasmType> for WasmType[src]

impl StructuralEq for WasmType[src]

impl StructuralPartialEq for WasmType[src]

impl TryFrom<Type> for WasmType[src]

type Error = WasmError

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.