pub enum HeaderAlignment {
Align(Alignment),
SameAsColumn,
}Expand description
Header alignment spec, including the python-tabulate “same” sentinel.
Variants§
Align(Alignment)
Explicit alignment choice.
SameAsColumn
Reuse the column alignment ("same" in python-tabulate).
Trait Implementations§
Source§impl Clone for HeaderAlignment
impl Clone for HeaderAlignment
Source§fn clone(&self) -> HeaderAlignment
fn clone(&self) -> HeaderAlignment
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 HeaderAlignment
impl Debug for HeaderAlignment
Source§impl From<Alignment> for HeaderAlignment
impl From<Alignment> for HeaderAlignment
Source§impl PartialEq for HeaderAlignment
impl PartialEq for HeaderAlignment
impl Copy for HeaderAlignment
impl Eq for HeaderAlignment
impl StructuralPartialEq for HeaderAlignment
Auto Trait Implementations§
impl Freeze for HeaderAlignment
impl RefUnwindSafe for HeaderAlignment
impl Send for HeaderAlignment
impl Sync for HeaderAlignment
impl Unpin for HeaderAlignment
impl UnwindSafe for HeaderAlignment
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.