pub enum ResourceKind {
CurrentOrOurs,
OtherOrTheirs,
CommonAncestorOrBase,
}
Expand description
A way to classify the side of a resource for merging.
Variants§
CurrentOrOurs
Our side of the state.
OtherOrTheirs
Their side of the state.
CommonAncestorOrBase
The state of the common base of both ours and theirs.
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 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
)