pub enum NumberListAlignment {
Left,
Right,
Decimal,
Normalize,
}Expand description
Alignment style for numbers in arrays formatted as tables.
When arrays of numbers are formatted across multiple lines, this setting controls how the numbers are aligned within their columns.
Variants§
Left
Align numbers to the left of their column.
Right
Align numbers to the right of their column.
Decimal
Align numbers by their decimal point (or implied decimal for integers). This is often the most readable option for mixed integer/decimal data.
Normalize
Normalize numbers to a consistent format and align by decimal point.
Trait Implementations§
Source§impl Clone for NumberListAlignment
impl Clone for NumberListAlignment
Source§fn clone(&self) -> NumberListAlignment
fn clone(&self) -> NumberListAlignment
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 NumberListAlignment
impl Debug for NumberListAlignment
Source§impl PartialEq for NumberListAlignment
impl PartialEq for NumberListAlignment
impl Copy for NumberListAlignment
impl Eq for NumberListAlignment
impl StructuralPartialEq for NumberListAlignment
Auto Trait Implementations§
impl Freeze for NumberListAlignment
impl RefUnwindSafe for NumberListAlignment
impl Send for NumberListAlignment
impl Sync for NumberListAlignment
impl Unpin for NumberListAlignment
impl UnwindSafe for NumberListAlignment
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