Struct swc_css_ast::AttributeSelector
source · pub struct AttributeSelector {
pub span: Span,
pub name: WqName,
pub matcher: Option<AttributeSelectorMatcher>,
pub value: Option<AttributeSelectorValue>,
pub modifier: Option<AttributeSelectorModifier>,
}
Fields§
§span: Span
§name: WqName
§matcher: Option<AttributeSelectorMatcher>
§value: Option<AttributeSelectorValue>
§modifier: Option<AttributeSelectorModifier>
Trait Implementations§
source§impl Clone for AttributeSelector
impl Clone for AttributeSelector
source§fn clone(&self) -> AttributeSelector
fn clone(&self) -> AttributeSelector
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 AttributeSelector
impl Debug for AttributeSelector
source§impl EqIgnoreSpan for AttributeSelector
impl EqIgnoreSpan for AttributeSelector
fn eq_ignore_span(&self, other: &Self) -> bool
source§impl Hash for AttributeSelector
impl Hash for AttributeSelector
source§impl PartialEq<AttributeSelector> for AttributeSelector
impl PartialEq<AttributeSelector> for AttributeSelector
source§fn eq(&self, other: &AttributeSelector) -> bool
fn eq(&self, other: &AttributeSelector) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.