pub struct PollutionMapSettings {
pub ageing: f64,
pub diffusion_ratio: f64,
pub enabled: bool,
pub enemy_attack_pollution_consumption_modifier: f64,
pub expected_max_per_chunk: f64,
pub max_pollution_to_restore_trees: f64,
pub min_pollution_to_damage_trees: f64,
pub min_to_diffuse: f64,
pub min_to_show_per_chunk: f64,
pub pollution_per_tree_damage: f64,
pub pollution_restored_per_tree_damage: f64,
pub pollution_with_max_forest_damage: f64,
}Expand description
These values are for the time frame of one second (60 ticks).
Fields§
§ageing: f64§diffusion_ratio: f64§enabled: bool§enemy_attack_pollution_consumption_modifier: f64§expected_max_per_chunk: f64§max_pollution_to_restore_trees: f64§min_pollution_to_damage_trees: f64§min_to_diffuse: f64§min_to_show_per_chunk: f64§pollution_per_tree_damage: f64§pollution_restored_per_tree_damage: f64§pollution_with_max_forest_damage: f64Trait Implementations§
Source§impl Clone for PollutionMapSettings
impl Clone for PollutionMapSettings
Source§fn clone(&self) -> PollutionMapSettings
fn clone(&self) -> PollutionMapSettings
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 PollutionMapSettings
Source§impl Debug for PollutionMapSettings
impl Debug for PollutionMapSettings
Source§impl Default for PollutionMapSettings
impl Default for PollutionMapSettings
Source§fn default() -> PollutionMapSettings
fn default() -> PollutionMapSettings
Returns the “default value” for a type. Read more
Source§impl PartialEq for PollutionMapSettings
impl PartialEq for PollutionMapSettings
impl StructuralPartialEq for PollutionMapSettings
Auto Trait Implementations§
impl Freeze for PollutionMapSettings
impl RefUnwindSafe for PollutionMapSettings
impl Send for PollutionMapSettings
impl Sync for PollutionMapSettings
impl Unpin for PollutionMapSettings
impl UnsafeUnpin for PollutionMapSettings
impl UnwindSafe for PollutionMapSettings
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