pub enum MaxAgeDropoff {
Constant,
HalvesWithGeneration,
}Expand description
Determines how the maximum age a walker survives to varies.
Variants§
Constant
The maximum age is held constant at SimulationParams::max_age.
HalvesWithGeneration
The maximum age starts at SimulationParams::max_age but is halved each generation.
Auto Trait Implementations§
impl Freeze for MaxAgeDropoff
impl RefUnwindSafe for MaxAgeDropoff
impl Send for MaxAgeDropoff
impl Sync for MaxAgeDropoff
impl Unpin for MaxAgeDropoff
impl UnwindSafe for MaxAgeDropoff
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