pub struct EnemyEvolutionMapSettings {
pub destroy_factor: f64,
pub enabled: bool,
pub pollution_factor: f64,
pub time_factor: f64,
}Expand description
These values represent a percentual increase in evolution. This means a value of 0.1 would increase evolution by 10%.
Fields§
§destroy_factor: f64§enabled: bool§pollution_factor: f64§time_factor: f64Trait Implementations§
Source§impl Clone for EnemyEvolutionMapSettings
impl Clone for EnemyEvolutionMapSettings
Source§fn clone(&self) -> EnemyEvolutionMapSettings
fn clone(&self) -> EnemyEvolutionMapSettings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EnemyEvolutionMapSettings
Source§impl Debug for EnemyEvolutionMapSettings
impl Debug for EnemyEvolutionMapSettings
Source§impl Default for EnemyEvolutionMapSettings
impl Default for EnemyEvolutionMapSettings
Source§fn default() -> EnemyEvolutionMapSettings
fn default() -> EnemyEvolutionMapSettings
Returns the “default value” for a type. Read more
impl StructuralPartialEq for EnemyEvolutionMapSettings
Auto Trait Implementations§
impl Freeze for EnemyEvolutionMapSettings
impl RefUnwindSafe for EnemyEvolutionMapSettings
impl Send for EnemyEvolutionMapSettings
impl Sync for EnemyEvolutionMapSettings
impl Unpin for EnemyEvolutionMapSettings
impl UnsafeUnpin for EnemyEvolutionMapSettings
impl UnwindSafe for EnemyEvolutionMapSettings
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