Enum selectors::parser::SelectorParseErrorKind
source · pub enum SelectorParseErrorKind<'i> {
Show 20 variants
NoQualifiedNameInAttributeSelector(Token<'i>),
EmptySelector,
DanglingCombinator,
NonCompoundSelector,
NonPseudoElementAfterSlotted,
InvalidPseudoElementAfterSlotted,
InvalidPseudoElementInsideWhere,
InvalidState,
UnexpectedTokenInAttributeSelector(Token<'i>),
PseudoElementExpectedColon(Token<'i>),
PseudoElementExpectedIdent(Token<'i>),
NoIdentForPseudo(Token<'i>),
UnsupportedPseudoClassOrElement(CowRcStr<'i>),
UnexpectedIdent(CowRcStr<'i>),
ExpectedNamespace(CowRcStr<'i>),
ExpectedBarInAttr(Token<'i>),
BadValueInAttr(Token<'i>),
InvalidQualNameInAttr(Token<'i>),
ExplicitNamespaceUnexpectedToken(Token<'i>),
ClassNeedsIdent(Token<'i>),
}
Variants§
NoQualifiedNameInAttributeSelector(Token<'i>)
EmptySelector
DanglingCombinator
NonCompoundSelector
NonPseudoElementAfterSlotted
InvalidPseudoElementAfterSlotted
InvalidPseudoElementInsideWhere
InvalidState
UnexpectedTokenInAttributeSelector(Token<'i>)
PseudoElementExpectedColon(Token<'i>)
PseudoElementExpectedIdent(Token<'i>)
NoIdentForPseudo(Token<'i>)
UnsupportedPseudoClassOrElement(CowRcStr<'i>)
UnexpectedIdent(CowRcStr<'i>)
ExpectedNamespace(CowRcStr<'i>)
ExpectedBarInAttr(Token<'i>)
BadValueInAttr(Token<'i>)
InvalidQualNameInAttr(Token<'i>)
ExplicitNamespaceUnexpectedToken(Token<'i>)
ClassNeedsIdent(Token<'i>)
Trait Implementations§
source§impl<'i> Clone for SelectorParseErrorKind<'i>
impl<'i> Clone for SelectorParseErrorKind<'i>
source§fn clone(&self) -> SelectorParseErrorKind<'i>
fn clone(&self) -> SelectorParseErrorKind<'i>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'i> Debug for SelectorParseErrorKind<'i>
impl<'i> Debug for SelectorParseErrorKind<'i>
source§impl<'i> PartialEq for SelectorParseErrorKind<'i>
impl<'i> PartialEq for SelectorParseErrorKind<'i>
source§fn eq(&self, other: &SelectorParseErrorKind<'i>) -> bool
fn eq(&self, other: &SelectorParseErrorKind<'i>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'i> StructuralPartialEq for SelectorParseErrorKind<'i>
Auto Trait Implementations§
impl<'i> Freeze for SelectorParseErrorKind<'i>
impl<'i> RefUnwindSafe for SelectorParseErrorKind<'i>
impl<'i> !Send for SelectorParseErrorKind<'i>
impl<'i> !Sync for SelectorParseErrorKind<'i>
impl<'i> Unpin for SelectorParseErrorKind<'i>
impl<'i> UnwindSafe for SelectorParseErrorKind<'i>
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