pub enum DeleteRange {
Merged(Scope),
MergedLocal,
MergedRemote(Scope),
Stray,
Diverged(Scope),
Local,
Remote(Scope),
}Variants§
Implementations§
Source§impl DeleteRange
impl DeleteRange
pub fn merged_origin() -> Vec<Self>
Trait Implementations§
Source§impl Clone for DeleteRange
impl Clone for DeleteRange
Source§fn clone(&self) -> DeleteRange
fn clone(&self) -> DeleteRange
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 moreSource§impl Debug for DeleteRange
impl Debug for DeleteRange
Source§impl FromIterator<DeleteRange> for DeleteFilter
impl FromIterator<DeleteRange> for DeleteFilter
Source§fn from_iter<I>(iter: I) -> Selfwhere
I: IntoIterator<Item = DeleteRange>,
fn from_iter<I>(iter: I) -> Selfwhere
I: IntoIterator<Item = DeleteRange>,
Creates a value from an iterator. Read more
Source§impl FromStr for DeleteRange
impl FromStr for DeleteRange
Source§impl Hash for DeleteRange
impl Hash for DeleteRange
Source§impl PartialEq for DeleteRange
impl PartialEq for DeleteRange
Source§fn eq(&self, other: &DeleteRange) -> bool
fn eq(&self, other: &DeleteRange) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for DeleteRange
impl StructuralPartialEq for DeleteRange
Auto Trait Implementations§
impl Freeze for DeleteRange
impl RefUnwindSafe for DeleteRange
impl Send for DeleteRange
impl Sync for DeleteRange
impl Unpin for DeleteRange
impl UnsafeUnpin for DeleteRange
impl UnwindSafe for DeleteRange
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more