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
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Align2
impl UnwindSafe for Align2
Blanket Implementations
Mutably borrows from an owned value. Read more