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

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

Specifies text alignment

(JavaScript docs)

Variants

Text is left-aligned

Text is right-aligned

Text is centered

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

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

Trait Implementations

impl Debug for TextAlign
[src]

[src]

Formats the value using the given formatter. Read more

impl Copy for TextAlign
[src]

impl Clone for TextAlign
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for TextAlign
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for TextAlign
[src]

Auto Trait Implementations

impl Send for TextAlign

impl Sync for TextAlign