Struct swc_css_ast::MediaFeatureRangeInterval
source · pub struct MediaFeatureRangeInterval {
pub span: Span,
pub left: Box<MediaFeatureValue>,
pub left_comparison: MediaFeatureRangeComparison,
pub name: MediaFeatureName,
pub right_comparison: MediaFeatureRangeComparison,
pub right: Box<MediaFeatureValue>,
}
Fields§
§span: Span
§left: Box<MediaFeatureValue>
§left_comparison: MediaFeatureRangeComparison
§name: MediaFeatureName
§right_comparison: MediaFeatureRangeComparison
§right: Box<MediaFeatureValue>
Trait Implementations§
source§impl AstNode for MediaFeatureRangeInterval
impl AstNode for MediaFeatureRangeInterval
source§impl Clone for MediaFeatureRangeInterval
impl Clone for MediaFeatureRangeInterval
source§fn clone(&self) -> MediaFeatureRangeInterval
fn clone(&self) -> MediaFeatureRangeInterval
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MediaFeatureRangeInterval
impl Debug for MediaFeatureRangeInterval
source§impl<'de> Deserialize<'de> for MediaFeatureRangeInterval
impl<'de> Deserialize<'de> for MediaFeatureRangeInterval
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl EqIgnoreSpan for MediaFeatureRangeInterval
impl EqIgnoreSpan for MediaFeatureRangeInterval
fn eq_ignore_span(&self, other: &Self) -> bool
source§impl From<MediaFeatureRangeInterval> for MediaFeature
impl From<MediaFeatureRangeInterval> for MediaFeature
source§fn from(v: MediaFeatureRangeInterval) -> Self
fn from(v: MediaFeatureRangeInterval) -> Self
Converts to this type from the input type.
source§impl Hash for MediaFeatureRangeInterval
impl Hash for MediaFeatureRangeInterval
source§impl PartialEq<MediaFeatureRangeInterval> for MediaFeatureRangeInterval
impl PartialEq<MediaFeatureRangeInterval> for MediaFeatureRangeInterval
source§fn eq(&self, other: &MediaFeatureRangeInterval) -> bool
fn eq(&self, other: &MediaFeatureRangeInterval) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.