pub enum Alignment {
Left,
Right,
Center,
}
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