#[repr(u8)]pub enum AttackSpeed {
SuperFast = 0,
VeryFast = 1,
Fast = 2,
Normal = 3,
Slow = 4,
VerySlow = 5,
SuperSlow = 6,
}
Variants§
Trait Implementations§
Source§impl Clone for AttackSpeed
impl Clone for AttackSpeed
Source§fn clone(&self) -> AttackSpeed
fn clone(&self) -> AttackSpeed
Returns a duplicate 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 AttackSpeed
impl Debug for AttackSpeed
Source§impl From<AttackSpeed> for u8
impl From<AttackSpeed> for u8
Source§fn from(value: AttackSpeed) -> Self
fn from(value: AttackSpeed) -> Self
Converts to this type from the input type.
Source§impl Hash for AttackSpeed
impl Hash for AttackSpeed
Source§impl Ord for AttackSpeed
impl Ord for AttackSpeed
Source§impl PartialEq for AttackSpeed
impl PartialEq for AttackSpeed
Source§impl PartialOrd for AttackSpeed
impl PartialOrd for AttackSpeed
Source§impl TryFrom<u8> for AttackSpeed
impl TryFrom<u8> for AttackSpeed
impl Copy for AttackSpeed
impl Eq for AttackSpeed
impl StructuralPartialEq for AttackSpeed
Auto Trait Implementations§
impl Freeze for AttackSpeed
impl RefUnwindSafe for AttackSpeed
impl Send for AttackSpeed
impl Sync for AttackSpeed
impl Unpin for AttackSpeed
impl UnwindSafe for AttackSpeed
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