Trait selectors::parser::PseudoElement
[−]
[src]
pub trait PseudoElement: Sized + ToCss { type Impl: SelectorImpl; fn supports_pseudo_class(
&self,
_pseudo_class: &<Self::Impl as SelectorImpl>::NonTSPseudoClass
) -> bool { ... } }
A trait that represents a pseudo-element.
Associated Types
type Impl: SelectorImpl
The SelectorImpl
this pseudo-element is used for.
Provided Methods
fn supports_pseudo_class(
&self,
_pseudo_class: &<Self::Impl as SelectorImpl>::NonTSPseudoClass
) -> bool
&self,
_pseudo_class: &<Self::Impl as SelectorImpl>::NonTSPseudoClass
) -> bool
Whether the pseudo-element supports a given state selector to the right of it.