Enum gfx_text::HorizontalAnchor[][src]

pub enum HorizontalAnchor {

An anchor aligns text horizontally to its given x position.



Anchor the left edge of the text


Anchor the horizontal mid-point of the text


Anchor the right edge of the text

Trait Implementations

impl PartialEq<HorizontalAnchor> for HorizontalAnchor[src]

impl StructuralPartialEq for HorizontalAnchor[src]

Auto Trait Implementations

impl RefUnwindSafe for HorizontalAnchor

impl Send for HorizontalAnchor

impl Sync for HorizontalAnchor

impl Unpin for HorizontalAnchor

impl UnwindSafe for HorizontalAnchor

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.