pub enum VAlign {
Top,
Middle,
Bottom,
}Expand description
Vertical alignment within a bounded rectangle.
Variants§
Top
Align text to the top edge (default).
Middle
Centre text vertically.
Bottom
Align text to the bottom edge.
Trait Implementations§
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 UnsafeUnpin 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