Trait ObservableCollectionExt

Source
pub trait ObservableCollectionExt<T: 'static + Clone> {
    // Required method
    fn map<TDst, F>(&self, f: F) -> ObservableCollectionMap<TDst>
       where TDst: 'static + Clone,
             F: 'static + Fn(&T) -> TDst;
}

Required Methods§

Source

fn map<TDst, F>(&self, f: F) -> ObservableCollectionMap<TDst>
where TDst: 'static + Clone, F: 'static + Fn(&T) -> TDst,

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<T> ObservableCollectionExt<T> for dyn ObservableCollection<T>
where T: 'static + Clone,

Source§

impl<T, TSrcColl> ObservableCollectionExt<T> for TSrcColl
where T: 'static + Clone, TSrcColl: ObservableCollection<T> + 'static, Self: Sized,