Struct style::stylesheets::import_rule::ImportRule [] [src]

pub struct ImportRule {
    pub url: SpecifiedUrl,
    pub stylesheet: ImportSheet,
    pub source_location: SourceLocation,
}

The @import at-rule.

Fields

The <url> this @import rule is loading.

The stylesheet is always present.

It contains an empty list of rules and namespace set that is updated when it loads.

The line and column of the rule's source code.

Trait Implementations

impl ToMediaListKey for ImportRule
[src]

[src]

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

impl Debug for ImportRule
[src]

[src]

Formats the value using the given formatter. Read more

impl DeepCloneWithLock for ImportRule
[src]

[src]

Deep clones this object.

impl ToCssWithGuard for ImportRule
[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