pub struct BaseStats {
pub stats: CombatStats,
pub primary_attribute: Option<Attribute>,
pub base_regen: f64,
pub resource_max: f64,
pub resource_start: f64,
pub resource_name: String,
pub has_pet: bool,
pub secondary_resource_name: Option<String>,
pub secondary_resource_max: f64,
pub resource_type: Option<ResourceType>,
pub secondary_resource_type: Option<ResourceType>,
pub swing_resource_gain_mult: f64,
}Expand description
Base stats that remain constant within a single simulation iteration.
Fields§
§stats: CombatStats§primary_attribute: Option<Attribute>§base_regen: f64§resource_max: f64§resource_start: f64§resource_name: String§has_pet: bool§secondary_resource_name: Option<String>§secondary_resource_max: f64§resource_type: Option<ResourceType>§secondary_resource_type: Option<ResourceType>§swing_resource_gain_mult: f64Trait Implementations§
Auto Trait Implementations§
impl Freeze for BaseStats
impl RefUnwindSafe for BaseStats
impl Send for BaseStats
impl Sync for BaseStats
impl Unpin for BaseStats
impl UnsafeUnpin for BaseStats
impl UnwindSafe for BaseStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more