[][src]Enum rs_tiled_json::object::HAlign

pub enum HAlign {
    Center,
    Right,
    Justify,
    Left,
}

This enum describes the horizontal alignment of text. It has 4 variants:

  • Center
  • Right
  • Justify
  • Left

to_string() can be called on this enum if required.

Variants

Center
Right
Justify
Left

Trait Implementations

impl Clone for HAlign[src]

impl Copy for HAlign[src]

impl Debug for HAlign[src]

impl<'de> Deserialize<'de> for HAlign[src]

impl Display for HAlign[src]

impl From<String> for HAlign[src]

Auto Trait Implementations

impl RefUnwindSafe for HAlign

impl Send for HAlign

impl Sync for HAlign

impl Unpin for HAlign

impl UnwindSafe for HAlign

Blanket Implementations

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

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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.