#[repr(u8)]pub enum Align {
Left = 0,
Centered = 1,
Right = 2,
Justified = 3,
}Expand description
Text alignment
Variants§
Left = 0
Left aligned
Centered = 1
Horizontally centered
Right = 2
Right aligned
Justified = 3
Justified
Trait Implementations§
impl Copy for Align
impl StructuralPartialEq for Align
Auto Trait Implementations§
impl Freeze for Align
impl RefUnwindSafe for Align
impl Send for Align
impl Sync for Align
impl Unpin for Align
impl UnwindSafe for Align
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