pub struct RangeMultiMap<K, S, C: Storage<Item<AnyRange<K>, S>>> { /* 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: Storage<Item<AnyRange<K>, S>>> RangeMultiMap<K, S, C>
impl<K, S, C: Storage<Item<AnyRange<K>, S>>> RangeMultiMap<K, S, C>
pub fn new() -> RangeMultiMap<K, S, C>
Trait Implementations§
Source§impl<'a, K: Clone + PartialOrd + Measure, S, C: Storage<Item<AnyRange<K>, S>>> IntoIterator for &'a RangeMultiMap<K, S, C>
impl<'a, K: Clone + PartialOrd + Measure, S, C: Storage<Item<AnyRange<K>, S>>> IntoIterator for &'a RangeMultiMap<K, S, C>
Source§impl<K: Clone + PartialOrd + Measure, S, C: Storage<Item<AnyRange<K>, S>>> IntoIterator for RangeMultiMap<K, S, C>
impl<K: Clone + PartialOrd + Measure, S, C: Storage<Item<AnyRange<K>, S>>> IntoIterator for RangeMultiMap<K, S, C>
Auto Trait Implementations§
impl<K, S, C> Freeze for RangeMultiMap<K, S, C>
impl<K, S, C> RefUnwindSafe for RangeMultiMap<K, S, C>where
C: RefUnwindSafe,
<C as Storage<Item<AnyRange<K>, S>>>::Node: RefUnwindSafe,
S: RefUnwindSafe,
K: RefUnwindSafe,
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> UnsafeUnpin for RangeMultiMap<K, S, C>
impl<K, S, C> UnwindSafe for RangeMultiMap<K, S, C>where
C: UnwindSafe,
<C as Storage<Item<AnyRange<K>, S>>>::Node: UnwindSafe,
S: UnwindSafe,
K: UnwindSafe,
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