pub struct Change { /* private fields */ }Expand description
One source change between a base ref and the current worktree.
Implementations§
Source§impl Change
impl Change
pub fn current_path(&self) -> &Path
pub fn base_path(&self) -> &Path
pub const fn current_exists(&self) -> bool
pub const fn base_exists(&self) -> bool
Trait Implementations§
impl Eq for Change
impl StructuralPartialEq for Change
Auto Trait Implementations§
impl Freeze for Change
impl RefUnwindSafe for Change
impl Send for Change
impl Sync for Change
impl Unpin for Change
impl UnsafeUnpin for Change
impl UnwindSafe for Change
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