pub struct EngineContext<G, A, T>where
G: Gene<G, A>,{
pub population: Population<G, A>,
pub best: T,
pub index: i32,
pub timer: Timer,
pub score: Option<Score>,
}
Fields§
§population: Population<G, A>
§best: T
§index: i32
§timer: Timer
§score: Option<Score>
Implementations§
Trait Implementations§
Source§impl<G, A, T> Clone for EngineContext<G, A, T>
impl<G, A, T> Clone for EngineContext<G, A, T>
Auto Trait Implementations§
impl<G, A, T> Freeze for EngineContext<G, A, T>where
T: Freeze,
impl<G, A, T> RefUnwindSafe for EngineContext<G, A, T>
impl<G, A, T> Send for EngineContext<G, A, T>
impl<G, A, T> Sync for EngineContext<G, A, T>
impl<G, A, T> Unpin for EngineContext<G, A, T>
impl<G, A, T> UnwindSafe for EngineContext<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