pub enum AlignMethod {
Left,
Center,
Right,
}Expand description
Horizontal alignment method.
Variants§
Left
Align content to the left (default).
Center
Center content horizontally.
Right
Align content to the right.
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 moreimpl Copy for AlignMethod
Source§impl Debug for AlignMethod
impl Debug for AlignMethod
Source§impl Default for AlignMethod
impl Default for AlignMethod
Source§fn default() -> AlignMethod
fn default() -> AlignMethod
Returns the “default value” for a type. Read more
impl Eq for AlignMethod
Source§impl PartialEq for AlignMethod
impl PartialEq 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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.