pub trait NonTSPseudoClass<'i>: Sized + ToCss {
    type Impl: SelectorImpl<'i>;

    fn is_active_or_hover(&self) -> bool;
    fn is_user_action_state(&self) -> bool;

    fn is_valid_before_webkit_scrollbar(&self) -> bool { ... }
    fn is_valid_after_webkit_scrollbar(&self) -> bool { ... }
    fn visit<V>(&self, _visitor: &mut V) -> bool
    where
        V: SelectorVisitor<'i, Impl = Self::Impl>
, { ... } }
Expand description

A trait that represents a pseudo-class.

Required Associated Types

The SelectorImpl this pseudo-element is used for.

Required Methods

Whether this pseudo-class is :active or :hover.

Whether this pseudo-class belongs to:

https://drafts.csswg.org/selectors-4/#useraction-pseudos

Provided Methods

Implementors