Enum style::stylesheets::viewport_rule::ViewportLength [] [src]

pub enum ViewportLength {
    Specified(LengthOrPercentageOrAuto),
    ExtendToZoom,
}

ViewportLength is a length | percentage | auto | extend-to-zoom See: * http://dev.w3.org/csswg/css-device-adapt/#min-max-width-desc * http://dev.w3.org/csswg/css-device-adapt/#extend-to-zoom

Variants

Trait Implementations

impl Clone for ViewportLength
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ViewportLength
[src]

[src]

Formats the value using the given formatter. Read more

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

[src]

Serialize self in CSS syntax, writing to dest.

[src]

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