Struct style::style_resolver::PrimaryStyle [] [src]

pub struct PrimaryStyle {
    pub style: ResolvedStyle,
    pub reused_via_rule_node: bool,
}

The primary style of an element or an element-backed pseudo-element.

Fields

The style itself.

Whether the style was reused from another element via the rule node (see StyleSharingCache::lookup_by_rules).

Methods

impl PrimaryStyle
[src]

[src]

Convenience accessor for the style.