Trait selectors::parser::PseudoElement[][src]

pub trait PseudoElement: Sized + ToCss {
    type Impl: SelectorImpl;
    fn accepts_state_pseudo_classes(&self) -> bool { ... }
fn valid_after_slotted(&self) -> bool { ... } }

A trait that represents a pseudo-element.

Associated Types

type Impl: SelectorImpl[src]

The SelectorImpl this pseudo-element is used for.

Loading content...

Provided methods

fn accepts_state_pseudo_classes(&self) -> bool[src]

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

fn valid_after_slotted(&self) -> bool[src]

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

Loading content...

Implementors

Loading content...