Trait fetsig::SignalExtMapBool

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

Required Methods§

source

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

source

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

Implementors§

source§

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