Function graphics::modular_index::previous [] [src]

pub fn previous(n: usize, i: usize) -> usize

Computes previous modular index safely.