Trait cushy::value::MapEachCloned

source ·
pub trait MapEachCloned<T, U> {
    // Required method
    fn map_each_cloned<F>(&self, map_each: F) -> Dynamic<U>
       where F: for<'a> FnMut(T) -> U + Send + 'static;
}
Expand description

A type that can create a Dynamic<U> from a T passed into a mapping function.

Required Methods§

source

fn map_each_cloned<F>(&self, map_each: F) -> Dynamic<U>
where F: for<'a> FnMut(T) -> U + Send + 'static,

Apply map_each to each value in self, storing the result in the returned dynamic.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<U, T0, Y0> MapEachCloned<(T0,), U> for (&Y0,)
where U: PartialEq + Send + 'static, T0: Clone + Send + 'static, Y0: Source<T0> + Clone + Send + 'static,

source§

fn map_each_cloned<F>(&self, map_each: F) -> Dynamic<U>
where F: for<'a> FnMut((T0,)) -> U + Send + 'static,

source§

impl<U, T0, Y0, T1, Y1> MapEachCloned<(T0, T1), U> for (&Y0, &Y1)
where U: PartialEq + Send + 'static, T0: Clone + Send + 'static, Y0: Source<T0> + Clone + Send + 'static, T1: Clone + Send + 'static, Y1: Source<T1> + Clone + Send + 'static,

source§

fn map_each_cloned<F>(&self, map_each: F) -> Dynamic<U>
where F: for<'a> FnMut((T0, T1)) -> U + Send + 'static,

source§

impl<U, T0, Y0, T1, Y1, T2, Y2> MapEachCloned<(T0, T1, T2), U> for (&Y0, &Y1, &Y2)
where U: PartialEq + Send + 'static, T0: Clone + Send + 'static, Y0: Source<T0> + Clone + Send + 'static, T1: Clone + Send + 'static, Y1: Source<T1> + Clone + Send + 'static, T2: Clone + Send + 'static, Y2: Source<T2> + Clone + Send + 'static,

source§

fn map_each_cloned<F>(&self, map_each: F) -> Dynamic<U>
where F: for<'a> FnMut((T0, T1, T2)) -> U + Send + 'static,

source§

impl<U, T0, Y0, T1, Y1, T2, Y2, T3, Y3> MapEachCloned<(T0, T1, T2, T3), U> for (&Y0, &Y1, &Y2, &Y3)
where U: PartialEq + Send + 'static, T0: Clone + Send + 'static, Y0: Source<T0> + Clone + Send + 'static, T1: Clone + Send + 'static, Y1: Source<T1> + Clone + Send + 'static, T2: Clone + Send + 'static, Y2: Source<T2> + Clone + Send + 'static, T3: Clone + Send + 'static, Y3: Source<T3> + Clone + Send + 'static,

source§

fn map_each_cloned<F>(&self, map_each: F) -> Dynamic<U>
where F: for<'a> FnMut((T0, T1, T2, T3)) -> U + Send + 'static,

source§

impl<U, T0, Y0, T1, Y1, T2, Y2, T3, Y3, T4, Y4> MapEachCloned<(T0, T1, T2, T3, T4), U> for (&Y0, &Y1, &Y2, &Y3, &Y4)
where U: PartialEq + Send + 'static, T0: Clone + Send + 'static, Y0: Source<T0> + Clone + Send + 'static, T1: Clone + Send + 'static, Y1: Source<T1> + Clone + Send + 'static, T2: Clone + Send + 'static, Y2: Source<T2> + Clone + Send + 'static, T3: Clone + Send + 'static, Y3: Source<T3> + Clone + Send + 'static, T4: Clone + Send + 'static, Y4: Source<T4> + Clone + Send + 'static,

source§

fn map_each_cloned<F>(&self, map_each: F) -> Dynamic<U>
where F: for<'a> FnMut((T0, T1, T2, T3, T4)) -> U + Send + 'static,

source§

impl<U, T0, Y0, T1, Y1, T2, Y2, T3, Y3, T4, Y4, T5, Y5> MapEachCloned<(T0, T1, T2, T3, T4, T5), U> for (&Y0, &Y1, &Y2, &Y3, &Y4, &Y5)
where U: PartialEq + Send + 'static, T0: Clone + Send + 'static, Y0: Source<T0> + Clone + Send + 'static, T1: Clone + Send + 'static, Y1: Source<T1> + Clone + Send + 'static, T2: Clone + Send + 'static, Y2: Source<T2> + Clone + Send + 'static, T3: Clone + Send + 'static, Y3: Source<T3> + Clone + Send + 'static, T4: Clone + Send + 'static, Y4: Source<T4> + Clone + Send + 'static, T5: Clone + Send + 'static, Y5: Source<T5> + Clone + Send + 'static,

source§

fn map_each_cloned<F>(&self, map_each: F) -> Dynamic<U>
where F: for<'a> FnMut((T0, T1, T2, T3, T4, T5)) -> U + Send + 'static,

Implementors§