pub enum LogicScalarValue {
U32(u32),
U64(u64),
I32(i32),
I64(i64),
F32(f32),
F64(f64),
Bool(bool),
Symbol(String),
}Expand description
A typed scalar downloaded from a completed GPU relation.
This representation is intentionally independent of Arrow so runtime consumers can serialize exact relation rows without losing XLOG’s logical scalar types. Symbol IDs are resolved through the process symbol table and invalid IDs fail closed.
Variants§
U32(u32)
Unsigned 32-bit integer.
U64(u64)
Unsigned 64-bit integer.
I32(i32)
Signed 32-bit integer.
I64(i64)
Signed 64-bit integer.
F32(f32)
32-bit IEEE 754 floating-point value.
F64(f64)
64-bit IEEE 754 floating-point value.
Bool(bool)
Boolean value.
Symbol(String)
Resolved dictionary-encoded symbol.
Trait Implementations§
Source§impl Clone for LogicScalarValue
impl Clone for LogicScalarValue
Source§fn clone(&self) -> LogicScalarValue
fn clone(&self) -> LogicScalarValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LogicScalarValue
impl Debug for LogicScalarValue
Source§impl PartialEq for LogicScalarValue
impl PartialEq for LogicScalarValue
impl StructuralPartialEq for LogicScalarValue
Auto Trait Implementations§
impl Freeze for LogicScalarValue
impl RefUnwindSafe for LogicScalarValue
impl Send for LogicScalarValue
impl Sync for LogicScalarValue
impl Unpin for LogicScalarValue
impl UnsafeUnpin for LogicScalarValue
impl UnwindSafe for LogicScalarValue
Blanket Implementations§
impl<T> Allocation for T
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