pub struct HistoryChange { /* private fields */ }Expand description
One file change in a non-merge commit.
Implementations§
Source§impl HistoryChange
impl HistoryChange
pub fn path(&self) -> &Path
pub fn previous_path(&self) -> Option<&Path>
pub const fn added_lines(&self) -> Option<u32>
pub const fn deleted_lines(&self) -> Option<u32>
Trait Implementations§
Source§impl Clone for HistoryChange
impl Clone for HistoryChange
Source§impl Debug for HistoryChange
impl Debug for HistoryChange
impl Eq for HistoryChange
Source§impl PartialEq for HistoryChange
impl PartialEq for HistoryChange
impl StructuralPartialEq for HistoryChange
Auto Trait Implementations§
impl Freeze for HistoryChange
impl RefUnwindSafe for HistoryChange
impl Send for HistoryChange
impl Sync for HistoryChange
impl Unpin for HistoryChange
impl UnsafeUnpin for HistoryChange
impl UnwindSafe for HistoryChange
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