Struct style::stylesheets::DocumentRule [] [src]

pub struct DocumentRule {
    pub condition: DocumentCondition,
    pub rules: Arc<Locked<CssRules>>,
    pub source_location: SourceLocation,
}

A @-moz-document rule

Fields

The parsed condition

Child rules

The line and column of the rule's source code.

Trait Implementations

impl Debug for DocumentRule
[src]

[src]

Formats the value using the given formatter. Read more

impl ToCssWithGuard for DocumentRule
[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

impl DeepCloneWithLock for DocumentRule
[src]

[src]

Deep clones this DocumentRule.