pub struct RandomPermutation {
pub n: usize,
}Expand description
Uniform random permutations of 0..n.
Fields§
§n: usizeThe number of elements.
Trait Implementations§
Source§impl Clone for RandomPermutation
impl Clone for RandomPermutation
impl Copy for RandomPermutation
Source§impl Debug for RandomPermutation
impl Debug for RandomPermutation
impl Eq for RandomPermutation
Source§impl Initializer<Vec<usize>> for RandomPermutation
impl Initializer<Vec<usize>> for RandomPermutation
Source§impl PartialEq for RandomPermutation
impl PartialEq for RandomPermutation
impl StructuralPartialEq for RandomPermutation
Auto Trait Implementations§
impl Forget for RandomPermutation
impl Freeze for RandomPermutation
impl Move for RandomPermutation
impl RefUnwindSafe for RandomPermutation
impl Send for RandomPermutation
impl Sync for RandomPermutation
impl Unpin for RandomPermutation
impl UnsafeUnpin for RandomPermutation
impl UnwindSafe for RandomPermutation
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