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>
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
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
)