#[repr(i32)]pub enum Skill {
NoItems = -1,
Baby = 0,
Easy = 1,
Medium = 2,
Hard = 3,
Nightmare = 4,
}
Variants§
Trait Implementations§
source§impl PartialEq for Skill
impl PartialEq for Skill
source§impl PartialOrd for Skill
impl PartialOrd for Skill
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Skill
impl StructuralPartialEq for Skill
Auto Trait Implementations§
impl RefUnwindSafe for Skill
impl Send for Skill
impl Sync for Skill
impl Unpin for Skill
impl UnwindSafe for Skill
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