pub struct Scramble;Expand description
Shuffles a random segment. Works for any Vec<T>.
Trait Implementations§
impl Copy for Scramble
impl Eq for Scramble
impl StructuralPartialEq for Scramble
Auto Trait Implementations§
impl Forget for Scramble
impl Freeze for Scramble
impl Move for Scramble
impl RefUnwindSafe for Scramble
impl Send for Scramble
impl Sync for Scramble
impl Unpin for Scramble
impl UnsafeUnpin for Scramble
impl UnwindSafe for Scramble
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