Skip to main content

segment_step

Function segment_step 

Source
pub fn segment_step(enabled: &[bool], at: usize, key: Key) -> Option<usize>
Expand description

The option a key asks for, from at among options (enabled each), round from one end to the other; None for a key that moves nothing.

Left and Right step to the enabled option before or after, Home and End to the first and the last enabled.