Skip to main content

advance

Function advance 

Source
fn advance(p: usize, n: usize, ceiling: usize) -> Option<usize>
Expand description

Advances p by n, or None if that would exceed ceiling.