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
sourceimpl<'a> SimpleDiff<'a>
impl<'a> SimpleDiff<'a>
Trait Implementations
Auto Trait Implementations
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
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