pub struct AttributeSelector<'s> {
pub name: WqName<'s>,
pub matcher: Option<AttributeSelectorMatcher>,
pub value: Option<AttributeSelectorValue<'s>>,
pub modifier: Option<AttributeSelectorModifier<'s>>,
pub span: Span,
}Fields§
§name: WqName<'s>§matcher: Option<AttributeSelectorMatcher>§value: Option<AttributeSelectorValue<'s>>§modifier: Option<AttributeSelectorModifier<'s>>§span: SpanTrait Implementations§
Source§impl<'s> Clone for AttributeSelector<'s>
impl<'s> Clone for AttributeSelector<'s>
Source§fn clone(&self) -> AttributeSelector<'s>
fn clone(&self) -> AttributeSelector<'s>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'s> Debug for AttributeSelector<'s>
impl<'s> Debug for AttributeSelector<'s>
Source§impl<'cmt, 's: 'cmt> Parse<'cmt, 's> for AttributeSelector<'s>
impl<'cmt, 's: 'cmt> Parse<'cmt, 's> for AttributeSelector<'s>
Source§impl<'s> PartialEq for AttributeSelector<'s>
impl<'s> PartialEq for AttributeSelector<'s>
Source§fn eq(&self, other: &AttributeSelector<'s>) -> bool
fn eq(&self, other: &AttributeSelector<'s>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'s> StructuralPartialEq for AttributeSelector<'s>
Auto Trait Implementations§
impl<'s> Freeze for AttributeSelector<'s>
impl<'s> RefUnwindSafe for AttributeSelector<'s>
impl<'s> Send for AttributeSelector<'s>
impl<'s> Sync for AttributeSelector<'s>
impl<'s> Unpin for AttributeSelector<'s>
impl<'s> UnsafeUnpin for AttributeSelector<'s>
impl<'s> UnwindSafe for AttributeSelector<'s>
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