Function massa_models::datastore::range_intersection

source ยท
pub fn range_intersection<T: Ord>(
    r1: (Bound<T>, Bound<T>),
    r2: (Bound<T>, Bound<T>),
) -> Option<(Bound<T>, Bound<T>)>
Expand description

Return the intersection of two ranges