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]
impl<'i, T> ParseErrorKind<'i, T>
pub fn into<U>(self) -> ParseErrorKind<'i, U> where
T: Into<U>,
[src]
pub fn into<U>(self) -> ParseErrorKind<'i, U> where
T: Into<U>,
Like std::convert::Into::into
Trait Implementations
impl<'i, T: Clone + 'i> Clone for ParseErrorKind<'i, T>
[src]
impl<'i, T: Clone + 'i> Clone for ParseErrorKind<'i, T>
fn clone(&self) -> ParseErrorKind<'i, T>
[src]
fn clone(&self) -> ParseErrorKind<'i, T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
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]
impl<'i, T: Debug + 'i> Debug for ParseErrorKind<'i, T>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'i, T: PartialEq + 'i> PartialEq for ParseErrorKind<'i, T>
[src]
impl<'i, T: PartialEq + 'i> PartialEq for ParseErrorKind<'i, T>
fn eq(&self, other: &ParseErrorKind<'i, T>) -> bool
[src]
fn eq(&self, other: &ParseErrorKind<'i, T>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ParseErrorKind<'i, T>) -> bool
[src]
fn ne(&self, other: &ParseErrorKind<'i, T>) -> bool
This method tests for !=
.
Auto Trait Implementations
impl<'i, T> !Send for ParseErrorKind<'i, T>
impl<'i, T> !Send for ParseErrorKind<'i, T>
impl<'i, T> !Sync for ParseErrorKind<'i, T>
impl<'i, T> !Sync for ParseErrorKind<'i, T>