pub struct PowerTypeProps {
pub display_modifier: f64,
pub max_base_power: f64,
pub default_power: f64,
pub regen_combat: f64,
pub regen_percent_of_max: f64,
pub auto_attack_gain_percent: f64,
pub cost_percent: f64,
}Expand description
Power-type properties resolved from game.power_types, keyed by power_type_enum.
Fields§
§display_modifier: f64§max_base_power: f64§default_power: f64§regen_combat: f64§regen_percent_of_max: f64§auto_attack_gain_percent: f64§cost_percent: f64Trait Implementations§
Source§impl Clone for PowerTypeProps
impl Clone for PowerTypeProps
Source§fn clone(&self) -> PowerTypeProps
fn clone(&self) -> PowerTypeProps
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 moreSource§impl Debug for PowerTypeProps
impl Debug for PowerTypeProps
Source§impl Default for PowerTypeProps
impl Default for PowerTypeProps
Source§fn default() -> PowerTypeProps
fn default() -> PowerTypeProps
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PowerTypeProps
impl RefUnwindSafe for PowerTypeProps
impl Send for PowerTypeProps
impl Sync for PowerTypeProps
impl Unpin for PowerTypeProps
impl UnsafeUnpin for PowerTypeProps
impl UnwindSafe for PowerTypeProps
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