Struct swc_css_ast::MediaFeatureRange
source · pub struct MediaFeatureRange {
pub span: Span,
pub left: Box<MediaFeatureValue>,
pub comparison: MediaFeatureRangeComparison,
pub right: Box<MediaFeatureValue>,
}
Fields§
§span: Span
§left: Box<MediaFeatureValue>
§comparison: MediaFeatureRangeComparison
§right: Box<MediaFeatureValue>
Trait Implementations§
source§impl Clone for MediaFeatureRange
impl Clone for MediaFeatureRange
source§fn clone(&self) -> MediaFeatureRange
fn clone(&self) -> MediaFeatureRange
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 MediaFeatureRange
impl Debug for MediaFeatureRange
source§impl EqIgnoreSpan for MediaFeatureRange
impl EqIgnoreSpan for MediaFeatureRange
fn eq_ignore_span(&self, other: &Self) -> bool
source§impl From<MediaFeatureRange> for MediaFeature
impl From<MediaFeatureRange> for MediaFeature
source§fn from(v: MediaFeatureRange) -> Self
fn from(v: MediaFeatureRange) -> Self
Converts to this type from the input type.
source§impl Hash for MediaFeatureRange
impl Hash for MediaFeatureRange
source§impl PartialEq for MediaFeatureRange
impl PartialEq for MediaFeatureRange
source§fn eq(&self, other: &MediaFeatureRange) -> bool
fn eq(&self, other: &MediaFeatureRange) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Spanned for MediaFeatureRange
impl Spanned for MediaFeatureRange
impl Eq for MediaFeatureRange
impl StructuralPartialEq for MediaFeatureRange
Auto Trait Implementations§
impl RefUnwindSafe for MediaFeatureRange
impl Send for MediaFeatureRange
impl Sync for MediaFeatureRange
impl Unpin for MediaFeatureRange
impl UnwindSafe for MediaFeatureRange
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more