Struct arelith::AttackInfo
source · pub struct AttackInfo {
pub ab: i32,
pub type_: AttackType,
}Fields§
§ab: i32§type_: AttackTypeImplementations§
source§impl AttackInfo
impl AttackInfo
pub fn new(ab: i32, type_: AttackType) -> Self
Trait Implementations§
source§impl Debug for AttackInfo
impl Debug for AttackInfo
source§impl<'de> Deserialize<'de> for AttackInfo
impl<'de> Deserialize<'de> for AttackInfo
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 AttackInfo
impl PartialEq for AttackInfo
source§fn eq(&self, other: &AttackInfo) -> bool
fn eq(&self, other: &AttackInfo) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for AttackInfo
impl Serialize for AttackInfo
impl StructuralPartialEq for AttackInfo
Auto Trait Implementations§
impl RefUnwindSafe for AttackInfo
impl Send for AttackInfo
impl Sync for AttackInfo
impl Unpin for AttackInfo
impl UnwindSafe for AttackInfo
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