Skip to main content

range

Function range 

Source
pub fn range<'a, T: PartialEq>(
    rows: &'a [T],
    anchor: &T,
    clicked: &T,
) -> Option<&'a [T]>
Expand description

The rows from anchor to clicked inclusive, in display order, or None when either is not in rows (the anchor row is gone: the caller selects the clicked row alone).