pub struct Truncation {
pub fraction: f64,
}Expand description
Truncation selection: uniform among the best fraction of the population (at least one).
Fields§
§fraction: f64The fraction of the population eligible, in (0, 1].
Trait Implementations§
Source§impl Clone for Truncation
impl Clone for Truncation
impl Copy for Truncation
Source§impl Debug for Truncation
impl Debug for Truncation
Source§impl Default for Truncation
impl Default for Truncation
Source§impl PartialEq for Truncation
impl PartialEq for Truncation
Source§impl Selection for Truncation
impl Selection for Truncation
impl StructuralPartialEq for Truncation
Auto Trait Implementations§
impl Forget for Truncation
impl Freeze for Truncation
impl Move for Truncation
impl RefUnwindSafe for Truncation
impl Send for Truncation
impl Sync for Truncation
impl Unpin for Truncation
impl UnsafeUnpin for Truncation
impl UnwindSafe for Truncation
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