Enum parcel_css::media_query::MediaFeatureValue [−][src]
pub enum MediaFeatureValue {
Length(Length),
Number(f32),
Resolution(Resolution),
Ratio(Ratio),
Ident(String),
}
Variants
Length(Length)
Tuple Fields
0: Length
Number(f32)
Tuple Fields
0: f32
Resolution(Resolution)
Tuple Fields
0: Resolution
Ratio(Ratio)
Tuple Fields
0: Ratio
Ident(String)
Tuple Fields
0: String
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 MediaFeatureValue
impl Send for MediaFeatureValue
impl Sync for MediaFeatureValue
impl Unpin for MediaFeatureValue
impl UnwindSafe for MediaFeatureValue
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