Struct rpgstat::stats::Basic [−][src]
pub struct Basic<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> {
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,
}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
Implementations
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for Basic<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Basic<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more