Trait ndarray_rand::rand::Fill
source · pub trait Fill {
// Required method
fn try_fill<R>(&mut self, rng: &mut R) -> Result<(), Error>
where R: Rng + ?Sized;
}
Expand description
Types which may be filled with random data
This trait allows arrays to be efficiently filled with random data.
Implementations are expected to be portable across machines unless clearly documented otherwise (see the Chapter on Portability).
Required Methods§
Object Safety§
This trait is not object safe.