Generator

Type Alias 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ยง

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