Trait Flatten
mona
pub trait Flatten { type Output; fn flatten(self) -> Self::Output; }
The operation that flattens nested container types.
type Output
fn flatten(self) -> Self::Output
impl<T> Flatten for Vec<Vec<T>>
type Output = Vec<T>
impl<T> Flatten for Vec<Option<T>>
impl<K, L, V> Flatten for HashMap<K, HashMap<L, V>> where K: Eq + Hash + Clone, L: Eq + Hash,
type Output = HashMap<(K, L), V>
impl<K, V> Flatten for HashMap<K, Vec<V>> where K: Eq + Hash + Clone,
type Output = HashMap<(K, usize), V>
impl<K, V> Flatten for Vec<HashMap<K, V>> where K: Eq + Hash + Clone,
type Output = HashMap<(usize, K), V>