Enum speedrun_api::api::games::LevelsSorting
source · [−]pub enum LevelsSorting {
Name,
Pos,
}Expand description
Sorting options for levels
Variants
Name
Sorts alphanumerically by the level name
Pos
Sorts by the order defined by the game moderator (default)
Trait Implementations
sourceimpl Clone for LevelsSorting
impl Clone for LevelsSorting
sourcefn clone(&self) -> LevelsSorting
fn clone(&self) -> LevelsSorting
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for LevelsSorting
impl Debug for LevelsSorting
sourceimpl Default for LevelsSorting
impl Default for LevelsSorting
sourceimpl Serialize for LevelsSorting
impl Serialize for LevelsSorting
impl Copy for LevelsSorting
Auto Trait Implementations
impl RefUnwindSafe for LevelsSorting
impl Send for LevelsSorting
impl Sync for LevelsSorting
impl Unpin for LevelsSorting
impl UnwindSafe for LevelsSorting
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more