pub enum AlignMethod {
Left,
Center,
Right,
Full,
}Expand description
Horizontal alignment method.
Variants§
Left
Left-align (the default).
Center
Center-align.
Right
Right-align.
Full
Full justification (spaces distributed between words).
Implementations§
Trait Implementations§
Source§impl Clone for AlignMethod
impl Clone for AlignMethod
Source§fn clone(&self) -> AlignMethod
fn clone(&self) -> AlignMethod
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 AlignMethod
impl Debug for AlignMethod
Source§impl Default for AlignMethod
impl Default for AlignMethod
Source§impl Display for AlignMethod
impl Display for AlignMethod
Source§impl Hash for AlignMethod
impl Hash for AlignMethod
Source§impl PartialEq for AlignMethod
impl PartialEq for AlignMethod
Source§fn eq(&self, other: &AlignMethod) -> bool
fn eq(&self, other: &AlignMethod) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AlignMethod
impl Eq for AlignMethod
impl StructuralPartialEq for AlignMethod
Auto Trait Implementations§
impl Freeze for AlignMethod
impl RefUnwindSafe for AlignMethod
impl Send for AlignMethod
impl Sync for AlignMethod
impl Unpin for AlignMethod
impl UnsafeUnpin for AlignMethod
impl UnwindSafe for AlignMethod
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.