#[repr(C)]pub struct CodeValue {
pub tag: CodeTag,
pub heap: c_int,
pub number: f64,
pub str: *const c_char,
pub boolean: c_int,
pub items: *mut c_void,
pub keys: *mut *const c_char,
pub len: i64,
}Fields§
§tag: CodeTag§heap: c_int§number: f64§str: *const c_char§boolean: c_int§items: *mut c_voidCODE_ARRAY: element buffer; CODE_OBJECT: value buffer — both
strided at CODE_VALUE_SLOT_SIZE, addressed via slot_at.
keys: *mut *const c_charCODE_OBJECT only, parallel to items.
len: i64Implementations§
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