Trait selectors::parser::NonTSPseudoClass [−][src]
pub trait NonTSPseudoClass: Sized + ToCss { type Impl: SelectorImpl; fn is_active_or_hover(&self) -> bool; fn is_user_action_state(&self) -> bool; fn visit<V>(&self, _visitor: &mut V) -> bool
where
V: SelectorVisitor<Impl = Self::Impl>, { ... } }
A trait that represents a pseudo-class.
Associated Types
type Impl: SelectorImpl
[src]
The SelectorImpl
this pseudo-element is used for.
Required methods
fn is_active_or_hover(&self) -> bool
[src]
Whether this pseudo-class is :active or :hover.
fn is_user_action_state(&self) -> bool
[src]
Whether this pseudo-class belongs to:
https://drafts.csswg.org/selectors-4/#useraction-pseudos