pub struct Simple;
Expand description
A simple implementation of SelectorImpl
with no pseudo-classes or pseudo-elements.
Trait Implementations§
Source§impl SelectorImpl for Simple
impl SelectorImpl for Simple
type AttrValue = CssString
type Identifier = CssLocalName
type ClassName = CssLocalName
type LocalName = CssLocalName
type PartName = Atom<LocalNameStaticSet>
type NamespacePrefix = CssLocalName
type NamespaceUrl = Atom<NamespaceStaticSet>
type BorrowedNamespaceUrl = Atom<NamespaceStaticSet>
type BorrowedLocalName = CssLocalName
Source§type NonTSPseudoClass = NonTSPseudoClass
type NonTSPseudoClass = NonTSPseudoClass
non tree-structural pseudo-classes
(see: https://drafts.csswg.org/selectors/#structural-pseudos)
Source§type PseudoElement = PseudoElement
type PseudoElement = PseudoElement
pseudo-elements
type ExtraMatchingData = ()
impl Copy for Simple
impl Eq for Simple
impl StructuralPartialEq for Simple
Auto Trait Implementations§
impl Freeze for Simple
impl RefUnwindSafe for Simple
impl Send for Simple
impl Sync for Simple
impl Unpin for Simple
impl UnwindSafe for Simple
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more