Function random::default [] [src]

pub fn default() -> Default

Return the default source.

Each thread has its own copy of the source, and each copy is initialized with the same default seed. Consequently, the usage is thread safe; however, each thread is responsible for reseeding its source.