Struct style::stylesheets::CssRules [] [src]

pub struct CssRules(pub Vec<CssRule>);

A list of CSS rules.

Methods

impl CssRules
[src]

[src]

Whether this CSS rules is empty.

impl CssRules
[src]

[src]

Trivially construct a new set of CSS rules.

[src]

[src]

Serializes this CSSRules to CSS text as a block of rules.

This should be speced into CSSOM spec at some point. See https://github.com/w3c/csswg-drafts/issues/1985

Trait Implementations

impl Debug for CssRules
[src]

[src]

Formats the value using the given formatter. Read more

impl DeepCloneWithLock for CssRules
[src]

[src]

Deep clones this object.