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
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for CollapsedEntriesEmissionMode
impl PartialOrd for CollapsedEntriesEmissionMode
impl 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