pub enum Alignment {
Left,
Right,
Center,
}
Available on non-crate feature
ferrocene_certified
only.Expand description
Possible alignments returned by Formatter::align
Variants§
Left
Indication that contents should be left-aligned.
Right
Indication that contents should be right-aligned.
Center
Indication that contents should be center-aligned.
Trait Implementations§
impl Copy for Alignment
impl Eq for Alignment
impl StructuralPartialEq for Alignment
Auto Trait Implementations§
impl Freeze for Alignment
impl RefUnwindSafe for Alignment
impl Send for Alignment
impl Sync for Alignment
impl Unpin for Alignment
impl UnwindSafe for Alignment
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<T> ToOwned for Twhere
T: Clone,
impl<T> ToOwned for Twhere
T: Clone,
Source§type Owned = T
type Owned = T
Available on non-crate feature
ferrocene_certified
only.The resulting type after obtaining ownership.
Source§fn to_owned(&self) -> T
fn to_owned(&self) -> T
Available on non-crate feature
ferrocene_certified
only.Creates owned data from borrowed data, usually by cloning. Read more
Source§fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
Available on non-crate feature
ferrocene_certified
only.Uses borrowed data to replace owned data, usually by cloning. Read more