Module tinyrand_alloc::mock
source · [−]Expand description
Mock RNG for testing.
Structs
Mock RNG, containing invocation state and delegate closures.
Mock invocation state.
Encapsulates the state of the mock and a reference to the next_u128
delegate, so
that it can be invoked from inside the mock by, for example, another delegate.