Enum cssparser::BasicParseError
[−]
[src]
pub enum BasicParseError<'a> { UnexpectedToken(Token<'a>), EndOfInput, AtRuleInvalid(CowRcStr<'a>), AtRuleBodyInvalid, QualifiedRuleInvalid, }
The funamental parsing errors that can be triggered by built-in parsing routines.
Variants
UnexpectedToken(Token<'a>)
An unexpected token was encountered.
EndOfInput
The end of the input was encountered unexpectedly.
AtRuleInvalid(CowRcStr<'a>)
An @
rule was encountered that was invalid.
AtRuleBodyInvalid
The body of an '@' rule was invalid.
QualifiedRuleInvalid
A qualified rule was encountered that was invalid.
Trait Implementations
impl<'a> Clone for BasicParseError<'a>
[src]
fn clone(&self) -> BasicParseError<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<'a> Debug for BasicParseError<'a>
[src]
impl<'a> PartialEq for BasicParseError<'a>
[src]
fn eq(&self, __arg_0: &BasicParseError<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &BasicParseError<'a>) -> bool
This method tests for !=
.