Enum embedded_text::alignment::VerticalAlignment [−][src]
pub enum VerticalAlignment { Top, Middle, Bottom, }
Expand description
Vertical text alignment options.
Variants
Top aligned text.
The first line of the text will be rendered at the top of the text box.
Middle aligned text.
The text will be vertically centered within the text box.
Bottom aligned text.
The last line of the text will be aligned to the bottom of the text box.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for VerticalAlignment
impl Send for VerticalAlignment
impl Sync for VerticalAlignment
impl Unpin for VerticalAlignment
impl UnwindSafe for VerticalAlignment
Blanket Implementations
Mutably borrows from an owned value. Read more
Casts the value.
Casts the value.
type Output = T
type Output = T
Should always be Self
Casts the value.
Casts the value.
Casts the value.