pub enum PhysType {
Bool,
Int64,
Float64,
NodeRef,
RelRef,
Str,
List,
Interval,
Date,
Timestamp,
}Expand description
Physical types. A cell is one machine word or one 16-byte view, never a tagged enum: the tag lives once per vector, not once per value.
Variants§
Bool
One bit per row, packed in u64 words like a bitmap.
Int64
Float64
NodeRef
Packed node reference: table in the top 16 bits, table row in the low 48. One word where the old Value::Node was 32 bytes.
RelRef
Rel row id; (table, src, dst) resolve through context, not the cell.
Str
16-byte StrView.
List
Offsets into a child vector; entry i spans offsets[i]..offsets[i+1].
Interval
i64 microseconds.
Date
i64 days.
Timestamp
i64 microseconds since epoch, UTC.
Implementations§
Trait Implementations§
impl Copy for PhysType
impl Eq for PhysType
impl StructuralPartialEq for PhysType
Auto Trait Implementations§
impl Forget for PhysType
impl Freeze for PhysType
impl Move for PhysType
impl RefUnwindSafe for PhysType
impl Send for PhysType
impl Sync for PhysType
impl Unpin for PhysType
impl UnsafeUnpin for PhysType
impl UnwindSafe for PhysType
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