pub struct BattleStats {
pub strength: i64,
pub defense: i64,
pub speed: i64,
pub dexterity: i64,
pub total: i64,
}
Fields§
§strength: i64
§defense: i64
§speed: i64
§dexterity: i64
§total: i64
Trait Implementations§
Source§impl Clone for BattleStats
impl Clone for BattleStats
Source§fn clone(&self) -> BattleStats
fn clone(&self) -> BattleStats
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 BattleStats
impl Debug for BattleStats
Source§impl<'de> Deserialize<'de> for BattleStats
impl<'de> Deserialize<'de> for BattleStats
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 BattleStats
impl PartialEq for BattleStats
impl StructuralPartialEq for BattleStats
Auto Trait Implementations§
impl Freeze for BattleStats
impl RefUnwindSafe for BattleStats
impl Send for BattleStats
impl Sync for BattleStats
impl Unpin for BattleStats
impl UnwindSafe for BattleStats
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