Expand description
This module contains tools related to random sampling.
To use this, the “rand” feature must be enabled.
Modules§
- standard
- This module holds local implementations of the
Distributiontrait forStandardUniform, which allow certain Bevy math types (those whose values can be randomly generated without additional input other than anRngExt) to be produced usingrand’s APIs. It also holdsFromRng, an ergonomic extension to that functionality which permits the omission of type annotations.
Traits§
- FromRng
- Ergonomics trait for a type with a
StandardUniformdistribution, allowing values to be generated uniformly from anRngExtby a method in its own namespace.