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§

The SelectorImpl this pseudo-element is used for.

Required Methods§

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

Implementors§