Struct wasmer_runtime_fl::types::TableDescriptor [−][src]
pub struct TableDescriptor { pub element: ElementType, pub minimum: u32, pub maximum: Option<u32>, }
Expand description
Describes the properties of a table including the element types, minimum and optional maximum, number of elements in the table.
Fields
element: ElementType
Type of data stored in this table.
minimum: u32
The minimum number of elements that must be stored in this table.
maximum: Option<u32>
The maximum number of elements in this table.
Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<TableDescriptor, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<TableDescriptor, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for TableDescriptor
impl Send for TableDescriptor
impl Sync for TableDescriptor
impl Unpin for TableDescriptor
impl UnwindSafe for TableDescriptor
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
type Output = T
type Output = T
Should always be Self