Enum selectors::parser::SelectorParseErrorKind
[−]
[src]
pub enum SelectorParseErrorKind<'i> {
PseudoElementInComplexSelector,
NoQualifiedNameInAttributeSelector(Token<'i>),
EmptySelector,
DanglingCombinator,
NonSimpleSelectorInNegation,
NonCompoundSelector,
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,
}Variants
PseudoElementInComplexSelectorNoQualifiedNameInAttributeSelector(Token<'i>)EmptySelectorDanglingCombinatorNonSimpleSelectorInNegationNonCompoundSelectorUnexpectedTokenInAttributeSelector(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
Trait Implementations
impl<'i> Clone for SelectorParseErrorKind<'i>[src]
fn clone(&self) -> SelectorParseErrorKind<'i>[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> Debug for SelectorParseErrorKind<'i>[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl<'i> PartialEq for SelectorParseErrorKind<'i>[src]
fn eq(&self, __arg_0: &SelectorParseErrorKind<'i>) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &SelectorParseErrorKind<'i>) -> bool[src]
This method tests for !=.