Skip to main content

position

Function position 

Source
fn position(
    context: &Context,
    index: i64,
    len: usize,
    span: u32,
) -> Option<usize>
Expand description

The item position index names in a list of len, or None after recording why there’s no such item.