pub enum SortKey {
Catalog,
Title,
Artist,
Album,
Year,
Duration,
Size,
Rating,
Played,
}Expand description
What a result can be ordered on.
Variants§
Catalog
The order the catalog was built in, which groups an album together.
Title
Track title.
Artist
Main artist, by filing name. Uncredited tracks precede named artists in ascending order and follow them in descending order.
Album
Album title, then disc and track number.
Year
Year of the album.
Duration
Playing time.
Size
Size on disk.
Rating
Stars given to the track.
Played
How many times it was played.
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 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