Enum cssparser::BasicParseErrorKind
source · pub enum BasicParseErrorKind<'i> {
UnexpectedToken(Token<'i>),
EndOfInput,
AtRuleInvalid(CowRcStr<'i>),
AtRuleBodyInvalid,
QualifiedRuleInvalid,
}
Expand description
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§
source§impl<'i> Clone for BasicParseErrorKind<'i>
impl<'i> Clone for BasicParseErrorKind<'i>
source§fn clone(&self) -> BasicParseErrorKind<'i>
fn clone(&self) -> BasicParseErrorKind<'i>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more