SignalMap

Trait SignalMap 

pub trait SignalMap<T>:
    SignalWith<T>
    + Copy
    + 'static
where T: 'static,
{ // Provided method fn map<U, F>(self, map: F) -> Memo<U> where U: Clone + PartialEq + 'static, F: 'static + Fn(&T) -> U { ... } }

Provided Methods§

fn map<U, F>(self, map: F) -> Memo<U>
where U: Clone + PartialEq + 'static, F: 'static + Fn(&T) -> U,

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§

§

impl<T, S> SignalMap<T> for S
where T: 'static, S: SignalWith<T> + Copy + 'static,