Skip to main content

position

Function position 

Source
pub fn position(n: i64, len: usize) -> Option<usize>
Expand description

The position among len that n gives, counting from the end when negative. None outside the range.