pub enum Value {
}Expand description
A decoded value.
Variants§
Bool(bool)
A bool.
I8(i8)
An i8.
I16(i16)
An i16.
U16(u16)
A u16.
I32(i32)
An i32.
U32(u32)
A u32.
I64(i64)
An i64.
F32(f32)
An f32.
F32s(Vec<f32>)
A list of f32.
I64s(Vec<i64>)
A list of i64.
U32s(Vec<u32>)
A list of u32.
Str(String)
A string.
Ext(u32)
An external reference id (u32::MAX for none).
Ptr(Option<ObjId>)
An internal pointer to an object (none for null).
List(Vec<Fields>)
A list of records.
Block(u32, Fields)
A nested block: its version and fields.
Trait Implementations§
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl Freeze for Value
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnsafeUnpin for Value
impl UnwindSafe for Value
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