Crate random_variant
source ·Re-exports
pub use rand;
Traits
- Trait that returns a random variant of the given type, if you are creating a new type to limit some values, instead of deriving the RandomVariant,
- An automatically-implemented extension trait on
RngCore
providing high-level generic methods for sampling values and other convenience methods.