Struct parcel_css::error::ErrorWithLocation
source · [−]pub struct ErrorWithLocation<T> {
pub kind: T,
pub loc: Location,
}
Fields
kind: T
loc: Location
Trait Implementations
sourceimpl<T: Debug> Debug for ErrorWithLocation<T>
impl<T: Debug> Debug for ErrorWithLocation<T>
sourceimpl<T: PartialEq> PartialEq<ErrorWithLocation<T>> for ErrorWithLocation<T>
impl<T: PartialEq> PartialEq<ErrorWithLocation<T>> for ErrorWithLocation<T>
sourcefn eq(&self, other: &ErrorWithLocation<T>) -> bool
fn eq(&self, other: &ErrorWithLocation<T>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ErrorWithLocation<T>) -> bool
fn ne(&self, other: &ErrorWithLocation<T>) -> bool
This method tests for !=
.
impl<T> StructuralPartialEq for ErrorWithLocation<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for ErrorWithLocation<T> where
T: RefUnwindSafe,
impl<T> Send for ErrorWithLocation<T> where
T: Send,
impl<T> Sync for ErrorWithLocation<T> where
T: Sync,
impl<T> Unpin for ErrorWithLocation<T> where
T: Unpin,
impl<T> UnwindSafe for ErrorWithLocation<T> where
T: UnwindSafe,
Blanket Implementations
impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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