pub enum Align {
Left,
Center,
Right,
}Expand description
Where the lines of a text go across its block.
Variants§
Left
Each line starts at the block’s left edge.
Center
Each line is in the middle, the odd pixel to its right.
Right
Each line ends at the block’s right edge.
Trait Implementations§
impl Copy for Align
impl Eq for Align
impl StructuralPartialEq for Align
Auto Trait Implementations§
impl Forget for Align
impl Freeze for Align
impl Move for Align
impl RefUnwindSafe for Align
impl Send for Align
impl Sync for Align
impl Unpin for Align
impl UnsafeUnpin 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