Struct style::stylesheets::PageRule [] [src]

pub struct PageRule {
    pub block: Arc<Locked<PropertyDeclarationBlock>>,
    pub source_location: SourceLocation,
}

A @page rule.

This implements only a limited subset of the CSS 2.2 syntax.

In this subset, page selectors are not implemented.

Fields

The declaration block this page rule contains.

The source position this rule was found at.

Trait Implementations

impl Debug for PageRule
[src]

[src]

Formats the value using the given formatter. Read more

impl ToCssWithGuard for PageRule
[src]

[src]

Serialization of PageRule is not specced, adapted from steps for StyleRule.

[src]

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

impl DeepCloneWithLock for PageRule
[src]

[src]

Deep clones this object.