pub struct WorktreeChange {
pub path: PathBuf,
pub status: FileStatus,
}Expand description
A change in the worktree.
Fields§
§path: PathBufPath relative to repository root.
status: FileStatusStatus of the file.
Trait Implementations§
Source§impl Clone for WorktreeChange
impl Clone for WorktreeChange
Source§fn clone(&self) -> WorktreeChange
fn clone(&self) -> WorktreeChange
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for WorktreeChange
impl RefUnwindSafe for WorktreeChange
impl Send for WorktreeChange
impl Sync for WorktreeChange
impl Unpin for WorktreeChange
impl UnsafeUnpin for WorktreeChange
impl UnwindSafe for WorktreeChange
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