pub struct DeleteGene {
pub min_len: usize,
}Expand description
Deletes one random gene, unless the chain has only min_len genes.
Fields§
§min_len: usizeThe shortest chain allowed.
Trait Implementations§
Source§impl Clone for DeleteGene
impl Clone for DeleteGene
impl Copy for DeleteGene
Source§impl Debug for DeleteGene
impl Debug for DeleteGene
Source§impl Default for DeleteGene
impl Default for DeleteGene
impl Eq for DeleteGene
Source§impl<T> Mutation<Vec<T>> for DeleteGene
impl<T> Mutation<Vec<T>> for DeleteGene
Source§impl PartialEq for DeleteGene
impl PartialEq for DeleteGene
impl StructuralPartialEq for DeleteGene
Auto Trait Implementations§
impl Forget for DeleteGene
impl Freeze for DeleteGene
impl Move for DeleteGene
impl RefUnwindSafe for DeleteGene
impl Send for DeleteGene
impl Sync for DeleteGene
impl Unpin for DeleteGene
impl UnsafeUnpin for DeleteGene
impl UnwindSafe for DeleteGene
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