Struct rich_sdl2_ttf_rust::font::pen::TextAlign [−][src]
pub struct TextAlign {
pub x: TextAlignX,
pub y: TextAlignY,
}Expand description
Alignments of the text.
Fields
x: TextAlignXThe X-axis alignment of the text.
y: TextAlignYThe Y-axis alignment of the text.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TextAlign
impl UnwindSafe for TextAlign
Blanket Implementations
Mutably borrows from an owned value. Read more