Struct swc_css_ast::MediaFeaturePlain
source · pub struct MediaFeaturePlain {
pub span: Span,
pub name: MediaFeatureName,
pub value: Box<MediaFeatureValue>,
}
Fields§
§span: Span
§name: MediaFeatureName
§value: Box<MediaFeatureValue>
Trait Implementations§
source§impl Clone for MediaFeaturePlain
impl Clone for MediaFeaturePlain
source§fn clone(&self) -> MediaFeaturePlain
fn clone(&self) -> MediaFeaturePlain
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 MediaFeaturePlain
impl Debug for MediaFeaturePlain
source§impl EqIgnoreSpan for MediaFeaturePlain
impl EqIgnoreSpan for MediaFeaturePlain
fn eq_ignore_span(&self, other: &Self) -> bool
source§impl From<MediaFeaturePlain> for MediaFeature
impl From<MediaFeaturePlain> for MediaFeature
source§fn from(v: MediaFeaturePlain) -> Self
fn from(v: MediaFeaturePlain) -> Self
Converts to this type from the input type.
source§impl Hash for MediaFeaturePlain
impl Hash for MediaFeaturePlain
source§impl PartialEq<MediaFeaturePlain> for MediaFeaturePlain
impl PartialEq<MediaFeaturePlain> for MediaFeaturePlain
source§fn eq(&self, other: &MediaFeaturePlain) -> bool
fn eq(&self, other: &MediaFeaturePlain) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.