Enum conrod::Horizontal [] [src]

pub enum Horizontal {
    Left,
    Middle,
    Right,
}

The orientation of a HorizontalAlign.

Variants

Left

Align the left edges of the widgets.

Middle

Align the centres of the widgets' closest parallel edges.

Right

Align the right edges of the relative widgets.

Methods

impl Horizontal
[src]

fn to(&self, target_width: Scalar, width: Scalar) -> Scalar

Align width to the given target_width.

Trait Implementations

impl Eq for Horizontal
[src]

impl PartialEq for Horizontal
[src]

fn eq(&self, __arg_0: &Horizontal) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Decodable for Horizontal
[src]

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

impl Encodable for Horizontal
[src]

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

impl Debug for Horizontal
[src]

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

Formats the value using the given formatter.

impl Clone for Horizontal
[src]

fn clone(&self) -> Horizontal

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 Copy for Horizontal
[src]