Function x86::random::rdrand_slice[][src]

pub unsafe fn rdrand_slice<T: RdRand>(buffer: &mut [T]) -> bool

Fill a slice with random values.

Returns true if the iterator was successfully filled with random values, otherwise false.