enum SimpleSelectorParseResult<Impl: SelectorImpl> {
SimpleSelector(Component<Impl>),
PseudoElement(Impl::PseudoElement),
SlottedPseudo(Selector<Impl>),
PartPseudo(Box<[Impl::Identifier]>),
}
Variants§
SimpleSelector(Component<Impl>)
PseudoElement(Impl::PseudoElement)
SlottedPseudo(Selector<Impl>)
PartPseudo(Box<[Impl::Identifier]>)
Trait Implementations§
source§impl<Impl: Debug + SelectorImpl> Debug for SimpleSelectorParseResult<Impl>
impl<Impl: Debug + SelectorImpl> Debug for SimpleSelectorParseResult<Impl>
Auto Trait Implementations§
impl<Impl> Freeze for SimpleSelectorParseResult<Impl>where
<Impl as SelectorImpl>::PseudoElement: Freeze,
<Impl as SelectorImpl>::Identifier: Freeze,
<Impl as SelectorImpl>::LocalName: Freeze,
<Impl as SelectorImpl>::AttrValue: Freeze,
<Impl as SelectorImpl>::NamespaceUrl: Freeze,
<Impl as SelectorImpl>::NamespacePrefix: Freeze,
<Impl as SelectorImpl>::NonTSPseudoClass: Freeze,
impl<Impl> RefUnwindSafe for SimpleSelectorParseResult<Impl>where
<Impl as SelectorImpl>::PseudoElement: RefUnwindSafe,
<Impl as SelectorImpl>::Identifier: RefUnwindSafe,
<Impl as SelectorImpl>::LocalName: RefUnwindSafe,
<Impl as SelectorImpl>::AttrValue: RefUnwindSafe,
<Impl as SelectorImpl>::NamespaceUrl: RefUnwindSafe,
<Impl as SelectorImpl>::NamespacePrefix: RefUnwindSafe,
<Impl as SelectorImpl>::NonTSPseudoClass: RefUnwindSafe,
impl<Impl> Send for SimpleSelectorParseResult<Impl>where
<Impl as SelectorImpl>::PseudoElement: Send + Sync,
<Impl as SelectorImpl>::Identifier: Send + Sync,
<Impl as SelectorImpl>::LocalName: Send + Sync,
<Impl as SelectorImpl>::AttrValue: Send + Sync,
<Impl as SelectorImpl>::NamespaceUrl: Send + Sync,
<Impl as SelectorImpl>::NamespacePrefix: Send + Sync,
<Impl as SelectorImpl>::NonTSPseudoClass: Send + Sync,
impl<Impl> Sync for SimpleSelectorParseResult<Impl>where
<Impl as SelectorImpl>::PseudoElement: Sync + Send,
<Impl as SelectorImpl>::Identifier: Sync + Send,
<Impl as SelectorImpl>::LocalName: Sync + Send,
<Impl as SelectorImpl>::AttrValue: Sync + Send,
<Impl as SelectorImpl>::NamespaceUrl: Sync + Send,
<Impl as SelectorImpl>::NamespacePrefix: Sync + Send,
<Impl as SelectorImpl>::NonTSPseudoClass: Sync + Send,
impl<Impl> Unpin for SimpleSelectorParseResult<Impl>where
<Impl as SelectorImpl>::PseudoElement: Unpin,
<Impl as SelectorImpl>::Identifier: Unpin,
<Impl as SelectorImpl>::LocalName: Unpin,
<Impl as SelectorImpl>::AttrValue: Unpin,
<Impl as SelectorImpl>::NamespaceUrl: Unpin,
<Impl as SelectorImpl>::NamespacePrefix: Unpin,
<Impl as SelectorImpl>::NonTSPseudoClass: Unpin,
impl<Impl> UnwindSafe for SimpleSelectorParseResult<Impl>where
<Impl as SelectorImpl>::PseudoElement: UnwindSafe + RefUnwindSafe,
<Impl as SelectorImpl>::Identifier: UnwindSafe + RefUnwindSafe,
<Impl as SelectorImpl>::LocalName: UnwindSafe + RefUnwindSafe,
<Impl as SelectorImpl>::AttrValue: UnwindSafe + RefUnwindSafe,
<Impl as SelectorImpl>::NamespaceUrl: UnwindSafe + RefUnwindSafe,
<Impl as SelectorImpl>::NamespacePrefix: UnwindSafe + RefUnwindSafe,
<Impl as SelectorImpl>::NonTSPseudoClass: UnwindSafe + RefUnwindSafe,
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