Enum wasmer_interface_types_fl::IValue
source · [−]pub enum IValue {
}
Expand description
A WIT value.
Variants
Boolean(bool)
Boolean value.
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.
ByteArray(Vec<u8, Global>)
Specialization of array type for byte vector.
Array(Vec<IValue, Global>)
A byte array.
I32(i32)
A 32-bits integer (as defined in WebAssembly core).
I64(i64)
A 64-bits integer (as defined in WebAssembly core).
Record(NEVec<IValue>)
A record.
Implementations
sourceimpl IValue
impl IValue
pub const VARIANT_COUNT: usize
Trait Implementations
impl StructuralPartialEq for IValue
Auto Trait Implementations
impl RefUnwindSafe for IValue
impl Send for IValue
impl Sync for IValue
impl Unpin for IValue
impl UnwindSafe for IValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more