Enum wasmtime_environ::WasmValType
source · pub enum WasmValType {
I32,
I64,
F32,
F64,
V128,
Ref(WasmRefType),
}
Expand description
WebAssembly value type – equivalent of wasmparser::ValType
.
Variants§
Trait Implementations§
source§impl Clone for WasmValType
impl Clone for WasmValType
source§fn clone(&self) -> WasmValType
fn clone(&self) -> WasmValType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WasmValType
impl Debug for WasmValType
source§impl<'de> Deserialize<'de> for WasmValType
impl<'de> Deserialize<'de> for WasmValType
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<WasmValType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<WasmValType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for WasmValType
impl Display for WasmValType
source§impl Hash for WasmValType
impl Hash for WasmValType
source§impl PartialEq for WasmValType
impl PartialEq for WasmValType
source§fn eq(&self, other: &WasmValType) -> bool
fn eq(&self, other: &WasmValType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for WasmValType
impl Serialize for WasmValType
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
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
source§impl TypeTrace for WasmValType
impl TypeTrace for WasmValType
impl Copy for WasmValType
impl Eq for WasmValType
impl StructuralPartialEq for WasmValType
Auto Trait Implementations§
impl Freeze for WasmValType
impl RefUnwindSafe for WasmValType
impl Send for WasmValType
impl Sync for WasmValType
impl Unpin for WasmValType
impl UnwindSafe for WasmValType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.