pub struct SelectionDecision { /* private fields */ }Expand description
A complete, typed selection result.
Implementations§
Source§impl SelectionDecision
impl SelectionDecision
Sourcepub const fn disposition(self) -> SelectionDisposition
pub const fn disposition(self) -> SelectionDisposition
Returns the final entry disposition.
Sourcepub const fn repository_match(self) -> RepositoryMatch
pub const fn repository_match(self) -> RepositoryMatch
Returns the winning repository/override decision, when it was reached.
Sourcepub const fn is_selected(self) -> bool
pub const fn is_selected(self) -> bool
Returns whether this entry is a selected regular file.
Sourcepub const fn should_descend(self) -> bool
pub const fn should_descend(self) -> bool
Returns whether traversal should descend into this directory.
Trait Implementations§
Source§impl Clone for SelectionDecision
impl Clone for SelectionDecision
Source§fn clone(&self) -> SelectionDecision
fn clone(&self) -> SelectionDecision
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 moreimpl Copy for SelectionDecision
Source§impl Debug for SelectionDecision
impl Debug for SelectionDecision
impl Eq for SelectionDecision
Source§impl PartialEq for SelectionDecision
impl PartialEq for SelectionDecision
impl StructuralPartialEq for SelectionDecision
Auto Trait Implementations§
impl Freeze for SelectionDecision
impl RefUnwindSafe for SelectionDecision
impl Send for SelectionDecision
impl Sync for SelectionDecision
impl Unpin for SelectionDecision
impl UnsafeUnpin for SelectionDecision
impl UnwindSafe for SelectionDecision
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