Trait groupable::FromKeyedIterator
[−]
[src]
pub trait FromKeyedIterator<K, V> { fn from_keyed_iter<I: Iterator<Item=(K, V)>>(I) -> Self; }
Conversion from an Iterator
of key-value pairs.
Required Methods
fn from_keyed_iter<I: Iterator<Item=(K, V)>>(I) -> Self
Build a container with groups of elements from an external iterator.
Implementors
impl<K: Ord + Hash, V, U: Extend<V> + FromIterator<V>> FromKeyedIterator<K, V> for HashMap<K, U>
impl<K: Ord, V, U: Extend<V> + FromIterator<V>> FromKeyedIterator<K, V> for BTreeMap<K, U>