Struct gluon_base::error::Help [−][src]
pub struct Help<E, H> { pub error: E, pub help: Option<H>, }
Fields
error: E
help: Option<H>
Trait Implementations
impl<E: Debug, H: Debug> Debug for Help<E, H>
[src]
impl<E: Debug, H: Debug> Debug for Help<E, H>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<E: PartialEq, H: PartialEq> PartialEq for Help<E, H>
[src]
impl<E: PartialEq, H: PartialEq> PartialEq for Help<E, H>
fn eq(&self, other: &Help<E, H>) -> bool
[src]
fn eq(&self, other: &Help<E, H>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Help<E, H>) -> bool
[src]
fn ne(&self, other: &Help<E, H>) -> bool
This method tests for !=
.
impl<E, H> Display for Help<E, H> where
E: Display,
H: Display,
[src]
impl<E, H> Display for Help<E, H> where
E: Display,
H: Display,
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<E, H> From<E> for Help<E, H>
[src]
impl<E, H> From<E> for Help<E, H>
impl<E, H> AsDiagnostic for Help<E, H> where
E: AsDiagnostic,
H: Display,
[src]
impl<E, H> AsDiagnostic for Help<E, H> where
E: AsDiagnostic,
H: Display,
fn as_diagnostic(&self) -> Diagnostic
[src]
fn as_diagnostic(&self) -> Diagnostic