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§impl Serialize for AttackInfo
impl Serialize for AttackInfo
impl StructuralPartialEq for AttackInfo
Auto Trait Implementations§
impl Freeze for AttackInfo
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