Struct tui_markup::generator::helper::GeneratorInfallible
source · [−]pub struct GeneratorInfallible;Expand description
Error type for infallible generator.
You should never return (even construct) this error if choose this as the Error type of your Generator.
Trait Implementations
sourceimpl Clone for GeneratorInfallible
impl Clone for GeneratorInfallible
sourcefn clone(&self) -> GeneratorInfallible
fn clone(&self) -> GeneratorInfallible
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 Debug for GeneratorInfallible
impl Debug for GeneratorInfallible
sourceimpl Display for GeneratorInfallible
impl Display for GeneratorInfallible
sourceimpl Error for GeneratorInfallible
impl Error for GeneratorInfallible
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl<'a> From<GeneratorInfallible> for Error<'a, GeneratorInfallible>
impl<'a> From<GeneratorInfallible> for Error<'a, GeneratorInfallible>
sourcefn from(_e: GeneratorInfallible) -> Self
fn from(_e: GeneratorInfallible) -> Self
Converts to this type from the input type.
sourceimpl LocatedError for GeneratorInfallible
impl LocatedError for GeneratorInfallible
impl Copy for GeneratorInfallible
impl Eq for GeneratorInfallible
impl StructuralEq for GeneratorInfallible
impl StructuralPartialEq for GeneratorInfallible
Auto Trait Implementations
impl RefUnwindSafe for GeneratorInfallible
impl Send for GeneratorInfallible
impl Sync for GeneratorInfallible
impl Unpin for GeneratorInfallible
impl UnwindSafe for GeneratorInfallible
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