pub struct Diff<'src, 'fmt> { /* private fields */ }
Expand description
Created from two different strings. Presents the difference when formatted.
Implementations
Trait Implementations
Auto Trait Implementations
impl<'src, 'fmt> RefUnwindSafe for Diff<'src, 'fmt>
impl<'src, 'fmt> Send for Diff<'src, 'fmt>
impl<'src, 'fmt> Sync for Diff<'src, 'fmt>
impl<'src, 'fmt> Unpin for Diff<'src, 'fmt>
impl<'src, 'fmt> UnwindSafe for Diff<'src, 'fmt>
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