Enum style::selector_parser::Direction [] [src]

pub enum Direction {
    Ltr,
    Rtl,
    Other(Box<str>),
}

Values for the :dir() pseudo class

Variants

left-to-right semantic directionality

right-to-left semantic directionality

Some other provided directionality value

Trait Implementations

impl Clone for Direction
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Direction
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for Direction
[src]

impl PartialEq for Direction
[src]

[src]

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

[src]

This method tests for !=.

impl ToCss for Direction
[src]

[src]

Serialize self in CSS syntax, writing to dest.

[src]

Serialize self in CSS syntax and return a string. Read more