Trait selectors::parser::NonTSPseudoClass
source · pub trait NonTSPseudoClass: Sized + ToCss {
type Impl: SelectorImpl;
fn is_active_or_hover(&self) -> bool;
}
Expand description
A trait that represents a pseudo-class.
Required Associated Types§
sourcetype Impl: SelectorImpl
type Impl: SelectorImpl
The SelectorImpl
this pseudo-element is used for.
Required Methods§
sourcefn is_active_or_hover(&self) -> bool
fn is_active_or_hover(&self) -> bool
Whether this pseudo-class is :active or :hover.