pub enum TableAlignment {
None,
Left,
Center,
Right,
}Expand description
The alignment of a Table column, from the :---: delimiter row.
Variants§
None
No explicit alignment: ---.
Left
Left-aligned: :---.
Center
Center-aligned: :---:.
Right
Right-aligned: ---:.
Trait Implementations§
Source§impl Clone for TableAlignment
impl Clone for TableAlignment
Source§fn clone(&self) -> TableAlignment
fn clone(&self) -> TableAlignment
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 moreimpl Copy for TableAlignment
Source§impl Debug for TableAlignment
impl Debug for TableAlignment
impl Eq for TableAlignment
Source§impl PartialEq for TableAlignment
impl PartialEq for TableAlignment
Source§fn eq(&self, other: &TableAlignment) -> bool
fn eq(&self, other: &TableAlignment) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TableAlignment
Auto Trait Implementations§
impl Freeze for TableAlignment
impl RefUnwindSafe for TableAlignment
impl Send for TableAlignment
impl Sync for TableAlignment
impl Unpin for TableAlignment
impl UnsafeUnpin for TableAlignment
impl UnwindSafe for TableAlignment
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