step

Function step 

Source
fn step(
    grid: &mut [u8],
    index: usize,
    quadrant: usize,
    direction: usize,
) -> [usize; 4]
Expand description

Process a single step in any arbitrary location on the grid.