Struct gluon_base::error::Help
source · pub struct Help<E, H> {
pub error: E,
pub help: Option<H>,
}
Fields§
§error: E
§help: Option<H>
Trait Implementations§
source§impl<E, H> AsDiagnostic for Help<E, H>where
E: AsDiagnostic,
H: Display,
impl<E, H> AsDiagnostic for Help<E, H>where
E: AsDiagnostic,
H: Display,
fn as_diagnostic(&self, map: &CodeMap) -> Diagnostic<FileId>
source§impl<E: PartialEq, H: PartialEq> PartialEq for Help<E, H>
impl<E: PartialEq, H: PartialEq> PartialEq for Help<E, H>
impl<E: Eq, H: Eq> Eq for Help<E, H>
impl<E, H> StructuralEq for Help<E, H>
impl<E, H> StructuralPartialEq for Help<E, H>
Auto Trait Implementations§
impl<E, H> RefUnwindSafe for Help<E, H>where
E: RefUnwindSafe,
H: RefUnwindSafe,
impl<E, H> Send for Help<E, H>
impl<E, H> Sync for Help<E, H>
impl<E, H> Unpin for Help<E, H>
impl<E, H> UnwindSafe for Help<E, H>where
E: UnwindSafe,
H: 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