pub enum Align {
Left,
Center,
Right,
}
Expand description
Text horizontal alignment.
Variants
Left
The text is left-aligned.
Center
The text is centered.
Right
The text is right-aligned.
Trait Implementations
impl Copy for Align
impl Eq for Align
impl StructuralEq for Align
impl StructuralPartialEq for Align
Auto Trait Implementations
impl RefUnwindSafe for Align
impl Send for Align
impl Sync for Align
impl Unpin for Align
impl UnwindSafe for Align
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more