pub struct CodeValue {
pub tag: CodeTag,
pub heap: c_int,
/* private fields */
}Expand description
A value: its kind, whether it holds a counted block, and one payload the
kind decides — read it through the methods (number(), len(), …),
which answer 0/null for a value of another kind. ABI version 2: 16 bytes,
a list’s count and keys in its block (code_abi.h’s CodeList).
Fields§
§tag: CodeTag§heap: c_intImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CodeValue
impl RefUnwindSafe for CodeValue
impl Unpin for CodeValue
impl UnsafeUnpin for CodeValue
impl UnwindSafe for CodeValue
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