Skip to main content

stepped

Function stepped 

Source
fn stepped(
    rows: &[Row],
    here: f32,
    at: Option<usize>,
    step: Step,
) -> Option<(Option<usize>, f32)>
Expand description

Which of rows a step lands on, and where the list is scrolled to to have it at the top of what is in view. None if there is nowhere to go: the keyboard is at the first row, or the last.

From the row the keyboard is at, it is the one after it or before. With no such row it goes by where the list is scrolled to, here: the first row below the top of what is in view, or the last one above it. To the top is to where the list starts, with nothing marked.