pub enum VAlign {
Top,
Center,
Bottom,
}Expand description
Vertical alignment within a region.
Variants§
Top
Aligns content to the top.
Center
Centers content vertically.
Bottom
Aligns content to the bottom.
Trait Implementations§
Source§impl RenderProperty for VAlign
impl RenderProperty for VAlign
Source§fn apply(self, properties: &mut RenderProperties)
fn apply(self, properties: &mut RenderProperties)
Applies this property to the given render properties.
impl Copy for VAlign
impl Eq for VAlign
impl StructuralPartialEq for VAlign
Auto Trait Implementations§
impl Freeze for VAlign
impl RefUnwindSafe for VAlign
impl Send for VAlign
impl Sync for VAlign
impl Unpin for VAlign
impl UnwindSafe for VAlign
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