Struct FlatTypes
Source pub struct FlatTypes<'a> {
pub memory32: &'a [FlatType],
pub memory64: &'a [FlatType],
}
Expand description
Flat representation of a type in just core wasm types.
The flat representation of this type in 32-bit memories.
The flat representation of this type in 64-bit memories.
Returns the number of flat types used to represent this type.
Note that this length is the same regardless to the size of memory.
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self).
That is, this conversion is whatever the implementation of
From<T> for U chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.