pub enum Decoded {
Number(f64),
HeapRef(SlotId),
Int32(u32),
Undefined,
Null,
Boolean(bool),
Hole,
Uninitialized,
}Expand description
The decoded meaning of a Value, mirroring the Value inductive.
Variants§
Number(f64)
A non-boxed IEEE-754 double.
HeapRef(SlotId)
A validated heap reference.
Int32(u32)
A boxed 32-bit integer.
Undefined
undefined.
Null
null.
Boolean(bool)
A boolean.
Hole
The array/TDZ hole.
Uninitialized
An uninitialized register slot.
Trait Implementations§
impl Copy for Decoded
impl StructuralPartialEq for Decoded
Auto Trait Implementations§
impl Freeze for Decoded
impl RefUnwindSafe for Decoded
impl Send for Decoded
impl Sync for Decoded
impl Unpin for Decoded
impl UnsafeUnpin for Decoded
impl UnwindSafe for Decoded
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