pub struct PopulationMember {
pub id: String,
pub params: HashMap<String, Value>,
pub state: Value,
pub fitness: Option<f64>,
}Expand description
A single member of the population.
Fields§
§id: String§params: HashMap<String, Value>§state: Value§fitness: Option<f64>Trait Implementations§
Source§impl Clone for PopulationMember
impl Clone for PopulationMember
Source§fn clone(&self) -> PopulationMember
fn clone(&self) -> PopulationMember
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PopulationMember
impl RefUnwindSafe for PopulationMember
impl Send for PopulationMember
impl Sync for PopulationMember
impl Unpin for PopulationMember
impl UnsafeUnpin for PopulationMember
impl UnwindSafe for PopulationMember
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