pub struct NthMatcher<'s> {
pub selector: Option<SelectorList<'s>>,
pub span: Span,
}Fields§
§selector: Option<SelectorList<'s>>§span: SpanTrait Implementations§
Source§impl<'s> Clone for NthMatcher<'s>
impl<'s> Clone for NthMatcher<'s>
Source§fn clone(&self) -> NthMatcher<'s>
fn clone(&self) -> NthMatcher<'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 NthMatcher<'s>
impl<'s> Debug for NthMatcher<'s>
Source§impl<'cmt, 's: 'cmt> Parse<'cmt, 's> for NthMatcher<'s>
impl<'cmt, 's: 'cmt> Parse<'cmt, 's> for NthMatcher<'s>
Source§impl<'s> PartialEq for NthMatcher<'s>
impl<'s> PartialEq for NthMatcher<'s>
Source§fn eq(&self, other: &NthMatcher<'s>) -> bool
fn eq(&self, other: &NthMatcher<'s>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'s> StructuralPartialEq for NthMatcher<'s>
Auto Trait Implementations§
impl<'s> Freeze for NthMatcher<'s>
impl<'s> RefUnwindSafe for NthMatcher<'s>
impl<'s> Send for NthMatcher<'s>
impl<'s> Sync for NthMatcher<'s>
impl<'s> Unpin for NthMatcher<'s>
impl<'s> UnsafeUnpin for NthMatcher<'s>
impl<'s> UnwindSafe for NthMatcher<'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