pub trait PseudoElement: Sized + ToCss {
    type Impl: SelectorImpl;

    fn supports_pseudo_class(
        &self,
        _pseudo_class: &<Self::Impl as SelectorImpl>::NonTSPseudoClass
    ) -> bool { ... } fn valid_after_slotted(&self) -> bool { ... } }
Expand description

A trait that represents a pseudo-element.

Required Associated Types§

The SelectorImpl this pseudo-element is used for.

Provided Methods§

Whether the pseudo-element supports a given state selector to the right of it.

Whether this pseudo-element is valid after a ::slotted(..) pseudo.

Implementors§