#[repr(u8)]pub enum AttackType {
Melee = 1,
Ranged = 2,
RangedMass = 3,
Dismantle = 4,
HitBack = 5,
Nuke = 6,
}
Variants§
Trait Implementations§
Source§impl Clone for AttackType
impl Clone for AttackType
Source§fn clone(&self) -> AttackType
fn clone(&self) -> AttackType
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 AttackType
impl Debug for AttackType
Source§impl<'de> Deserialize<'de> for AttackType
impl<'de> Deserialize<'de> for AttackType
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 AttackType
impl PartialEq for AttackType
Source§impl Serialize for AttackType
impl Serialize for AttackType
impl Eq for AttackType
impl StructuralPartialEq for AttackType
Auto Trait Implementations§
impl Freeze for AttackType
impl RefUnwindSafe for AttackType
impl Send for AttackType
impl Sync for AttackType
impl Unpin for AttackType
impl UnwindSafe for AttackType
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