Enum azalea_core::Difficulty
source · pub enum Difficulty {
PEACEFUL,
EASY,
NORMAL,
HARD,
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for Difficulty
impl Clone for Difficulty
source§fn clone(&self) -> Difficulty
fn clone(&self) -> Difficulty
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 Difficulty
impl Debug for Difficulty
source§impl Hash for Difficulty
impl Hash for Difficulty
source§impl McBufReadable for Difficulty
impl McBufReadable for Difficulty
source§impl McBufWritable for Difficulty
impl McBufWritable for Difficulty
source§impl PartialEq<Difficulty> for Difficulty
impl PartialEq<Difficulty> for Difficulty
source§fn eq(&self, other: &Difficulty) -> bool
fn eq(&self, other: &Difficulty) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Difficulty
impl Eq for Difficulty
impl StructuralEq for Difficulty
impl StructuralPartialEq for Difficulty
Auto Trait Implementations§
impl RefUnwindSafe for Difficulty
impl Send for Difficulty
impl Sync for Difficulty
impl Unpin for Difficulty
impl UnwindSafe for Difficulty
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