Struct emath::align::Align2 [−][src]
Expand description
Two-dimension alignment, e.g. Align2::LEFT_TOP
.
Tuple Fields
0: [Align; 2]
Implementations
Used e.g. to anchor a piece of text to a part of the rectangle. Give a position within the rect, specified by the aligns
e.g. center a size within a given frame
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Align2
impl UnwindSafe for Align2
Blanket Implementations
Mutably borrows from an owned value. Read more