pub enum DecodedSnapshotValue {
SmallInt(i64),
ConstPtr(u64),
ConstOther(u32),
Box(OpRef),
}Expand description
Decoded value from a snapshot.
Variants§
SmallInt(i64)
Small integer constant (fits in tag bits).
ConstPtr(u64)
GC pointer constant (index into const_refs pool).
ConstOther(u32)
Other constant (big int or float, index into pool).
Box(OpRef)
Reference to a traced value (OpRef).
Trait Implementations§
Source§impl Clone for DecodedSnapshotValue
impl Clone for DecodedSnapshotValue
Source§fn clone(&self) -> DecodedSnapshotValue
fn clone(&self) -> DecodedSnapshotValue
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for DecodedSnapshotValue
impl RefUnwindSafe for DecodedSnapshotValue
impl Send for DecodedSnapshotValue
impl Sync for DecodedSnapshotValue
impl Unpin for DecodedSnapshotValue
impl UnsafeUnpin for DecodedSnapshotValue
impl UnwindSafe for DecodedSnapshotValue
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