1 2 3 4 5 6 7
pub trait State { type Param; type Float; fn iter(&self) -> u64; fn increment_iter(&mut self); }