Enum style_traits::viewport::Orientation [] [src]

pub enum Orientation {
    Auto,
    Portrait,
    Landscape,
}

Variants

Methods

impl Orientation
[src]

[src]

Parse this property from a CSS input stream.

[src]

Parse this property from an already-tokenized identifier.

Trait Implementations

impl Clone for Orientation
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Orientation
[src]

impl Debug for Orientation
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for Orientation
[src]

impl Hash for Orientation
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for Orientation
[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 MallocSizeOf for Orientation
[src]

[src]

Measure the heap usage of all descendant heap-allocated structures, but not the space taken up by the value itself. Read more

impl ToCss for Orientation
[src]

[src]

Serialize self in CSS syntax, writing to dest.

[src]

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