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