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 moresource§impl<'i, T: Debug + 'i> Debug for ParseErrorKind<'i, T>
impl<'i, T: Debug + 'i> Debug for ParseErrorKind<'i, T>
source§impl<'i, E: Display> Display for ParseErrorKind<'i, E>
impl<'i, E: Display> Display for ParseErrorKind<'i, E>
source§impl<'i, T: PartialEq + 'i> PartialEq for ParseErrorKind<'i, T>
impl<'i, T: PartialEq + 'i> PartialEq for ParseErrorKind<'i, T>
impl<'i, T: 'i> StructuralPartialEq for ParseErrorKind<'i, T>
Auto Trait Implementations§
impl<'i, T> Freeze for ParseErrorKind<'i, T>where
T: Freeze,
impl<'i, T> RefUnwindSafe for ParseErrorKind<'i, T>where
T: RefUnwindSafe,
impl<'i, T> !Send for ParseErrorKind<'i, T>
impl<'i, T> !Sync for ParseErrorKind<'i, T>
impl<'i, T> Unpin for ParseErrorKind<'i, T>where
T: Unpin,
impl<'i, T> UnwindSafe for ParseErrorKind<'i, T>where
T: UnwindSafe,
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
)