[][src]Enum three::Align

pub enum Align {
    Left,
    Center,
    Right,
}

Describes the 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 PartialEq<Align> for Align
[src]

This method tests for !=.

impl From<Align> for HorizontalAlign
[src]

impl Clone for Align
[src]

Performs copy-assignment from source. Read more

impl Copy for Align
[src]

impl Eq for Align
[src]

impl Debug for Align
[src]

impl Hash for Align
[src]

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

Auto Trait Implementations

impl Send for Align

impl Sync for Align

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> SetParameter for T

Sets value as a parameter of self.

impl<T> Erased for T