Enum arelith::AttackType
source · pub enum AttackType {
MainHand,
OffHand,
Extra,
}Variants§
Trait Implementations§
source§impl Clone for AttackType
impl Clone for AttackType
source§fn clone(&self) -> AttackType
fn clone(&self) -> AttackType
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 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 Display for AttackType
impl Display for AttackType
source§impl PartialEq for AttackType
impl PartialEq for AttackType
source§fn eq(&self, other: &AttackType) -> bool
fn eq(&self, other: &AttackType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for AttackType
impl Serialize for AttackType
impl Copy for AttackType
impl StructuralPartialEq for AttackType
Auto Trait Implementations§
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