pub enum PermutationScheme {
Full,
WithinCluster,
}Expand description
Null / permutation scheme for ResamplingPlan::Permutation.
Variants§
Full
Full Fisher–Yates shuffle of row indexes 0..n.
WithinCluster
Shuffle within each cluster (ids supplied to the fill helper).
Trait Implementations§
Source§impl Clone for PermutationScheme
impl Clone for PermutationScheme
Source§fn clone(&self) -> PermutationScheme
fn clone(&self) -> PermutationScheme
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PermutationScheme
Source§impl Debug for PermutationScheme
impl Debug for PermutationScheme
impl Eq for PermutationScheme
Source§impl Hash for PermutationScheme
impl Hash for PermutationScheme
Source§impl PartialEq for PermutationScheme
impl PartialEq for PermutationScheme
impl StructuralPartialEq for PermutationScheme
Auto Trait Implementations§
impl Freeze for PermutationScheme
impl RefUnwindSafe for PermutationScheme
impl Send for PermutationScheme
impl Sync for PermutationScheme
impl Unpin for PermutationScheme
impl UnsafeUnpin for PermutationScheme
impl UnwindSafe for PermutationScheme
Blanket Implementations§
impl<T> Allocation for T
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