pub enum ColumnValue {
Number(usize),
Column(RefCell<OColumnBaseChunk>),
}
Expand description
A value is a collection of lookup devices. A number is decoded by the appropriate function, but the object is a reference to one of the number columns. Number types are eventually sorted, so we track the column and index with the data.
Variants§
Number(usize)
raw number index pointing to a location in the cache column
Column(RefCell<OColumnBaseChunk>)
a reference to a column
Trait Implementations§
Source§impl Clone for ColumnValue
impl Clone for ColumnValue
Source§fn clone(&self) -> ColumnValue
fn clone(&self) -> ColumnValue
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 moreSource§impl Debug for ColumnValue
impl Debug for ColumnValue
Source§impl From<RefCell<OColumnBaseChunk>> for ColumnValue
impl From<RefCell<OColumnBaseChunk>> for ColumnValue
Source§fn from(chunk: RefCell<OColumnBaseChunk>) -> Self
fn from(chunk: RefCell<OColumnBaseChunk>) -> Self
Converts to this type from the input type.
Source§impl From<usize> for ColumnValue
impl From<usize> for ColumnValue
Source§impl Ord for ColumnValue
impl Ord for ColumnValue
Source§fn cmp(&self, other: &ColumnValue) -> Ordering
fn cmp(&self, other: &ColumnValue) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ColumnValue
impl PartialEq for ColumnValue
Source§impl PartialOrd for ColumnValue
impl PartialOrd for ColumnValue
impl Eq for ColumnValue
impl StructuralPartialEq for ColumnValue
Auto Trait Implementations§
impl !Freeze for ColumnValue
impl !RefUnwindSafe for ColumnValue
impl Send for ColumnValue
impl !Sync for ColumnValue
impl Unpin for ColumnValue
impl UnwindSafe for ColumnValue
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