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).