Enum rg::args::SortByKind
source · enum SortByKind {
None,
Path,
LastModified,
LastAccessed,
Created,
}
Variants§
None
No sorting at all.
Path
Sort by path.
LastModified
Sort by last modified time.
LastAccessed
Sort by last accessed time.
Created
Sort by creation time.
Implementations§
source§impl SortByKind
impl SortByKind
fn new(kind: &str) -> SortByKind
Trait Implementations§
source§impl Clone for SortByKind
impl Clone for SortByKind
source§fn clone(&self) -> SortByKind
fn clone(&self) -> SortByKind
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 SortByKind
impl Debug for SortByKind
source§impl PartialEq<SortByKind> for SortByKind
impl PartialEq<SortByKind> for SortByKind
source§fn eq(&self, other: &SortByKind) -> bool
fn eq(&self, other: &SortByKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SortByKind
impl Eq for SortByKind
impl StructuralEq for SortByKind
impl StructuralPartialEq for SortByKind
Auto Trait Implementations§
impl RefUnwindSafe for SortByKind
impl Send for SortByKind
impl Sync for SortByKind
impl Unpin for SortByKind
impl UnwindSafe for SortByKind
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