Struct style::stylesheets::MediaRule [] [src]

pub struct MediaRule {
    pub media_queries: Arc<Locked<MediaList>>,
    pub rules: Arc<Locked<CssRules>>,
    pub source_location: SourceLocation,
}

An @media urle.

Fields

The list of media queries used by this media rule.

The nested rules to this media rule.

The source position where this media rule was found.

Trait Implementations

impl ToMediaListKey for MediaRule
[src]

[src]

Get a MediaListKey for this item. This key needs to uniquely identify the item. Read more

impl Debug for MediaRule
[src]

[src]

Formats the value using the given formatter. Read more

impl ToCssWithGuard for MediaRule
[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 MediaRule
[src]

[src]

Deep clones this object.