Enum wasmtime_environ::wasm::TableElementType [−][src]
pub enum TableElementType { Val(Type), Func, }
Expand description
WebAssembly table element. Can be a function or a scalar type.
Variants
Val(Type)
A scalar type.
A function.
Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<TableElementType, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<TableElementType, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
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,
[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 TableElementType
impl Send for TableElementType
impl Sync for TableElementType
impl Unpin for TableElementType
impl UnwindSafe for TableElementType
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.