Struct conrod::theme::Align
[−]
[src]
pub struct Align { pub horizontal: HorizontalAlign, pub vertical: VerticalAlign, }
The alignment of an element's dimensions with another's.
Fields
horizontal: HorizontalAlign
Positioning relative to an elements width and position on the x axis.
vertical: VerticalAlign
Positioning relative to an elements height and position on the y axis.
Trait Implementations
impl Decodable for Align
[src]
impl Encodable for Align
[src]
impl Clone for Align
[src]
fn clone(&self) -> Align
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more