pub fn new(fitness_target: F) -> Self {
        FitnessLimit {
            _g: PhantomData,
            fitness_target,
        }
    }
/// Create a new instance of `FitnessLimit` with the specified limit
/// of generations.
Create a new instance of `FitnessLimit` with the specified limit
of generations.
Create a new instance of ` FitnessLimit ` with the specified limit of generations .
pub fn new(fitness_target: F) -> Self {
        FitnessLimit {
            _g: PhantomData,
            fitness_target,
        }
    }
pub fn new ( fitness_target : F ) -> Self { FitnessLimit { _g : PhantomData , fitness_target , } }
Create a new instance of `FitnessLimit` with the specified limit
of generations.
Create a new instance of ` FitnessLimit ` with the specified limit of generations .
fitness_target
F
fitness_target
F