Struct rpgstat::stats::Normal [−][src]
pub struct Normal<T: Copy + Default + AddAssign + Add<Output = T> + Div<Output = T> + DivAssign + Mul<Output = T> + MulAssign + Neg<Output = T> + Rem<Output = T> + RemAssign + Sub<Output = T> + SubAssign + PartialOrd + NumCast> {Show 14 fields
pub id: T,
pub xp: T,
pub hp: T,
pub mp: T,
pub xp_next: T,
pub hp_max: T,
pub mp_max: T,
pub level: T,
pub speed: T,
pub gp: T,
pub atk: T,
pub def: T,
pub m_atk: T,
pub m_def: T,
}Fields
id: TIdentification Number
xp: TExperience Points
hp: THealth Points
mp: TMana Points
xp_next: TExperience Points multiplier for next level
hp_max: TMax Health Points
mp_max: TMax Mana Points
level: TCurrent Level
speed: TThe speed
gp: Tyour currency points
atk: TAttack
def: TDefense
m_atk: TMana Attack
m_def: TMana Defense
Implementations
Make a Normal Stat from an Animal
Create a Normal Stat from a Normal Class
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for Normal<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Normal<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more