[][src]Enum gfx_text::HorizontalAnchor

pub enum HorizontalAnchor {
    Left,
    Center,
    Right,
}

An anchor aligns text horizontally to its given x position.

Variants

Left

Anchor the left edge of the text

Center

Anchor the horizontal mid-point of the text

Right

Anchor the right edge of the text

Trait Implementations

impl PartialEq<HorizontalAnchor> for HorizontalAnchor[src]

Auto Trait Implementations

impl Send for HorizontalAnchor

impl Sync for HorizontalAnchor

impl Unpin for HorizontalAnchor

impl UnwindSafe for HorizontalAnchor

impl RefUnwindSafe for HorizontalAnchor

Blanket Implementations

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

impl<T> From<T> for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

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

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

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