Enum three::Align [] [src]

pub enum Align {
    Left,
    Center,
    Right,
}

Describes horizontal alignment preference for positioning & bounds. See gfx_glyph::HorizontalAlign for more.

Variants

Leftmost character is immediately to the right of the render position. Bounds start from the render position and advance rightwards.

Leftmost & rightmost characters are equidistant to the render position. Bounds start from the render position and advance equally left & right.

Rightmost character is immediately to the left of the render position. Bounds start from the render position and advance leftwards.

Trait Implementations

impl Debug for Align
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Align
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Align
[src]

impl PartialEq for Align
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for Align
[src]

impl Hash for Align
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl From<Align> for HorizontalAlign
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Align

impl Sync for Align