[][src]Struct radiate::engine::generation::Container

pub struct Container<T, E> where
    T: Genome<T, E> + Send + Sync,
    E: Send + Sync
{ pub member: Member<T>, pub fitness_score: f32, pub species: Option<FamilyWeak<T, E>>, }

A container is a simple container to encapsulate a member (Type T) its fitness score for the current generation, and a weak reference counting cell to the species it belongs to

Fields

member: Member<T>fitness_score: f32species: Option<FamilyWeak<T, E>>

Trait Implementations

impl<T: Debug, E: Debug> Debug for Container<T, E> where
    T: Genome<T, E> + Send + Sync,
    E: Send + Sync
[src]

Auto Trait Implementations

impl<T, E> RefUnwindSafe for Container<T, E>

impl<T, E> Send for Container<T, E>

impl<T, E> Sync for Container<T, E>

impl<T, E> Unpin for Container<T, E>

impl<T, E> UnwindSafe for Container<T, E>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Type for T[src]

type Meta = Concrete

Type of metadata for type.

impl<T> Type for T where
    T: ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,