[][src]Enum stdweb::web::TextAlign

pub enum TextAlign {
    Left,
    Right,
    Center,
    Start,
    End,
}

Specifies text alignment

(JavaScript docs)

Variants

Left

Text is left-aligned

Right

Text is right-aligned

Center

Text is centered

Start

Text is aligned at the normal start of the line for the current locale

End

Text is aligned at the normal end of the line for the current locale

Trait Implementations

impl Clone for TextAlign[src]

impl Copy for TextAlign[src]

impl Eq for TextAlign[src]

impl PartialEq<TextAlign> for TextAlign[src]

impl Debug for TextAlign[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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]