pub struct RangeMultiMap<K, S, C> { /* private fields */ }Expand description
Multi map.
In a multi map, each key is associated to a set of values.
The type parameter S is the set type. It can be replaced by anything
implementing the cc_traits::SetMut trait, such as the standard
BTreeSet and HashSet.
Implementations§
Source§impl<K, S, C> RangeMultiMap<K, S, C>
impl<K, S, C> RangeMultiMap<K, S, C>
pub fn new() -> RangeMultiMap<K, S, C>where
C: Default,
Source§impl<K, S, C> RangeMultiMap<K, S, C>
impl<K, S, C> RangeMultiMap<K, S, C>
Trait Implementations§
Source§impl<K: Clone, S: Clone, C: Clone> Clone for RangeMultiMap<K, S, C>
impl<K: Clone, S: Clone, C: Clone> Clone for RangeMultiMap<K, S, C>
Source§fn clone(&self) -> RangeMultiMap<K, S, C>
fn clone(&self) -> RangeMultiMap<K, S, C>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<K, S, C: Default> Default for RangeMultiMap<K, S, C>
impl<K, S, C: Default> Default for RangeMultiMap<K, S, C>
Source§impl<'a, K: Clone + PartialOrd + Measure, S, C> IntoIterator for &'a RangeMultiMap<K, S, C>
impl<'a, K: Clone + PartialOrd + Measure, S, C> IntoIterator for &'a RangeMultiMap<K, S, C>
Source§impl<K: Clone + PartialOrd + Measure, S, C> IntoIterator for RangeMultiMap<K, S, C>
impl<K: Clone + PartialOrd + Measure, S, C> IntoIterator for RangeMultiMap<K, S, C>
Auto Trait Implementations§
impl<K, S, C> Freeze for RangeMultiMap<K, S, C>where
C: Freeze,
impl<K, S, C> RefUnwindSafe for RangeMultiMap<K, S, C>
impl<K, S, C> Send for RangeMultiMap<K, S, C>
impl<K, S, C> Sync for RangeMultiMap<K, S, C>
impl<K, S, C> Unpin for RangeMultiMap<K, S, C>
impl<K, S, C> UnwindSafe for RangeMultiMap<K, S, C>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more