Enum fontdue::layout::HorizontalAlign [−][src]
pub enum HorizontalAlign {
Left,
Center,
Right,
}
Expand description
Horizontal alignment options for text when a max_width is provided.
Variants
Aligns text to the left of the region defined by the max_width.
Aligns text to the center of the region defined by the max_width.
Aligns text to the right of the region defined by the max_width.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for HorizontalAlign
impl Send for HorizontalAlign
impl Sync for HorizontalAlign
impl Unpin for HorizontalAlign
impl UnwindSafe for HorizontalAlign
Blanket Implementations
Mutably borrows from an owned value. Read more