Enum cssparser::ParseErrorKind
source · pub enum ParseErrorKind<'i, T: 'i> {
Basic(BasicParseErrorKind<'i>),
Custom(T),
}
Expand description
Details of a ParseError
Variants§
Basic(BasicParseErrorKind<'i>)
A fundamental parse error from a built-in parsing routine.
Custom(T)
A parse error reported by downstream consumer code.
Implementations§
source§impl<'i, T> ParseErrorKind<'i, T>
impl<'i, T> ParseErrorKind<'i, T>
sourcepub fn into<U>(self) -> ParseErrorKind<'i, U>where
T: Into<U>,
pub fn into<U>(self) -> ParseErrorKind<'i, U>where
T: Into<U>,
Like std::convert::Into::into
Trait Implementations§
source§impl<'i, T: Clone + 'i> Clone for ParseErrorKind<'i, T>
impl<'i, T: Clone + 'i> Clone for ParseErrorKind<'i, T>
source§fn clone(&self) -> ParseErrorKind<'i, T>
fn clone(&self) -> ParseErrorKind<'i, T>
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