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

pub enum ViewportDescriptor {
    MinWidth(ViewportLength),
    MaxWidth(ViewportLength),
    MinHeight(ViewportLength),
    MaxHeight(ViewportLength),
    Zoom(Zoom),
    MinZoom(Zoom),
    MaxZoom(Zoom),
    UserZoom(UserZoom),
    Orientation(Orientation),
}

Variants

Methods

impl ViewportDescriptor
[src]

[src]

Trait Implementations

impl Clone for ViewportDescriptor
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ViewportDescriptor
[src]

[src]

Formats the value using the given formatter. Read more

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

[src]

Serialize self in CSS syntax, writing to dest.

[src]

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