Enum wasm_encoder::ValType [−][src]
#[repr(u8)]
pub enum ValType {
I32,
I64,
F32,
F64,
V128,
FuncRef,
ExternRef,
}Expand description
The type of a value.
Variants
I32
The i32 type.
I64
The i64 type.
F32
The f32 type.
F64
The f64 type.
V128
The v128 type.
Part of the SIMD proposal.
FuncRef
The funcref type.
Part of the reference types proposal when used anywhere other than a table’s element type.
ExternRef
The externref type.
Part of the reference types proposal.
Trait Implementations
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for ValType
impl UnwindSafe for ValType
Blanket Implementations
Mutably borrows from an owned value. Read more
