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 ==
.