Enum ggez::graphics::HorizontalAlign[][src]

pub enum HorizontalAlign {
    Left,
    Center,
    Right,
}

Describes horizontal alignment preference for positioning & bounds.

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 immetiately to the left of the render position.
Bounds start from the render position and advance leftwards.

Trait Implementations

impl Hash for HorizontalAlign
[src]

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

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

impl Clone for HorizontalAlign
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for HorizontalAlign
[src]

Formats the value using the given formatter. Read more

impl Copy for HorizontalAlign
[src]

impl Eq for HorizontalAlign
[src]

impl PartialEq<HorizontalAlign> for HorizontalAlign
[src]

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

This method tests for !=.

Auto Trait Implementations