pub enum VAlign {
Top,
Middle,
Bottom,
Baseline,
}Expand description
Vertical text alignment.
Variants§
Top
Align the top of the text bounding box to the anchor point.
Middle
Center the text vertically on the anchor point.
Bottom
Align the bottom of the text bounding box to the anchor point.
Baseline
Align the text baseline to the anchor point.
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