pub enum HAlign {
Left,
Center,
Right,
}Expand description
Horizontal alignment within a bounded rectangle.
Variants§
Left
Align text to the left edge (default).
Center
Centre text horizontally.
Right
Align text to the right edge.
Trait Implementations§
impl Copy for HAlign
impl Eq for HAlign
impl StructuralPartialEq for HAlign
Auto Trait Implementations§
impl Freeze for HAlign
impl RefUnwindSafe for HAlign
impl Send for HAlign
impl Sync for HAlign
impl Unpin for HAlign
impl UnsafeUnpin for HAlign
impl UnwindSafe for HAlign
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