pub struct ScrapeSelector;Expand description
Marker type for our selector implementation.
This type implements SelectorImpl to configure the selectors crate
for our DOM representation.
Trait Implementations§
Source§impl Clone for ScrapeSelector
impl Clone for ScrapeSelector
Source§fn clone(&self) -> ScrapeSelector
fn clone(&self) -> ScrapeSelector
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 Debug for ScrapeSelector
impl Debug for ScrapeSelector
Source§impl PartialEq for ScrapeSelector
impl PartialEq for ScrapeSelector
Source§impl SelectorImpl for ScrapeSelector
impl SelectorImpl for ScrapeSelector
type ExtraMatchingData<'a> = ()
type AttrValue = CssString
type Identifier = CssLocalName
type LocalName = CssLocalName
type NamespaceUrl = CssString
type NamespacePrefix = CssLocalName
type BorrowedLocalName = CssLocalName
type BorrowedNamespaceUrl = CssString
Source§type NonTSPseudoClass = NonTSPseudoClass
type NonTSPseudoClass = NonTSPseudoClass
non tree-structural pseudo-classes
(see: https://drafts.csswg.org/selectors/#structural-pseudos)
Source§type PseudoElement = PseudoElement
type PseudoElement = PseudoElement
pseudo-elements
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 Eq for ScrapeSelector
impl StructuralPartialEq for ScrapeSelector
Auto Trait Implementations§
impl Freeze for ScrapeSelector
impl RefUnwindSafe for ScrapeSelector
impl Send for ScrapeSelector
impl Sync for ScrapeSelector
impl Unpin for ScrapeSelector
impl UnwindSafe for ScrapeSelector
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