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 moresource§impl<'i> Debug for BasicParseErrorKind<'i>
impl<'i> Debug for BasicParseErrorKind<'i>
source§impl<'i> Display for BasicParseErrorKind<'i>
impl<'i> Display for BasicParseErrorKind<'i>
source§impl<'i> PartialEq for BasicParseErrorKind<'i>
impl<'i> PartialEq for BasicParseErrorKind<'i>
impl<'i> StructuralPartialEq for BasicParseErrorKind<'i>
Auto Trait Implementations§
impl<'i> Freeze for BasicParseErrorKind<'i>
impl<'i> RefUnwindSafe for BasicParseErrorKind<'i>
impl<'i> !Send for BasicParseErrorKind<'i>
impl<'i> !Sync for BasicParseErrorKind<'i>
impl<'i> Unpin for BasicParseErrorKind<'i>
impl<'i> UnwindSafe for BasicParseErrorKind<'i>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)