Enum css::selectors::parser::SelectorParseError
[−]
[src]
pub enum SelectorParseError<'i, T> { PseudoElementInComplexSelector, NoQualifiedNameInAttributeSelector(Token<'i>), EmptySelector, DanglingCombinator, NonSimpleSelectorInNegation, 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>), EmptyNegation, Custom(T), }
Variants
PseudoElementInComplexSelector
NoQualifiedNameInAttributeSelector(Token<'i>)
EmptySelector
DanglingCombinator
NonSimpleSelectorInNegation
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>)
EmptyNegation
Custom(T)
Trait Implementations
impl<'i, T: Clone> Clone for SelectorParseError<'i, T>
[src]
fn clone(&self) -> SelectorParseError<'i, T>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'i, T: Debug> Debug for SelectorParseError<'i, T>
[src]
impl<'i, T: PartialEq> PartialEq for SelectorParseError<'i, T>
[src]
fn eq(&self, __arg_0: &SelectorParseError<'i, T>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SelectorParseError<'i, T>) -> bool
[src]
This method tests for !=
.
impl<'a, T> Into<ParseError<'a, SelectorParseError<'a, T>>> for SelectorParseError<'a, T>
[src]
fn into(self) -> ParseError<'a, SelectorParseError<'a, T>>
[src]
Performs the conversion.