pub struct ClassStats {
pub hp: u32,
pub mp: u32,
pub atk: u32,
pub def: u32,
pub spd: u32,
}Fields§
§hp: u32§mp: u32§atk: u32§def: u32§spd: u32Trait Implementations§
Source§impl Clone for ClassStats
impl Clone for ClassStats
Source§fn clone(&self) -> ClassStats
fn clone(&self) -> ClassStats
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 moreAuto Trait Implementations§
impl Freeze for ClassStats
impl RefUnwindSafe for ClassStats
impl Send for ClassStats
impl Sync for ClassStats
impl Unpin for ClassStats
impl UnsafeUnpin for ClassStats
impl UnwindSafe for ClassStats
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