Enum cssparser::ParseErrorKind
[−]
[src]
pub enum ParseErrorKind<'i, T: 'i> {
Basic(BasicParseErrorKind<'i>),
Custom(T),
}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.
Methods
impl<'i, T> ParseErrorKind<'i, T>[src]
pub fn into<U>(self) -> ParseErrorKind<'i, U> where
T: Into<U>, [src]
T: Into<U>,
Like std::convert::Into::into
Trait Implementations
impl<'i, T: Clone + 'i> Clone for ParseErrorKind<'i, T>[src]
fn clone(&self) -> ParseErrorKind<'i, T>[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, T: Debug + 'i> Debug for ParseErrorKind<'i, T>[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl<'i, T: PartialEq + 'i> PartialEq for ParseErrorKind<'i, T>[src]
fn eq(&self, __arg_0: &ParseErrorKind<'i, T>) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ParseErrorKind<'i, T>) -> bool[src]
This method tests for !=.