#[non_exhaustive]pub enum GridTableKind {
Text,
Number {
decimals: usize,
prefix: String,
suffix: String,
},
Date,
Boolean,
}Expand description
What a column holds, for a file to show it well.
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.
Text
Text, already as shown.
Number
A number, with its decimals and the text around it.
Fields
Date
A date.
Boolean
Yes or no.
Trait Implementations§
Source§impl Clone for GridTableKind
impl Clone for GridTableKind
Source§fn clone(&self) -> GridTableKind
fn clone(&self) -> GridTableKind
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 GridTableKind
impl Debug for GridTableKind
Source§impl PartialEq for GridTableKind
impl PartialEq for GridTableKind
impl StructuralPartialEq for GridTableKind
Auto Trait Implementations§
impl Freeze for GridTableKind
impl RefUnwindSafe for GridTableKind
impl Send for GridTableKind
impl Sync for GridTableKind
impl Unpin for GridTableKind
impl UnsafeUnpin for GridTableKind
impl UnwindSafe for GridTableKind
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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