lower_bound

Function lower_bound 

Source
pub fn lower_bound<T: OrdLogic>(lo: Bound<T>, item: T) -> bool
Expand description

Comparison with a lower bound.

(open)

pearlite! {
    match lo {
        Bound::Included(lo) => lo <= item,
        Bound::Excluded(lo) => lo < item,
        Bound::Unbounded => true,
    }
}