pub enum CodeDiffChangeType {
Added,
Removed,
Modified,
}Expand description
The type of change in a diff.
Variants§
Trait Implementations§
Source§impl Clone for CodeDiffChangeType
impl Clone for CodeDiffChangeType
Source§fn clone(&self) -> CodeDiffChangeType
fn clone(&self) -> CodeDiffChangeType
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 moreimpl Copy for CodeDiffChangeType
Source§impl Debug for CodeDiffChangeType
impl Debug for CodeDiffChangeType
Source§impl Display for CodeDiffChangeType
impl Display for CodeDiffChangeType
impl Eq for CodeDiffChangeType
Source§impl PartialEq for CodeDiffChangeType
impl PartialEq for CodeDiffChangeType
Source§fn eq(&self, other: &CodeDiffChangeType) -> bool
fn eq(&self, other: &CodeDiffChangeType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CodeDiffChangeType
Auto Trait Implementations§
impl Freeze for CodeDiffChangeType
impl RefUnwindSafe for CodeDiffChangeType
impl Send for CodeDiffChangeType
impl Sync for CodeDiffChangeType
impl Unpin for CodeDiffChangeType
impl UnsafeUnpin for CodeDiffChangeType
impl UnwindSafe for CodeDiffChangeType
Blanket Implementations§
impl<T> Allocation for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.