[][src]Enum cssparser::BasicParseErrorKind

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_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<'i> PartialEq<BasicParseErrorKind<'i>> for BasicParseErrorKind<'i>[src]

impl<'i> Debug for BasicParseErrorKind<'i>[src]

Auto Trait Implementations

impl<'i> Unpin for BasicParseErrorKind<'i>

impl<'i> !Send for BasicParseErrorKind<'i>

impl<'i> !Sync for BasicParseErrorKind<'i>

impl<'i> !RefUnwindSafe for BasicParseErrorKind<'i>

impl<'i> UnwindSafe for BasicParseErrorKind<'i>

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]