Struct swc_css_ast::CustomMediaQuery
source · pub struct CustomMediaQuery {
pub span: Span,
pub name: ExtensionName,
pub media: CustomMediaQueryMediaType,
}
Fields§
§span: Span
§name: ExtensionName
§media: CustomMediaQueryMediaType
Trait Implementations§
source§impl Clone for CustomMediaQuery
impl Clone for CustomMediaQuery
source§fn clone(&self) -> CustomMediaQuery
fn clone(&self) -> CustomMediaQuery
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 CustomMediaQuery
impl Debug for CustomMediaQuery
source§impl EqIgnoreSpan for CustomMediaQuery
impl EqIgnoreSpan for CustomMediaQuery
fn eq_ignore_span(&self, other: &Self) -> bool
source§impl From<CustomMediaQuery> for AtRulePrelude
impl From<CustomMediaQuery> for AtRulePrelude
source§fn from(v: CustomMediaQuery) -> Self
fn from(v: CustomMediaQuery) -> Self
Converts to this type from the input type.
source§impl Hash for CustomMediaQuery
impl Hash for CustomMediaQuery
source§impl PartialEq<CustomMediaQuery> for CustomMediaQuery
impl PartialEq<CustomMediaQuery> for CustomMediaQuery
source§fn eq(&self, other: &CustomMediaQuery) -> bool
fn eq(&self, other: &CustomMediaQuery) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Spanned for CustomMediaQuery
impl Spanned for CustomMediaQuery
source§impl Take for CustomMediaQuery
impl Take for CustomMediaQuery
impl Eq for CustomMediaQuery
impl StructuralEq for CustomMediaQuery
impl StructuralPartialEq for CustomMediaQuery
Auto Trait Implementations§
impl RefUnwindSafe for CustomMediaQuery
impl Send for CustomMediaQuery
impl Sync for CustomMediaQuery
impl Unpin for CustomMediaQuery
impl UnwindSafe for CustomMediaQuery
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