Expand description
Traits describing a basic RNG and various capability extenders.
The traits and RNGs here do not need stdlib to work, nor do they need alloc.
Re-exports§
pub use counter::Counter;pub use splitmix::SplitMix;pub use wyrand::Wyrand;pub use xorshift::Xorshift;pub use mock_support::RefCellExt;
Modules§
- counter
- A wrap-around 64-bit counter. Useful for seeding and testing.
- duration
- Extensions for generating random
Durations. - mock_
support - Supporting capabilities for mocking.
- splitmix
SplitMixRNG.- wyrand
- Wyrand RNG.
- xorshift
- Xorshift RNG.
Structs§
- Probability
- Represents a probability in the range [0, 1].
Traits§
- Rand
- A minimal specification of a random number generator.
- RandLim
- Rand
Range - Seeded
- The means for seeding an RNG.