Struct style::stylesheets::viewport_rule::ViewportRule [] [src]

pub struct ViewportRule {
    pub declarations: Vec<ViewportDescriptorDeclaration>,
}

A @viewport rule.

Fields

The declarations contained in this @viewport rule.

Methods

impl ViewportRule
[src]

[src]

Parse a single @viewport rule.

impl ViewportRule
[src]

[src]

Trait Implementations

impl Clone for ViewportRule
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ViewportRule
[src]

[src]

Formats the value using the given formatter. Read more

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

[src]

Serialize self in CSS syntax, writing to dest, using the given lock guard.

[src]

Serialize self in CSS syntax using the given lock guard and return a string. Read more