pub enum Alignment {
Left,
Right,
Center,
Justify,
}
Expand description
Alignments left-to-right one can apply to columns of text.
Variants§
Left
Left justification – the default alignment
Right
Right justification
Center
Centering
Justify
Justified to both margins; the last line in a column is left-justified
Trait Implementations§
Auto Trait Implementations§
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