Module random_state

Source

Structsยง

DefaultRandomSource ๐Ÿ”’
RandomState
Provides a Hasher factory. This is typically used (e.g. by HashMap) to create AHashers in order to hash the keys of the map. See build_hasher below.

Constantsยง

PI ๐Ÿ”’
PI2 ๐Ÿ”’

Staticsยง

RAND_SOURCE ๐Ÿ”’

Traitsยง

RandomSource
A supplier of Randomness used for different hashers. See set_random_source.

Functionsยง

get_fixed_seeds ๐Ÿ”’
get_src ๐Ÿ”’
set_random_source
Provides an optional way to manually supply a source of randomness for Hasher keys.