pub enum SortKey {
Name,
Files,
Lines,
Tests,
}Expand description
Sort key for crates and, within each crate, its modules.
Variants§
Name
By name, ascending (the default).
Files
By file count, largest first.
Lines
By line count, largest first.
Tests
By heuristic test count, largest first.
Trait Implementations§
impl Copy for SortKey
impl Eq for SortKey
impl StructuralPartialEq for SortKey
Auto Trait Implementations§
impl Freeze for SortKey
impl RefUnwindSafe for SortKey
impl Send for SortKey
impl Sync for SortKey
impl Unpin for SortKey
impl UnsafeUnpin for SortKey
impl UnwindSafe for SortKey
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