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
0: MediaRule
Import(ImportRule)
Tuple Fields
0: ImportRule
Style(StyleRule)
Tuple Fields
0: StyleRule
Keyframes(KeyframesRule)
Tuple Fields
FontFace(FontFaceRule)
Tuple Fields
0: FontFaceRule
Page(PageRule)
Tuple Fields
0: PageRule
Supports(SupportsRule)
Tuple Fields
0: SupportsRule
CounterStyle(CounterStyleRule)
Tuple Fields
Namespace(NamespaceRule)
Tuple Fields
MozDocument(MozDocumentRule)
Tuple Fields
Nesting(NestingRule)
Tuple Fields
0: NestingRule
Ignored
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CssRule
impl UnwindSafe for CssRule
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more