Struct Range
#[must_use = "iterators are lazy and do nothing unless consumed"]
pub struct Range<'a, K: 'a, V: 'a> { pub(in ::collections::btree::map) inner: LeafRange<Immut<'a>, K, V> }
An iterator over a sub-range of entries in a BTreeMap.
This struct is created by the range method on BTreeMap. See its
documentation for more.
Fields
inner: LeafRange<Immut<'a>, K, V>
Trait Implementations
impl<'a, K, V> DoubleEndedIterator for Range<'a, K, V>
fn next_back(&mut self) -> Option<(&'a K, &'a V)>
impl<'a, K, V> Iterator for Range<'a, K, V>
type Item = (&'a K, &'a V);fn next(&mut self) -> Option<(&'a K, &'a V)>fn last(self) -> Option<(&'a K, &'a V)>fn min(self) -> Option<(&'a K, &'a V)> where (&'a K, &'a V): Ord,fn max(self) -> Option<(&'a K, &'a V)> where (&'a K, &'a V): Ord,
impl<K, V> Clone for Range<'_, K, V>
fn clone(&self) -> Self
impl<K, V> Default for Range<'_, K, V>
fn default() -> SelfCreates an empty
btree_map::Range.# use std::collections::btree_map; let iter: btree_map::Range<'_, u8, u8> = Default::default(); assert_eq!(iter.count(), 0);
impl<K, V> FusedIterator for Range<'_, K, V>
impl<K: Debug, V: Debug> Debug for Range<'_, K, V>
fn fmt(&self, f: &mut Formatter<'_>) -> Result