Crate blueprint_std Copy item path Source pub use rand ;
perf_trace This module contains macros for logging to stdout a trace of wall-clock time required
to execute annotated code. One can use this code as follows: add_to_trace cfg_chunks Returns an iterator over chunk_size
elements of the slice at a
time. cfg_chunks_mut Returns an iterator over chunk_size
mutable elements of the slice at a
time. cfg_into_iter Creates parallel iterator if parallel
feature is enabled.
Additionally, if the object being iterated implements
IndexedParallelIterator
, then one can specify a minimum size for
iteration. cfg_iter Creates parallel iterator over refs if parallel
feature is enabled. cfg_iter_mut Creates parallel iterator over mut refs if parallel
feature is enabled. end_timer start_timer BlueprintRng A random number generator that works in both std and no_std
environments Standard A generic random value distribution, implemented for many primitive types.
Usually generates values with a numerically uniform distribution, and with a
range appropriate to the type. CryptoRng A marker trait used to indicate that an RngCore
or BlockRngCore
implementation is supposed to be cryptographically secure. Distribution Types (distributions) that can be used to create a random instance of T
. One Defines a multiplicative identity element for Self
. Rng An automatically-implemented extension trait on RngCore
providing high-level
generic methods for sampling values and other convenience methods. UniformRand Trait for generating uniform random values Zero Defines an additive identity element for Self
. test_rng Create a deterministic RNG for testing