Struct wasmtime_environ::wasm::Table [−][src]
pub struct Table { pub wasm_ty: WasmType, pub ty: TableElementType, pub minimum: u32, pub maximum: Option<u32>, }
Expand description
WebAssembly table.
Fields
wasm_ty: WasmType
The table elements’ Wasm type.
ty: TableElementType
The table elements’ Cranelift type.
minimum: u32
The minimum number of elements in the table.
maximum: Option<u32>
The maximum number of elements in the table.
Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<Table, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<Table, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Table
impl UnwindSafe for Table
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.