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
sourceimpl Clone for AttributeSelector
impl Clone for AttributeSelector
sourcefn clone(&self) -> AttributeSelector
fn clone(&self) -> AttributeSelector
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for AttributeSelector
impl Debug for AttributeSelector
sourceimpl<'de> Deserialize<'de> for AttributeSelector
impl<'de> Deserialize<'de> for AttributeSelector
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl EqIgnoreSpan for AttributeSelector
impl EqIgnoreSpan for AttributeSelector
fn eq_ignore_span(&self, other: &Self) -> bool
sourceimpl Hash for AttributeSelector
impl Hash for AttributeSelector
sourceimpl PartialEq<AttributeSelector> for AttributeSelector
impl PartialEq<AttributeSelector> for AttributeSelector
sourcefn eq(&self, other: &AttributeSelector) -> bool
fn eq(&self, other: &AttributeSelector) -> bool
sourceimpl Serialize for AttributeSelector
impl Serialize for AttributeSelector
sourceimpl Spanned for AttributeSelector
impl Spanned for AttributeSelector
impl Eq for AttributeSelector
impl StructuralEq for AttributeSelector
impl StructuralPartialEq for AttributeSelector
Auto Trait Implementations
impl RefUnwindSafe for AttributeSelector
impl Send for AttributeSelector
impl Sync for AttributeSelector
impl Unpin for AttributeSelector
impl UnwindSafe for AttributeSelector
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more