pub struct DeleteFilter(/* private fields */);
Implementations§
Source§impl DeleteFilter
impl DeleteFilter
pub fn scan_tracking(&self) -> bool
pub fn scan_non_tracking_local(&self) -> bool
pub fn scan_non_upstream_remote(&self, remote: &str) -> bool
pub fn delete_merged_local(&self) -> bool
pub fn delete_merged_remote(&self, remote: &str) -> bool
pub fn delete_stray(&self) -> bool
pub fn delete_diverged(&self, remote: &str) -> bool
pub fn delete_merged_non_tracking_local(&self) -> bool
pub fn delete_merged_non_upstream_remote_tracking(&self, remote: &str) -> bool
Trait Implementations§
Source§impl Clone for DeleteFilter
impl Clone for DeleteFilter
Source§fn clone(&self) -> DeleteFilter
fn clone(&self) -> DeleteFilter
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 DeleteFilter
impl Debug for DeleteFilter
Source§impl Default for DeleteFilter
impl Default for DeleteFilter
Source§fn default() -> DeleteFilter
fn default() -> DeleteFilter
Returns the “default value” for a type. Read more
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 FromIterator<DeleteUnit> for DeleteFilter
impl FromIterator<DeleteUnit> for DeleteFilter
Source§fn from_iter<I>(iter: I) -> Selfwhere
I: IntoIterator<Item = DeleteUnit>,
fn from_iter<I>(iter: I) -> Selfwhere
I: IntoIterator<Item = DeleteUnit>,
Creates a value from an iterator. Read more
Source§impl PartialEq for DeleteFilter
impl PartialEq for DeleteFilter
impl Eq for DeleteFilter
impl StructuralPartialEq for DeleteFilter
Auto Trait Implementations§
impl Freeze for DeleteFilter
impl RefUnwindSafe for DeleteFilter
impl Send for DeleteFilter
impl Sync for DeleteFilter
impl Unpin for DeleteFilter
impl UnwindSafe for DeleteFilter
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