pub enum NonTSPseudoClass {
Link,
AnyLink,
}Expand description
Pseudo-class variants (non-tree-structural).
We only support a minimal set of pseudo-classes that can be evaluated statically without browser state.
Variants§
Trait Implementations§
Source§impl Clone for NonTSPseudoClass
impl Clone for NonTSPseudoClass
Source§fn clone(&self) -> NonTSPseudoClass
fn clone(&self) -> NonTSPseudoClass
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 NonTSPseudoClass
impl Debug for NonTSPseudoClass
Source§impl NonTSPseudoClass for NonTSPseudoClass
impl NonTSPseudoClass for NonTSPseudoClass
Source§type Impl = ScrapeSelector
type Impl = ScrapeSelector
The
SelectorImpl this pseudo-element is used for.Source§fn is_active_or_hover(&self) -> bool
fn is_active_or_hover(&self) -> bool
Whether this pseudo-class is :active or :hover.
Source§fn is_user_action_state(&self) -> bool
fn is_user_action_state(&self) -> bool
Whether this pseudo-class belongs to: Read more
fn visit<V>(&self, _visitor: &mut V) -> boolwhere
V: SelectorVisitor<Impl = Self::Impl>,
Source§impl PartialEq for NonTSPseudoClass
impl PartialEq for NonTSPseudoClass
Source§impl ToCss for NonTSPseudoClass
impl ToCss for NonTSPseudoClass
impl Eq for NonTSPseudoClass
impl StructuralPartialEq for NonTSPseudoClass
Auto Trait Implementations§
impl Freeze for NonTSPseudoClass
impl RefUnwindSafe for NonTSPseudoClass
impl Send for NonTSPseudoClass
impl Sync for NonTSPseudoClass
impl Unpin for NonTSPseudoClass
impl UnwindSafe for NonTSPseudoClass
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