Struct radiate_rust::engines::engine_context::EngineContext
source · pub struct EngineContext<G: Gene<G, A>, A, T> {
pub population: Population<G, A>,
pub best: T,
pub index: i32,
pub timer: Timer,
}Fields§
§population: Population<G, A>§best: T§index: i32§timer: TimerImplementations§
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)