pub enum TextVerticalAlign {
Top,
Middle,
Bottom,
Baseline,
}Expand description
The vertical alignment of a text label.
Variants§
Top
The text’s top edge sits on the anchor point.
Middle
The text is vertically centred on the anchor point.
Bottom
The text’s bottom edge sits on the anchor point.
Baseline
The text’s baseline sits on the anchor point.
Trait Implementations§
Source§impl Clone for TextVerticalAlign
impl Clone for TextVerticalAlign
impl Copy for TextVerticalAlign
Source§impl Debug for TextVerticalAlign
impl Debug for TextVerticalAlign
Source§impl Default for TextVerticalAlign
impl Default for TextVerticalAlign
impl Eq for TextVerticalAlign
Source§impl Hash for TextVerticalAlign
impl Hash for TextVerticalAlign
Source§impl PartialEq for TextVerticalAlign
impl PartialEq for TextVerticalAlign
impl StructuralPartialEq for TextVerticalAlign
Auto Trait Implementations§
impl Freeze for TextVerticalAlign
impl RefUnwindSafe for TextVerticalAlign
impl Send for TextVerticalAlign
impl Sync for TextVerticalAlign
impl Unpin for TextVerticalAlign
impl UnsafeUnpin for TextVerticalAlign
impl UnwindSafe for TextVerticalAlign
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