pub trait Enumerable: Sized { fn start() -> Self; fn inc(&self) -> Option<Self>; }
Implemented by types to use with all and any.
all
any
Returns start value.
Increases value.