pub trait ObservableCollectionFlatMapExt<TSrc>where
TSrc: Clone + 'static,{
// Required method
fn flat_map<TDst, TDstColl, F>(
&self,
f: F,
) -> ObservableCollectionFlatMap<TDst>
where TDst: Clone + 'static,
TDstColl: ObservableCollection<TDst> + IntoIterator<Item = TDst>,
F: 'static + FnMut(&TSrc) -> TDstColl;
}
Required Methods§
fn flat_map<TDst, TDstColl, F>(&self, f: F) -> ObservableCollectionFlatMap<TDst>where
TDst: Clone + 'static,
TDstColl: ObservableCollection<TDst> + IntoIterator<Item = TDst>,
F: 'static + FnMut(&TSrc) -> TDstColl,
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.