Enum git2::Delta [−][src]
pub enum Delta { Unmodified, Added, Deleted, Modified, Renamed, Copied, Ignored, Untracked, Typechange, Unreadable, Conflicted, }
Expand description
What type of change is described by a DiffDelta
?
Variants
Expand description
No changes
Expand description
Entry does not exist in old version
Expand description
Entry does not exist in new version
Expand description
Entry content changed between old and new
Expand description
Entry was renamed between old and new
Expand description
Entry was copied from another old entry
Expand description
Entry is ignored item in workdir
Expand description
Entry is untracked item in workdir
Expand description
Type of entry changed between old and new
Expand description
Entry is unreadable
Expand description
Entry in the index is conflicted
Trait Implementations
impl Copy for Delta
[src]
impl Eq for Delta
[src]
impl StructuralEq for Delta
[src]
impl StructuralPartialEq for Delta
[src]
Auto Trait Implementations
impl RefUnwindSafe for Delta
impl Send for Delta
impl Sync for Delta
impl Unpin for Delta
impl UnwindSafe for Delta
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more