Struct parcel_css::media_query::MediaList [−][src]
pub struct MediaList {
pub media_queries: Vec<MediaQuery>,
}
Expand description
A type that encapsulates a media query list.
Fields
media_queries: Vec<MediaQuery>
The list of media queries.
Implementations
Parse a media query list from CSS.
Always returns a media query list. Invalid media queries are omitted. If the list is empty, it is equivalent to “not all”.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MediaList
impl UnwindSafe for MediaList
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