Lines Matching refs:Bound

5618 use std::ops::Bound;
5619 use std::ops::Bound::*;
6214 fn start_bound(&self) -> Bound<&usize> {
6215 Bound::Included(if self.0.get() {
6222 fn end_bound(&self) -> Bound<&usize> {
6223 Bound::Unbounded
6237 fn start_bound(&self) -> Bound<&usize> {
6238 Bound::Included(&0)
6240 fn end_bound(&self) -> Bound<&usize> {
6241 Bound::Excluded(if self.0.get() {
6536 use std::ops::Bound::*;
11209 use std::ops::Bound::*;
16220 use core::ops::Bound::{Excluded, Included, Unbounded};
29521 use core::ops::{Bound, RangeBounds};
29529 /// An inclusive bound to look for, just like `Bound::Included(T)`.
29531 /// An exclusive bound to look for, just like `Bound::Excluded(T)`.
29533 /// An unconditional inclusive bound, just like `Bound::Unbounded`.
29540 pub fn from_range(range_bound: Bound<T>) -> Self {
29542 Bound::Included(t) => Included(t),
29543 Bound::Excluded(t) => Excluded(t),
29544 Bound::Unbounded => AllIncluded,
29622 (Bound::Excluded(s), Bound::Excluded(e)) if s == e => {
29625 (Bound::Included(s) | Bound::Excluded(s), Bound::Included(e) | Bound::Excluded(e))
30805 /// The range may also be entered as `(Bound<T>, Bound<T>)`, so for example
30820 /// use std::ops::Bound::Included;
30848 /// The range may also be entered as `(Bound<T>, Bound<T>)`, so for example
32417 /// The range may also be entered as `(Bound<T>, Bound<T>)`, so for example
32425 /// use std::ops::Bound::Included;
35572 use std::ops::Bound::{self, Excluded, Included, Unbounded};
36393 fn test(map: &BTreeMap<u32, u32>, size: u32, min: Bound<&u32>, max: Bound<&u32>) {