Trait SignalExtMapBool

Source
pub trait SignalExtMapBool: Sized {
    // Provided methods
    fn map_bool<T, TM, FM>(self, t: TM, f: FM) -> MapBool<Self, TM, FM>
       where TM: FnMut() -> T,
             FM: FnMut() -> T { ... }
    fn map_option<T, TM>(self, t: TM) -> MapOption<Self, TM>
       where TM: FnMut() -> T { ... }
}

Provided Methods§

Source

fn map_bool<T, TM, FM>(self, t: TM, f: FM) -> MapBool<Self, TM, FM>
where TM: FnMut() -> T, FM: FnMut() -> T,

Source

fn map_option<T, TM>(self, t: TM) -> MapOption<Self, TM>
where TM: FnMut() -> T,

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<S> SignalExtMapBool for S
where S: Signal<Item = bool>,