pub enum FormatSpec {
Default,
Fixed(String),
PerColumn(Vec<String>),
}Expand description
Format specifier for numeric columns.
Variants§
Default
Use the default formatting rules from python-tabulate.
Fixed(String)
Reuse the same format string for all columns.
PerColumn(Vec<String>)
Set the format on a per-column basis.
Trait Implementations§
Source§impl Clone for FormatSpec
impl Clone for FormatSpec
Source§fn clone(&self) -> FormatSpec
fn clone(&self) -> FormatSpec
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 FormatSpec
impl Debug for FormatSpec
Source§impl Default for FormatSpec
impl Default for FormatSpec
Source§fn default() -> FormatSpec
fn default() -> FormatSpec
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FormatSpec
impl RefUnwindSafe for FormatSpec
impl Send for FormatSpec
impl Sync for FormatSpec
impl Unpin for FormatSpec
impl UnwindSafe for FormatSpec
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