pub struct TextRenderer;Expand description
Plain text renderer for terminal output.
Trait Implementations§
Source§impl Renderer for TextRenderer
impl Renderer for TextRenderer
Source§impl SummaryRenderer for TextRenderer
impl SummaryRenderer for TextRenderer
Source§fn render_summary<W: Write>(
&self,
diff: &Diff,
opts: &RenderOptions,
writer: &mut W,
) -> Result<()>
fn render_summary<W: Write>( &self, diff: &Diff, opts: &RenderOptions, writer: &mut W, ) -> Result<()>
Writes a summary-only view of the diff to the provided writer.
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