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,
}
Fields§
§population: Population<G, A>
§best: T
§index: i32
§timer: Timer
Implementations§
Trait Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)