pub enum TextAlign {
Left,
Right,
Center,
Justified,
Natural,
}
Expand description
Specifies how text should align for a supported control.
Variants
Left
Align text to the left.
Right
Align text to the right.
Center
Center-align text.
Justified
Justify text.
Natural
Natural.
Trait Implementations
impl Copy for TextAlign
Auto Trait Implementations
impl RefUnwindSafe for TextAlign
impl Send for TextAlign
impl Sync for TextAlign
impl Unpin for TextAlign
impl UnwindSafe for TextAlign
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