Enum parcel_css::rules::CssRule[][src]

pub enum CssRule {
    Media(MediaRule),
    Import(ImportRule),
    Style(StyleRule),
    Keyframes(KeyframesRule),
    FontFace(FontFaceRule),
    Page(PageRule),
    Supports(SupportsRule),
    CounterStyle(CounterStyleRule),
    Namespace(NamespaceRule),
    MozDocument(MozDocumentRule),
    Nesting(NestingRule),
    Ignored,
}

Variants

Media(MediaRule)

Tuple Fields

Import(ImportRule)

Tuple Fields

Style(StyleRule)

Tuple Fields

Keyframes(KeyframesRule)

Tuple Fields

FontFace(FontFaceRule)

Tuple Fields

Page(PageRule)

Tuple Fields

Supports(SupportsRule)

Tuple Fields

CounterStyle(CounterStyleRule)

Tuple Fields

Namespace(NamespaceRule)

Tuple Fields

MozDocument(MozDocumentRule)

Tuple Fields

Nesting(NestingRule)

Tuple Fields

Ignored

Trait Implementations

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

The archived version of the pointer metadata for this type.

Converts some archived metadata to the pointer metadata for itself.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type for metadata in pointers and references to Self.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.