Skip to main content

Module sampling

Module sampling 

Source
Expand description

This module contains tools related to random sampling.

To use this, the “rand” feature must be enabled.

Re-exports§

pub use standard::*;

Modules§

standard
This module holds local implementations of the Distribution trait for StandardUniform, which allow certain Bevy math types (those whose values can be randomly generated without additional input other than an RngExt) to be produced using rand’s APIs. It also holds FromRng, an ergonomic extension to that functionality which permits the omission of type annotations.