#[repr(u32)]pub enum SortKey {
Name = 0,
Size = 1,
Mtime = 2,
}Expand description
Which result column results are ordered by (FmfQueryOptions.sort_key).
Variants§
Name = 0
Sort by file name.
Size = 1
Sort by file size in bytes.
Mtime = 2
Sort by last-modified time.
Implementations§
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