pub trait SymmetricMapMap<K, V>: MutableMap<K, V> {
type OutputMap<V2: PartialEq + Clone>: SymmetricMapMap<K, V2>;
// Required method
fn filter_map_collect<V2: PartialEq + Clone>(
&self,
f: &mut impl FnMut(&K, &V) -> Option<V2>,
) -> Self::OutputMap<V2>;
}
Required Associated Types§
type OutputMap<V2: PartialEq + Clone>: SymmetricMapMap<K, V2>
Required Methods§
fn filter_map_collect<V2: PartialEq + Clone>( &self, f: &mut impl FnMut(&K, &V) -> Option<V2>, ) -> Self::OutputMap<V2>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.