pub enum TypeSelector<'s> {
TagName(TagNameSelector<'s>),
Universal(UniversalSelector<'s>),
}Variants§
TagName(TagNameSelector<'s>)
Universal(UniversalSelector<'s>)
Trait Implementations§
Source§impl<'s> Clone for TypeSelector<'s>
impl<'s> Clone for TypeSelector<'s>
Source§fn clone(&self) -> TypeSelector<'s>
fn clone(&self) -> TypeSelector<'s>
Returns a duplicate 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<'s> Debug for TypeSelector<'s>
impl<'s> Debug for TypeSelector<'s>
Source§impl<'cmt, 's: 'cmt> Parse<'cmt, 's> for TypeSelector<'s>
impl<'cmt, 's: 'cmt> Parse<'cmt, 's> for TypeSelector<'s>
Source§impl<'s> PartialEq for TypeSelector<'s>
impl<'s> PartialEq for TypeSelector<'s>
impl<'s> StructuralPartialEq for TypeSelector<'s>
Auto Trait Implementations§
impl<'s> Freeze for TypeSelector<'s>
impl<'s> RefUnwindSafe for TypeSelector<'s>
impl<'s> Send for TypeSelector<'s>
impl<'s> Sync for TypeSelector<'s>
impl<'s> Unpin for TypeSelector<'s>
impl<'s> UnwindSafe for TypeSelector<'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