pub struct GeneticEngine<'a, G, A, T>{
pub params: GeneticEngineParams<'a, G, A, T>,
}
Fields§
§params: GeneticEngineParams<'a, G, A, T>
Implementations§
Source§impl<'a, G, A, T> GeneticEngine<'a, G, A, T>
impl<'a, G, A, T> GeneticEngine<'a, G, A, T>
pub fn new(params: GeneticEngineParams<'a, G, A, T>) -> Self
pub fn from_codex( codex: &'a impl Codex<G, A, T>, ) -> GeneticEngineParams<'_, G, A, T>
pub fn run<F>(&self, limit: F) -> EngineContext<G, A, T>
Auto Trait Implementations§
impl<'a, G, A, T> Freeze for GeneticEngine<'a, G, A, T>
impl<'a, G, A, T> !RefUnwindSafe for GeneticEngine<'a, G, A, T>
impl<'a, G, A, T> !Send for GeneticEngine<'a, G, A, T>
impl<'a, G, A, T> !Sync for GeneticEngine<'a, G, A, T>
impl<'a, G, A, T> Unpin for GeneticEngine<'a, G, A, T>
impl<'a, G, A, T> !UnwindSafe for GeneticEngine<'a, G, A, T>
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