pub enum Selector {
Any,
Tag(Atom<LocalNameStaticSet>),
Namespace(Atom<NamespaceStaticSet>),
Prefix(Atom<PrefixStaticSet>),
Descendant,
Child,
NextSibling,
SubsequentSibling,
Class(Atom<EmptyStaticAtomSet>),
Id(Atom<EmptyStaticAtomSet>),
IsRoot,
Expression(Vec<Selector>),
}
Variants§
Any
- wildcard
Tag(Atom<LocalNameStaticSet>)
tag selector
Namespace(Atom<NamespaceStaticSet>)
prefix| namespace selector - already converted to actual namespace
Prefix(Atom<PrefixStaticSet>)
prefix| namespace selector - not converted to namespace yet
Descendant
“ “ operator
Child
operator
NextSibling
- operator
SubsequentSibling
~ operator
Class(Atom<EmptyStaticAtomSet>)
.class selector
Id(Atom<EmptyStaticAtomSet>)
#id selector
IsRoot
:root selector
Expression(Vec<Selector>)
Selectors combined
Trait Implementations§
source§impl PartialEq<Selector> for Selector
impl PartialEq<Selector> for Selector
impl StructuralPartialEq for Selector
Auto Trait Implementations§
impl RefUnwindSafe for Selector
impl Send for Selector
impl Sync for Selector
impl Unpin for Selector
impl UnwindSafe for Selector
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