Struct clap::error::RichFormatter
source · [−]#[non_exhaustive]pub struct RichFormatter;
Expand description
Richly formatted error context
Trait Implementations
sourceimpl ErrorFormatter for RichFormatter
impl ErrorFormatter for RichFormatter
sourcefn format_error(error: &Error<Self>) -> StyledStr
fn format_error(error: &Error<Self>) -> StyledStr
Stylize the error for the terminal
Auto Trait Implementations
impl RefUnwindSafe for RichFormatter
impl Send for RichFormatter
impl Sync for RichFormatter
impl Unpin for RichFormatter
impl UnwindSafe for RichFormatter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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