pub enum LineageEvent {
Mutate {
operator: &'static str,
family: FamilyId,
parent: PhenotypeId,
child: PhenotypeId,
},
Crossover {
operator: &'static str,
families: (FamilyId, FamilyId),
parents: (PhenotypeId, PhenotypeId),
child: PhenotypeId,
},
Replace {
reason: &'static str,
old: (FamilyId, PhenotypeId),
new: (FamilyId, PhenotypeId),
},
}Variants§
Trait Implementations§
Source§impl Clone for LineageEvent
impl Clone for LineageEvent
Source§fn clone(&self) -> LineageEvent
fn clone(&self) -> LineageEvent
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 LineageEvent
impl RefUnwindSafe for LineageEvent
impl Send for LineageEvent
impl Sync for LineageEvent
impl Unpin for LineageEvent
impl UnsafeUnpin for LineageEvent
impl UnwindSafe for LineageEvent
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