Type Alias hotshot_testing::test_launcher::Generator

source ·
pub type Generator<T> = Rc<dyn Fn(u64) -> T>;
Expand description

Wrapper for a function that takes a node_id and returns an instance of T.

Aliased Type§

struct Generator<T> { /* private fields */ }