pub struct SelectorImpl;Expand description
The type-level configuration handed to the selectors crate: which
string types, pseudo-classes and pseudo-elements selectors are made of.
Trait Implementations§
Source§impl Clone for SelectorImpl
impl Clone for SelectorImpl
Source§fn clone(&self) -> SelectorImpl
fn clone(&self) -> SelectorImpl
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 Debug for SelectorImpl
impl Debug for SelectorImpl
impl Eq for SelectorImpl
Source§impl PartialEq for SelectorImpl
impl PartialEq for SelectorImpl
Source§fn eq(&self, other: &SelectorImpl) -> bool
fn eq(&self, other: &SelectorImpl) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl SelectorImpl for SelectorImpl
impl SelectorImpl for SelectorImpl
type ExtraMatchingData<'a> = ()
type AttrValue = AttrValue
type Identifier = Atom
type LocalName = Atom
type NamespaceUrl = Atom
type NamespacePrefix = Atom
type BorrowedNamespaceUrl = str
type BorrowedLocalName = str
Source§type NonTSPseudoClass = PseudoClass
type NonTSPseudoClass = PseudoClass
non tree-structural pseudo-classes
(see: https://drafts.csswg.org/selectors/#structural-pseudos)
Source§type PseudoElement = PseudoElement
type PseudoElement = PseudoElement
pseudo-elements
§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 StructuralPartialEq for SelectorImpl
Auto Trait Implementations§
impl Freeze for SelectorImpl
impl RefUnwindSafe for SelectorImpl
impl Send for SelectorImpl
impl Sync for SelectorImpl
impl Unpin for SelectorImpl
impl UnsafeUnpin for SelectorImpl
impl UnwindSafe for SelectorImpl
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