Module solana_evm_loader_program::scope::evm::secp256k1::rand::prelude [−][src]
Convenience re-export of common members
Like the standard library’s prelude, this module simplifies importing of common items. Unlike the standard prelude, the contents of this module must be imported manually:
use rand::prelude::*;
Structs
SmallRng | An RNG recommended when small state, cheap initialization and good
performance are required. The PRNG algorithm in |
StdRng | The standard RNG. The PRNG algorithm in |
ThreadRng | The type returned by |
Traits
CryptoRng | A marker trait used to indicate that an |
Distribution | Types (distributions) that can be used to create a random instance of |
FromEntropy | A convenience extension to |
IteratorRandom | Extension trait on iterators, providing random sampling methods. |
Rng | An automatically-implemented extension trait on |
RngCore | The core of a random number generator. |
SeedableRng | A random number generator that can be explicitly seeded. |
SliceRandom | Extension trait on slices, providing random mutation and sampling methods. |
Functions
random | Generates a random value using the thread-local random number generator. |
thread_rng | Retrieve the lazily-initialized thread-local random number
generator, seeded by the system. Intended to be used in method
chaining style, e.g. |