enum Wasmer::ValueKind
Overview
Represents the kind of a value
Defined in:
wasmer/value.crEnum Members
-
I32 =
0_u8
-
A 32-bit integer. In WebAssembly, integers are sign-agnostic, i.E. this can either be signed or unsigned
-
I64 =
1_u8
-
A 64-bit integer. In WebAssembly, integers are sign-agnostic, i.E. this can either be signed or unsigned
-
F32 =
2_u8
-
A 32-bit float
-
F64 =
3_u8
-
A 64-bit float
-
AnyRef =
128_u8
-
An externref value which can hold opaque data to the WebAssembly instance itself.
-
FuncRef =
129_u8
-
A first-class reference to a WebAssembly function
Instance Method Summary
- #any_ref?
- #f32?
- #f64?
- #func_ref?
- #i32?
- #i64?
-
#number?
Returns true if the ValueKind is a number type
-
#reference?
Returns true if the ValueKind is a reference
-
#to_s(io : IO)
Appends a
String
representation of this enum member to the given io.