Function find_non_empty_cell

Source
pub fn find_non_empty_cell(
    sheet: &Sheet,
    current_pos: (usize, usize),
    direction: Direction,
    max_bounds: (usize, usize),
) -> Option<(usize, usize)>
Expand description

Find non-empty cell in specified direction

Returns the position of found cell, or None if already at boundary