Struct css::domain::StyleRule [] [src]

pub struct StyleRule {
    pub selectors: DeduplicatedSelectors,
    pub property_declarations: PropertyDeclarations<Importance>,
}

A style rule, with selectors and declarations.

Fields

The list of selectors in this rule.

The declaration block with the properties it contains.

Trait Implementations

impl Debug for StyleRule
[src]

[src]

Formats the value using the given formatter.

impl Clone for StyleRule
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl ToCss for StyleRule
[src]

[src]

[src]

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

impl HasPropertyDeclarations<Importance> for StyleRule
[src]