pub enum VariablesSorting {
Name,
Mandatory,
UserDefined,
Pos,
}
Expand description
Sorting options for variables
Variants§
Name
Sorts alphanumerically by the variable name
Mandatory
Sorts by mandatory
flag
UserDefined
Sorts by user-defined
flag
Pos
Sorts by the order defined by the game moderator (default)
Trait Implementations§
Source§impl Clone for VariablesSorting
impl Clone for VariablesSorting
Source§fn clone(&self) -> VariablesSorting
fn clone(&self) -> VariablesSorting
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 VariablesSorting
impl Debug for VariablesSorting
Source§impl Default for VariablesSorting
impl Default for VariablesSorting
Source§impl Serialize for VariablesSorting
impl Serialize for VariablesSorting
impl Copy for VariablesSorting
Auto Trait Implementations§
impl Freeze for VariablesSorting
impl RefUnwindSafe for VariablesSorting
impl Send for VariablesSorting
impl Sync for VariablesSorting
impl Unpin for VariablesSorting
impl UnwindSafe for VariablesSorting
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