#[non_exhaustive]pub enum Col {
Integer(Vec<i64>),
Float(Vec<f64>),
Text(Vec<String>),
}
Expand description
columns are the constituent parts of tables. They consist of vectors holding elements of the same type. Types are differentiated via the variants of this enum.
Right now, 3 variants are supported:
Integer
always aVec<i64>
Float
always aVec<f64>
Text
always aVec<String>
In the future, more variants may be added as necessary. As such, this enum is marked as#[non_exhaustive]
.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Col
impl RefUnwindSafe for Col
impl Send for Col
impl Sync for Col
impl Unpin for Col
impl UnwindSafe for Col
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