pub enum Sort {
None,
Count,
Date,
Size,
TypeDirsFirst,
TypeDirsLast,
}
Expand description
A sort key. A non None sort mode implies only one level of the tree is displayed. When in None mode, paths are alpha sorted
Variants
None
Count
Date
Size
TypeDirsFirst
TypeDirsLast
Implementations
sourceimpl Sort
impl Sort
pub fn prevent_deep_display(self) -> bool
Trait Implementations
impl Copy for Sort
impl StructuralPartialEq for Sort
Auto Trait Implementations
impl RefUnwindSafe for Sort
impl Send for Sort
impl Sync for Sort
impl Unpin for Sort
impl UnwindSafe for Sort
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more