pub struct GeneticStats {
pub generation: usize,
pub population_size: usize,
pub avg_fitness: f64,
pub best_fitness: f64,
pub mutation_rate: f64,
}Fields§
§generation: usize§population_size: usize§avg_fitness: f64§best_fitness: f64§mutation_rate: f64Trait Implementations§
Source§impl Clone for GeneticStats
impl Clone for GeneticStats
Source§fn clone(&self) -> GeneticStats
fn clone(&self) -> GeneticStats
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GeneticStats
impl Debug for GeneticStats
Auto Trait Implementations§
impl Freeze for GeneticStats
impl RefUnwindSafe for GeneticStats
impl Send for GeneticStats
impl Sync for GeneticStats
impl Unpin for GeneticStats
impl UnwindSafe for GeneticStats
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)