pub struct Diff { /* private fields */ }Implementations§
source§impl Diff
impl Diff
pub fn longest_diff_len(&self) -> usize
pub fn old_diff(&self) -> &[DiffLine]
pub fn current_diff(&self) -> &[DiffLine]
pub fn largest_line_number_char_len(&self) -> u16
pub fn parse_diff(diff_string: &str) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Diff
impl RefUnwindSafe for Diff
impl Send for Diff
impl Sync for Diff
impl Unpin for Diff
impl UnwindSafe for Diff
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