Skip to main content

cycled

Function cycled 

Source
pub fn cycled<T>(candidates: Vec<T>, cycle: usize) -> Option<T>
Expand description

The one of candidates a pointer’s Pointer::cycle cycle names: counted from the first, wrapping round. None of none.