pub enum Item {
IndexWorktree(Item),
TreeIndex(Change),
}Available on crate feature
status only.Expand description
The item produced by the iterator.
Variants§
IndexWorktree(Item)
A change between the index and the worktree.
Note that untracked changes are also collected here.
TreeIndex(Change)
A change between the three of HEAD and the index.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Item
Auto Trait Implementations§
impl Freeze for Item
impl RefUnwindSafe for Item
impl Send for Item
impl Sync for Item
impl Unpin for Item
impl UnwindSafe for Item
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