[−][src]Enum wasmer_interface_types_fl::values::InterfaceValue
A WIT value.
Variants
S8(i8)
A 8-bits signed integer.
S16(i16)
A 16-bits signed integer.
S32(i32)
A 32-bits signed integer.
S64(i64)
A 64-bits signed integer.
U8(u8)
A 8-bits unsigned integer.
U16(u16)
A 16-bits unsigned integer.
U32(u32)
A 32-bits unsigned integer.
U64(u64)
A 64-bits unsigned integer.
F32(f32)
A 32-bits float.
F64(f64)
A 64-bits float.
String(String)
A string.
A byte array.
I32(i32)
A 32-bits integer (as defined in WebAssembly core).
I64(i64)
A 64-bits integer (as defiend in WebAssembly core).
Record(Vec1<InterfaceValue>)
A record.
Trait Implementations
impl Clone for InterfaceValue
[src]
fn clone(&self) -> InterfaceValue
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for InterfaceValue
[src]
impl Default for InterfaceValue
[src]
impl<'_> From<&'_ InterfaceValue> for InterfaceType
[src]
fn from(value: &InterfaceValue) -> Self
[src]
impl From<String> for InterfaceValue
[src]
impl From<Vec<u8>> for InterfaceValue
[src]
impl From<f32> for InterfaceValue
[src]
impl From<f64> for InterfaceValue
[src]
impl From<i16> for InterfaceValue
[src]
impl From<i32> for InterfaceValue
[src]
impl From<i64> for InterfaceValue
[src]
impl From<i8> for InterfaceValue
[src]
impl From<u16> for InterfaceValue
[src]
impl From<u32> for InterfaceValue
[src]
impl From<u64> for InterfaceValue
[src]
impl From<u8> for InterfaceValue
[src]
impl PartialEq<InterfaceValue> for InterfaceValue
[src]
fn eq(&self, other: &InterfaceValue) -> bool
[src]
fn ne(&self, other: &InterfaceValue) -> bool
[src]
impl StructuralPartialEq for InterfaceValue
[src]
impl<'_> TryFrom<&'_ InterfaceValue> for i8
[src]
type Error = WasmValueNativeCastError
The type returned in the event of a conversion error.
fn try_from(w: &InterfaceValue) -> Result<Self, Self::Error>
[src]
impl<'_> TryFrom<&'_ InterfaceValue> for i16
[src]
type Error = WasmValueNativeCastError
The type returned in the event of a conversion error.
fn try_from(w: &InterfaceValue) -> Result<Self, Self::Error>
[src]
impl<'_> TryFrom<&'_ InterfaceValue> for String
[src]
type Error = WasmValueNativeCastError
The type returned in the event of a conversion error.
fn try_from(w: &InterfaceValue) -> Result<Self, Self::Error>
[src]
impl<'_> TryFrom<&'_ InterfaceValue> for Vec<u8>
[src]
type Error = WasmValueNativeCastError
The type returned in the event of a conversion error.
fn try_from(w: &InterfaceValue) -> Result<Self, Self::Error>
[src]
impl<'_> TryFrom<&'_ InterfaceValue> for i32
[src]
type Error = WasmValueNativeCastError
The type returned in the event of a conversion error.
fn try_from(w: &InterfaceValue) -> Result<Self, Self::Error>
[src]
impl<'_> TryFrom<&'_ InterfaceValue> for i64
[src]
type Error = WasmValueNativeCastError
The type returned in the event of a conversion error.
fn try_from(w: &InterfaceValue) -> Result<Self, Self::Error>
[src]
impl<'_> TryFrom<&'_ InterfaceValue> for u8
[src]
type Error = WasmValueNativeCastError
The type returned in the event of a conversion error.
fn try_from(w: &InterfaceValue) -> Result<Self, Self::Error>
[src]
impl<'_> TryFrom<&'_ InterfaceValue> for u16
[src]
type Error = WasmValueNativeCastError
The type returned in the event of a conversion error.
fn try_from(w: &InterfaceValue) -> Result<Self, Self::Error>
[src]
impl<'_> TryFrom<&'_ InterfaceValue> for u32
[src]
type Error = WasmValueNativeCastError
The type returned in the event of a conversion error.
fn try_from(w: &InterfaceValue) -> Result<Self, Self::Error>
[src]
impl<'_> TryFrom<&'_ InterfaceValue> for u64
[src]
type Error = WasmValueNativeCastError
The type returned in the event of a conversion error.
fn try_from(w: &InterfaceValue) -> Result<Self, Self::Error>
[src]
impl<'_> TryFrom<&'_ InterfaceValue> for f32
[src]
type Error = WasmValueNativeCastError
The type returned in the event of a conversion error.
fn try_from(w: &InterfaceValue) -> Result<Self, Self::Error>
[src]
impl<'_> TryFrom<&'_ InterfaceValue> for f64
[src]
type Error = WasmValueNativeCastError
The type returned in the event of a conversion error.
fn try_from(w: &InterfaceValue) -> Result<Self, Self::Error>
[src]
Auto Trait Implementations
impl RefUnwindSafe for InterfaceValue
impl Send for InterfaceValue
impl Sync for InterfaceValue
impl Unpin for InterfaceValue
impl UnwindSafe for InterfaceValue
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,