pub struct TextRenderer;Expand description
Text renderer — preserves today’s UX as a no-op for the envelope.
Per-command text rendering is performed by the command itself through
the existing crate::cli::ui helpers. The text renderer’s
render_success is therefore a no-op; render_error is also a no-op
because main.rs already prints user_friendly_message() via
print_error in text mode.
Trait Implementations§
Source§impl Clone for TextRenderer
impl Clone for TextRenderer
Source§fn clone(&self) -> TextRenderer
fn clone(&self) -> TextRenderer
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TextRenderer
impl Debug for TextRenderer
Source§impl Default for TextRenderer
impl Default for TextRenderer
Source§fn default() -> TextRenderer
fn default() -> TextRenderer
Returns the “default value” for a type. Read more
Source§impl OutputRenderer for TextRenderer
impl OutputRenderer for TextRenderer
impl Copy for TextRenderer
Auto Trait Implementations§
impl Freeze for TextRenderer
impl RefUnwindSafe for TextRenderer
impl Send for TextRenderer
impl Sync for TextRenderer
impl Unpin for TextRenderer
impl UnsafeUnpin for TextRenderer
impl UnwindSafe for TextRenderer
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