Trait ObservableCollectionFlatMapExt

Source
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§

Source

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.

Implementors§

Source§

impl<TSrc> ObservableCollectionFlatMapExt<TSrc> for dyn ObservableCollection<TSrc>
where TSrc: Clone + 'static,

Source§

impl<TSrc, TSrcColl> ObservableCollectionFlatMapExt<TSrc> for TSrcColl
where TSrc: Clone + 'static, TSrcColl: ObservableCollection<TSrc> + 'static,