pub trait KeepMapSingleIteratorExtension: Iterator {
// Provided method
fn keep_map<F, B>(self, f: F) -> KeepMap<Self, F> ⓘ
where F: FnMut(&Self::Item) -> B,
Self: Sized { ... }
}Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".