pub enum StepDifficulty {
Easy,
Medium,
Hard,
}Expand description
Step difficulty level.
Variants§
Trait Implementations§
Source§impl Clone for StepDifficulty
impl Clone for StepDifficulty
Source§fn clone(&self) -> StepDifficulty
fn clone(&self) -> StepDifficulty
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StepDifficulty
impl Debug for StepDifficulty
Source§impl<'de> Deserialize<'de> for StepDifficulty
impl<'de> Deserialize<'de> for StepDifficulty
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for StepDifficulty
impl PartialEq for StepDifficulty
Source§fn eq(&self, other: &StepDifficulty) -> bool
fn eq(&self, other: &StepDifficulty) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StepDifficulty
impl Serialize for StepDifficulty
impl Copy for StepDifficulty
impl Eq for StepDifficulty
impl StructuralPartialEq for StepDifficulty
Auto Trait Implementations§
impl Freeze for StepDifficulty
impl RefUnwindSafe for StepDifficulty
impl Send for StepDifficulty
impl Sync for StepDifficulty
impl Unpin for StepDifficulty
impl UnsafeUnpin for StepDifficulty
impl UnwindSafe for StepDifficulty
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