Trait futures_signals_ext::SignalExtMapBool

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

Required Methods§

source

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

source

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

Implementors§

source§

impl<S: Signal<Item = bool>> SignalExtMapBool for S