Skip to main content

diff_range

Function diff_range 

Source
pub fn diff_range(
    old_start: Option<(u32, u32)>,
    new_start: Option<(u32, u32)>,
    old_end: Option<(u32, u32)>,
    new_end: Option<(u32, u32)>,
) -> (u32, u32, u32, u32)
Expand description

Returns the bounding rectangle that covers both ranges.

Returns (start_row, start_col, end_row_exclusive, end_col_exclusive).