Skip to main content

AnySliceMutExt

Trait AnySliceMutExt 

Source
pub trait AnySliceMutExt<T> {
    // Required methods
    fn shuffle(&mut self);
    fn fill_any(&mut self)
       where T: TypeGenerator;
}

Required Methods§

Source

fn shuffle(&mut self)

Source

fn fill_any(&mut self)
where T: TypeGenerator,

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> AnySliceMutExt<T> for VecDeque<T>

Available on crate feature alloc only.
Source§

fn shuffle(&mut self)

Source§

fn fill_any(&mut self)
where T: TypeGenerator,

Source§

impl<T> AnySliceMutExt<T> for [T]

Source§

fn shuffle(&mut self)

Source§

fn fill_any(&mut self)
where T: TypeGenerator,

Implementors§