Enum fontdue::layout::VerticalAlign [−][src]
pub enum VerticalAlign {
Top,
Middle,
Bottom,
}
Expand description
Vertical alignment options for text when a max_height is provided.
Variants
Aligns text to the top of the region defined by the max_height.
Aligns text to the middle of the region defined by the max_height.
Aligns text to the bottom of the region defined by the max_height.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for VerticalAlign
impl Send for VerticalAlign
impl Sync for VerticalAlign
impl Unpin for VerticalAlign
impl UnwindSafe for VerticalAlign
Blanket Implementations
Mutably borrows from an owned value. Read more