Struct wheel_timer2::MultiWheel
source · [−]pub struct MultiWheel { /* private fields */ }Implementations
Create a roulette wheel consisting of multiple time wheels
n: n layers of wheels
capacity: how many slots per wheel
granularity: the granularity of the time wheel, which must be consistent with the interval at which MultiWheel::tick is called.