Expand description
The implementations of the StandardUniform
distribution for other built-in types.
Macrosยง
- tuple_
impl ๐ - Implement
Distribution<(A, B, C, ...)> for StandardUniform
, using the list of identifiers - tuple_
impls ๐ - Looping wrapper for
tuple_impl
. Given (A, B, C), it also generates implementations for (A, B) and (A,)
Structsยง
- Alphabetic
- Sample a
u8
, uniformly distributed over letters: a-z and A-Z. - Alphanumeric
- Sample a
u8
, uniformly distributed over ASCII letters and numbers: a-z, A-Z and 0-9.