Struct parcel_css::rules::import::ImportRule
source · [−]pub struct ImportRule {
pub url: String,
pub supports: Option<SupportsCondition>,
pub media: MediaList,
pub loc: SourceLocation,
}
Expand description
https://drafts.csswg.org/css-cascade/#at-import
Fields
url: String
supports: Option<SupportsCondition>
media: MediaList
loc: SourceLocation
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ImportRule
impl Send for ImportRule
impl Sync for ImportRule
impl Unpin for ImportRule
impl UnwindSafe for ImportRule
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