pub struct LineChange {
pub rev: u64,
pub first: usize,
pub old: usize,
pub new: usize,
}Expand description
a change of the lines: first .. first + old became first .. first + new (at revision rev)
Fields§
§rev: u64§first: usize§old: usize§new: usizeTrait Implementations§
Source§impl Clone for LineChange
impl Clone for LineChange
impl Copy for LineChange
Source§impl Debug for LineChange
impl Debug for LineChange
Source§impl PartialEq for LineChange
impl PartialEq for LineChange
impl StructuralPartialEq for LineChange
Auto Trait Implementations§
impl Forget for LineChange
impl Freeze for LineChange
impl RefUnwindSafe for LineChange
impl Send for LineChange
impl Sync for LineChange
impl Unpin for LineChange
impl UnsafeUnpin for LineChange
impl UnwindSafe for LineChange
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