Type Alias hotshot_testing::test_launcher::Generator
source · pub type Generator<T> = Box<dyn Fn(u64) -> T + 'static>;
Expand description
Wrapper for a function that takes a node_id
and returns an instance of T
.
Aliased Type§
struct Generator<T>(/* private fields */);