pub struct Simple;Expand description
A simple implementation of SelectorImpl with no pseudo-classes or pseudo-elements.
Trait Implementations
sourceimpl SelectorImpl for Simple
impl SelectorImpl for Simple
type AttrValue = String
type Identifier = Atom<LocalNameStaticSet>
type ClassName = Atom<LocalNameStaticSet>
type PartName = Atom<LocalNameStaticSet>
type LocalName = Atom<LocalNameStaticSet>
type NamespacePrefix = Atom<LocalNameStaticSet>
type NamespaceUrl = Atom<NamespaceStaticSet>
type BorrowedNamespaceUrl = Atom<NamespaceStaticSet>
type BorrowedLocalName = Atom<LocalNameStaticSet>
type NonTSPseudoClass = NonTSPseudoClass
type NonTSPseudoClass = NonTSPseudoClass
non tree-structural pseudo-classes (see: https://drafts.csswg.org/selectors/#structural-pseudos) Read more
type PseudoElement = PseudoElement
type PseudoElement = PseudoElement
pseudo-elements
type ExtraMatchingData = String
impl Copy for Simple
impl Eq for Simple
impl StructuralEq for Simple
impl StructuralPartialEq for Simple
Auto Trait Implementations
impl RefUnwindSafe for Simple
impl Send for Simple
impl Sync for Simple
impl Unpin for Simple
impl UnwindSafe for Simple
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more