pub fn in_range(&self, range: std::ops::Range<u64>) -> bool {
        match &self.0 {
            IteratorCloned::Normal(iter) => {
                if range.start > u32::MAX as u64 || range.end > u32::MAX as u64 {
                    false
                } else {
                    iter.in_range(range.start as u32 .. range.end as u32)
                }
            },
            IteratorCloned::Large(iter) => iter.in_range(range),
        }
    }
/// Check if all items fall in the range.
Check if all items fall in the range.
Check if all items fall in the range .
pub fn in_range(&self, range: std::ops::Range<u64>) -> bool {
        match &self.0 {
            IteratorCloned::Normal(iter) => {
                if range.start > u32::MAX as u64 || range.end > u32::MAX as u64 {
                    false
                } else {
                    iter.in_range(range.start as u32 .. range.end as u32)
                }
            },
            IteratorCloned::Large(iter) => iter.in_range(range),
        }
    }
pub fn in_range ( & self , range : std :: ops :: Range < u64 > ) -> bool { match & self . 0 { IteratorCloned :: Normal ( iter ) => { if range . start > u32 :: MAX as u64 || range . end > u32 :: MAX as u64 { false } else { iter . in_range ( range . start as u32 .. range . end as u32 ) } } , IteratorCloned :: Large ( iter ) => iter . in_range ( range ) , } }
Check if all items fall in the range.
Check if all items fall in the range .
&self
range
std::ops::Range<u64>
&self
range
std::ops::Range<u64>