pub enum CollapsedEntriesEmissionMode {
OnStatusMismatch,
All,
}
Expand description
The way entries that are contained in collapsed directories are emitted using the Delegate.
Variants§
OnStatusMismatch
Emit only entries if their status does not match the one of the parent directory that is going to be collapsed.
E.g. if a directory is determined to be untracked, and the entries in question are ignored, they will be emitted.
Entries that have the same status will essentially be ‘merged’ into the collapsing directory and won’t be observable anymore.
All
Emit all entries inside of a collapsed directory to make them observable.
Trait Implementations§
source§impl Clone for CollapsedEntriesEmissionMode
impl Clone for CollapsedEntriesEmissionMode
source§fn clone(&self) -> CollapsedEntriesEmissionMode
fn clone(&self) -> CollapsedEntriesEmissionMode
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 CollapsedEntriesEmissionMode
impl Debug for CollapsedEntriesEmissionMode
source§impl Default for CollapsedEntriesEmissionMode
impl Default for CollapsedEntriesEmissionMode
source§fn default() -> CollapsedEntriesEmissionMode
fn default() -> CollapsedEntriesEmissionMode
Returns the “default value” for a type. Read more
source§impl Hash for CollapsedEntriesEmissionMode
impl Hash for CollapsedEntriesEmissionMode
source§impl Ord for CollapsedEntriesEmissionMode
impl Ord for CollapsedEntriesEmissionMode
source§fn cmp(&self, other: &CollapsedEntriesEmissionMode) -> Ordering
fn cmp(&self, other: &CollapsedEntriesEmissionMode) -> 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 CollapsedEntriesEmissionMode
impl PartialEq for CollapsedEntriesEmissionMode
source§fn eq(&self, other: &CollapsedEntriesEmissionMode) -> bool
fn eq(&self, other: &CollapsedEntriesEmissionMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CollapsedEntriesEmissionMode
impl PartialOrd for CollapsedEntriesEmissionMode
source§fn partial_cmp(&self, other: &CollapsedEntriesEmissionMode) -> Option<Ordering>
fn partial_cmp(&self, other: &CollapsedEntriesEmissionMode) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for CollapsedEntriesEmissionMode
impl Eq for CollapsedEntriesEmissionMode
impl StructuralPartialEq for CollapsedEntriesEmissionMode
Auto Trait Implementations§
impl Freeze for CollapsedEntriesEmissionMode
impl RefUnwindSafe for CollapsedEntriesEmissionMode
impl Send for CollapsedEntriesEmissionMode
impl Sync for CollapsedEntriesEmissionMode
impl Unpin for CollapsedEntriesEmissionMode
impl UnwindSafe for CollapsedEntriesEmissionMode
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