Module af_core::random [−][src]
Random number generation.
Structs
Rng | A random number generator. |
Traits
Random | A trait for types that can be created randomly. |
Functions
chance | Returns |
fill_bytes | Fills a slice with random bytes. |
random | Generates a random value. |
range | Generates a random number within a range. |
ratio | Returns |
shuffle | Randomly shuffles a slice in place. |