pub struct Grouped {
pub k: usize,
}Expand description
Grouping is a k-fold over the groups, with the samples following theirs.
Needs in_groups and takes no seed: it places the
biggest groups first into whichever fold is emptiest, which is what keeps the
folds comparable when the groups are not.
Fields§
§k: usizeHow many folds.
Implementations§
Trait Implementations§
impl Eq for Grouped
impl StructuralPartialEq for Grouped
Auto Trait Implementations§
impl Freeze for Grouped
impl RefUnwindSafe for Grouped
impl Send for Grouped
impl Sync for Grouped
impl Unpin for Grouped
impl UnsafeUnpin for Grouped
impl UnwindSafe for Grouped
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