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
No changes
Entry does not exist in old version
Entry does not exist in new version
Entry content changed between old and new
Entry was renamed between old and new
Entry was copied from another old entry
Entry is ignored item in workdir
Entry is untracked item in workdir
Type of entry changed between old and new
Entry is unreadable
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