pub enum SimpleSelector<'s> {
Class(ClassSelector<'s>),
Id(IdSelector<'s>),
Type(TypeSelector<'s>),
Attribute(AttributeSelector<'s>),
PseudoClass(PseudoClassSelector<'s>),
PseudoElement(PseudoElementSelector<'s>),
Nesting(NestingSelector<'s>),
SassPlaceholder(SassPlaceholderSelector<'s>),
}Variants§
Class(ClassSelector<'s>)
Id(IdSelector<'s>)
Type(TypeSelector<'s>)
Attribute(AttributeSelector<'s>)
PseudoClass(PseudoClassSelector<'s>)
PseudoElement(PseudoElementSelector<'s>)
Nesting(NestingSelector<'s>)
SassPlaceholder(SassPlaceholderSelector<'s>)
Trait Implementations§
Source§impl<'s> Clone for SimpleSelector<'s>
impl<'s> Clone for SimpleSelector<'s>
Source§fn clone(&self) -> SimpleSelector<'s>
fn clone(&self) -> SimpleSelector<'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 SimpleSelector<'s>
impl<'s> Debug for SimpleSelector<'s>
Source§impl<'cmt, 's: 'cmt> Parse<'cmt, 's> for SimpleSelector<'s>
impl<'cmt, 's: 'cmt> Parse<'cmt, 's> for SimpleSelector<'s>
Source§impl<'s> PartialEq for SimpleSelector<'s>
impl<'s> PartialEq for SimpleSelector<'s>
Source§fn eq(&self, other: &SimpleSelector<'s>) -> bool
fn eq(&self, other: &SimpleSelector<'s>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'s> StructuralPartialEq for SimpleSelector<'s>
Auto Trait Implementations§
impl<'s> Freeze for SimpleSelector<'s>
impl<'s> RefUnwindSafe for SimpleSelector<'s>
impl<'s> Send for SimpleSelector<'s>
impl<'s> Sync for SimpleSelector<'s>
impl<'s> Unpin for SimpleSelector<'s>
impl<'s> UnsafeUnpin for SimpleSelector<'s>
impl<'s> UnwindSafe for SimpleSelector<'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