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]

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Align, __D::Error>

impl Encodable for Align
[src]

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

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

impl Debug for Align
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Copy for Align
[src]