Struct cssparser::parser::BasicParseError
source · pub struct BasicParseError<'i> {
pub kind: BasicParseErrorKind<'i>,
pub location: SourceLocation,
}
Expand description
The fundamental parsing errors that can be triggered by built-in parsing routines.
Fields§
§kind: BasicParseErrorKind<'i>
Details of this error
location: SourceLocation
Location where this error occurred
Trait Implementations§
source§impl<'i> Clone for BasicParseError<'i>
impl<'i> Clone for BasicParseError<'i>
source§fn clone(&self) -> BasicParseError<'i>
fn clone(&self) -> BasicParseError<'i>
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> Debug for BasicParseError<'i>
impl<'i> Debug for BasicParseError<'i>
source§impl<'i, T> From<BasicParseError<'i>> for ParseError<'i, T>
impl<'i, T> From<BasicParseError<'i>> for ParseError<'i, T>
source§fn from(this: BasicParseError<'i>) -> ParseError<'i, T>
fn from(this: BasicParseError<'i>) -> ParseError<'i, T>
Converts to this type from the input type.
source§impl<'i> PartialEq for BasicParseError<'i>
impl<'i> PartialEq for BasicParseError<'i>
source§fn eq(&self, other: &BasicParseError<'i>) -> bool
fn eq(&self, other: &BasicParseError<'i>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'i> StructuralPartialEq for BasicParseError<'i>
Auto Trait Implementations§
impl<'i> Freeze for BasicParseError<'i>
impl<'i> RefUnwindSafe for BasicParseError<'i>
impl<'i> !Send for BasicParseError<'i>
impl<'i> !Sync for BasicParseError<'i>
impl<'i> Unpin for BasicParseError<'i>
impl<'i> UnwindSafe for BasicParseError<'i>
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