Struct similar_asserts::SimpleDiff
source · pub struct SimpleDiff<'a> { /* private fields */ }
Expand description
A console printable diff.
The Display
implementation of this type renders out a
diff with ANSI markers so it creates a nice colored diff. This can be used to
build your own custom assertions in addition to the ones from this crate.
It does not provide much customization beyond what’s possible done by default.
Implementations§
source§impl<'a> SimpleDiff<'a>
impl<'a> SimpleDiff<'a>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for SimpleDiff<'a>
impl<'a> RefUnwindSafe for SimpleDiff<'a>
impl<'a> Send for SimpleDiff<'a>
impl<'a> Sync for SimpleDiff<'a>
impl<'a> Unpin for SimpleDiff<'a>
impl<'a> UnwindSafe for SimpleDiff<'a>
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