[][src]Enum rs_tiled_json::object::VAlign

pub enum VAlign {
    Center,
    Bottom,
    Top,
}

This enum describes the vertical alignment of text. It has 3 variants:

  • Center
  • Bottom
  • Top

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

Variants

Center
Bottom
Top

Trait Implementations

impl Clone for VAlign[src]

impl Copy for VAlign[src]

impl Debug for VAlign[src]

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

impl Display for VAlign[src]

impl From<String> for VAlign[src]

Auto Trait Implementations

impl RefUnwindSafe for VAlign

impl Send for VAlign

impl Sync for VAlign

impl Unpin for VAlign

impl UnwindSafe for VAlign

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.