pub enum ResourceKind {
    OldOrSource,
    NewOrDestination,
}Available on crate feature 
blob only.Expand description
A way to classify a resource suitable for diffing.
Variants§
OldOrSource
The source of a rewrite, rename or copy operation, or generally the old version of a resource.
NewOrDestination
The destination of a rewrite, rename or copy operation, or generally the new version of a resource.
Trait Implementations§
Source§impl Clone for ResourceKind
 
impl Clone for ResourceKind
Source§fn clone(&self) -> ResourceKind
 
fn clone(&self) -> ResourceKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for ResourceKind
 
impl Debug for ResourceKind
Source§impl Display for ResourceKind
 
impl Display for ResourceKind
Source§impl Hash for ResourceKind
 
impl Hash for ResourceKind
Source§impl Ord for ResourceKind
 
impl Ord for ResourceKind
Source§fn cmp(&self, other: &ResourceKind) -> Ordering
 
fn cmp(&self, other: &ResourceKind) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
    Self: Sized,
 
fn max(self, other: Self) -> Selfwhere
    Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ResourceKind
 
impl PartialEq for ResourceKind
Source§impl PartialOrd for ResourceKind
 
impl PartialOrd for ResourceKind
impl Copy for ResourceKind
impl Eq for ResourceKind
impl StructuralPartialEq for ResourceKind
Auto Trait Implementations§
impl Freeze for ResourceKind
impl RefUnwindSafe for ResourceKind
impl Send for ResourceKind
impl Sync for ResourceKind
impl Unpin for ResourceKind
impl UnwindSafe for ResourceKind
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
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
Source§impl<Q, K> Comparable<K> for Q
 
impl<Q, K> Comparable<K> for Q
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.