pub enum HAlign {
Left,
Center,
Right,
}Expand description
Horizontal text alignment.
Variants§
Left
Align the left edge of the text to the anchor point.
Center
Center the text horizontally on the anchor point.
Right
Align the right edge of the text to the anchor point.
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