pub enum Alignment { Left, Right, Center,}Expand description
Possible alignments returned byFormatter::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§
implCopy forAlignment
implEq forAlignment
implStructuralPartialEq forAlignment
Auto Trait Implementations§
implFreeze forAlignment
implRefUnwindSafe forAlignment
implSend forAlignment
implSync forAlignment
implUnpin forAlignment
implUnwindSafe forAlignment
Blanket Implementations§
Source§impl<T>BorrowMut<T> for Twhere T: ?Sized,
impl<T>BorrowMut<T> for Twhere T: ?Sized,
Source§fnborrow_mut(&mut self) ->&mut T
fnborrow_mut(&mut self) ->&mut T
Mutably borrows from an owned value.Read more