pub enum HAlign {
Left,
Center,
Right,
}Expand description
Horizontal alignment within a region.
Variants§
Left
Aligns content to the left.
Center
Centers content horizontally.
Right
Aligns content to the right.
Trait Implementations§
Source§impl RenderProperty for HAlign
impl RenderProperty for HAlign
Source§fn apply(self, properties: &mut RenderProperties)
fn apply(self, properties: &mut RenderProperties)
Applies this property to the given render properties.
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 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