pub struct DeleteSegment {
pub min_len: usize,
pub max_segment: Option<usize>,
}Expand description
Deletes a random segment, keeping at least min_len genes.
Fields§
§min_len: usizeThe shortest chain allowed.
max_segment: Option<usize>The longest segment deleted; None means unbounded.
Trait Implementations§
Source§impl Clone for DeleteSegment
impl Clone for DeleteSegment
impl Copy for DeleteSegment
Source§impl Debug for DeleteSegment
impl Debug for DeleteSegment
Source§impl Default for DeleteSegment
impl Default for DeleteSegment
impl Eq for DeleteSegment
Source§impl<T> Mutation<Vec<T>> for DeleteSegment
impl<T> Mutation<Vec<T>> for DeleteSegment
Source§impl PartialEq for DeleteSegment
impl PartialEq for DeleteSegment
impl StructuralPartialEq for DeleteSegment
Auto Trait Implementations§
impl Forget for DeleteSegment
impl Freeze for DeleteSegment
impl Move for DeleteSegment
impl RefUnwindSafe for DeleteSegment
impl Send for DeleteSegment
impl Sync for DeleteSegment
impl Unpin for DeleteSegment
impl UnsafeUnpin for DeleteSegment
impl UnwindSafe for DeleteSegment
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