pub struct ExtensionNoop;Expand description
The placeholder for when no extension present
Implementations§
Trait Implementations§
Source§impl Extension for Noop
impl Extension for Noop
fn call<G: EvolveGenotype, R: Rng, SR: StrategyReporter<Genotype = G>>( &mut self, _genotype: &G, _state: &mut EvolveState<G>, _config: &EvolveConfig, _reporter: &mut SR, _rng: &mut R, )
fn extract_elite_chromosomes<G: EvolveGenotype>( &self, _genotype: &G, state: &mut EvolveState<G>, config: &EvolveConfig, elitism_size: usize, ) -> Vec<Chromosome<G::Allele>>
fn extract_unique_elite_chromosomes<G: EvolveGenotype>( &self, _genotype: &G, state: &mut EvolveState<G>, config: &EvolveConfig, elitism_size: usize, ) -> Vec<Chromosome<G::Allele>>
fn extract_unique_chromosomes<G: EvolveGenotype>( &self, _genotype: &G, state: &mut EvolveState<G>, _config: &EvolveConfig, ) -> Vec<Chromosome<G::Allele>>
Auto Trait Implementations§
impl Freeze for Noop
impl RefUnwindSafe for Noop
impl Send for Noop
impl Sync for Noop
impl Unpin for Noop
impl UnwindSafe for Noop
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more