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 copy 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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)