Struct style::stylesheets::StyleRule [] [src]

pub struct StyleRule {
    pub selectors: SelectorList<SelectorImpl>,
    pub block: Arc<Locked<PropertyDeclarationBlock>>,
    pub source_location: SourceLocation,
}

A style rule, with selectors and declarations.

Fields

The list of selectors in this rule.

The declaration block with the properties it contains.

The location in the sheet where it was found.

Trait Implementations

impl Debug for StyleRule
[src]

[src]

Formats the value using the given formatter. Read more

impl DeepCloneWithLock for StyleRule
[src]

[src]

Deep clones this StyleRule.

impl ToCssWithGuard for StyleRule
[src]

[src]

[src]

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