pub struct Simple;
Expand description
A simple implementation of SelectorImpl
with no pseudo-classes or pseudo-elements.
Trait Implementations§
source§impl PartialEq for Simple
impl PartialEq for Simple
source§impl SelectorImpl for Simple
impl SelectorImpl for Simple
type AttrValue = CssString
type Identifier = CssLocalName
type LocalName = CssLocalName
type NamespacePrefix = CssLocalName
type NamespaceUrl = Atom<NamespaceStaticSet>
type BorrowedNamespaceUrl = Atom<NamespaceStaticSet>
type BorrowedLocalName = CssLocalName
§type NonTSPseudoClass = NonTSPseudoClass
type NonTSPseudoClass = NonTSPseudoClass
non tree-structural pseudo-classes
(see: https://drafts.csswg.org/selectors/#structural-pseudos)
§type PseudoElement = PseudoElement
type PseudoElement = PseudoElement
pseudo-elements
type ExtraMatchingData<'a> = ()
source§fn should_collect_attr_hash(_name: &Self::LocalName) -> bool
fn should_collect_attr_hash(_name: &Self::LocalName) -> bool
Whether attribute hashes should be collected for filtering
purposes.
impl Copy for Simple
impl Eq for Simple
impl StructuralPartialEq for Simple
Auto Trait Implementations§
impl RefUnwindSafe for Simple
impl Send for Simple
impl Sync for Simple
impl Unpin for Simple
impl UnwindSafe for Simple
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