Enum cssparser::BasicParseErrorKind
[−]
[src]
pub enum BasicParseErrorKind<'i> { UnexpectedToken(Token<'i>), EndOfInput, AtRuleInvalid(CowRcStr<'i>), AtRuleBodyInvalid, QualifiedRuleInvalid, }
Details about a BasicParseError
Variants
UnexpectedToken(Token<'i>)
An unexpected token was encountered.
EndOfInput
The end of the input was encountered unexpectedly.
AtRuleInvalid(CowRcStr<'i>)
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<'i> Clone for BasicParseErrorKind<'i>
[src]
fn clone(&self) -> BasicParseErrorKind<'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 BasicParseErrorKind<'i>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'i> PartialEq for BasicParseErrorKind<'i>
[src]
fn eq(&self, __arg_0: &BasicParseErrorKind<'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: &BasicParseErrorKind<'i>) -> bool
[src]
This method tests for !=
.