Trait gear_common::storage::IterableByKeyMap
source · pub trait IterableByKeyMap<Item> {
type Key;
type DrainIter: Iterator<Item = Item>;
type Iter: Iterator<Item = Item>;
// Required methods
fn drain_key(key: Self::Key) -> Self::DrainIter;
fn iter_key(key: Self::Key) -> Self::Iter;
}
Expand description
Represents iterable logic for double key maps (Key1 -> Key2 -> Value).
Returns the iterators over specified (associated) type of the first key’s items.
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.