Module pcg_rand::numops

source ·

Traits

Allows a type to become a type of a smaller value.
Convert a value to a usize don’t care about overflow etc
A trait that determines how many bits are in a type.
The types of numaric options that PCG needs to operate. Some day this will be replaced with Num-traits when they support wrapping opts for everything, and when extprim supports those traits as well.