Struct cssparser::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
sourceimpl<'i> Clone for BasicParseError<'i>
impl<'i> Clone for BasicParseError<'i>
sourcefn clone(&self) -> BasicParseError<'i>
fn clone(&self) -> BasicParseError<'i>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'i> Debug for BasicParseError<'i>
impl<'i> Debug for BasicParseError<'i>
sourceimpl<'i, T> From<BasicParseError<'i>> for ParseError<'i, T>
impl<'i, T> From<BasicParseError<'i>> for ParseError<'i, T>
sourcefn from(this: BasicParseError<'i>) -> ParseError<'i, T>
fn from(this: BasicParseError<'i>) -> ParseError<'i, T>
Converts to this type from the input type.
sourceimpl<'i> PartialEq<BasicParseError<'i>> for BasicParseError<'i>
impl<'i> PartialEq<BasicParseError<'i>> for BasicParseError<'i>
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &BasicParseError<'i>) -> bool
fn ne(&self, other: &BasicParseError<'i>) -> bool
This method tests for !=
.
impl<'i> StructuralPartialEq for BasicParseError<'i>
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more