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 ==
.source§impl Spanned for MediaFeaturePlain
impl Spanned for MediaFeaturePlain
impl Eq for MediaFeaturePlain
impl StructuralEq for MediaFeaturePlain
impl StructuralPartialEq for MediaFeaturePlain
Auto Trait Implementations§
impl RefUnwindSafe for MediaFeaturePlain
impl Send for MediaFeaturePlain
impl Sync for MediaFeaturePlain
impl Unpin for MediaFeaturePlain
impl UnwindSafe for MediaFeaturePlain
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