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