Struct pinwheel::signal::MapFuture [−][src]
pub struct MapFuture<A, B, C> { /* fields omitted */ }
Trait Implementations
Auto Trait Implementations
impl<A, B, C> RefUnwindSafe for MapFuture<A, B, C> where
A: RefUnwindSafe,
B: RefUnwindSafe,
C: RefUnwindSafe,
impl<A, B, C> UnwindSafe for MapFuture<A, B, C> where
A: UnwindSafe,
B: UnwindSafe,
C: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Creates a Stream
which contains the values of self
. Read more
fn to_future(self) -> SignalFuture<Self>ⓘNotable traits for SignalFuture<A>
impl<A> Future for SignalFuture<A> where
A: Signal, type Output = <A as Signal>::Item;
Creates a Signal
which uses a closure to transform the value. Read more
Creates a Signal
which uses a closure to transform the value. Read more
Creates a Signal
which uses a closure to asynchronously transform the value. Read more
Creates a Signal
which uses a closure to filter and transform the value. Read more
Creates a Signal
which delays updates until a Future
finishes. Read more
Creates a Signal
which flattens self
. Read more
fn switch<A, B>(self, callback: B) -> Switch<Self, A, B> where
B: FnMut(Self::Item) -> A,
A: Signal,
fn switch_signal_vec<A, F>(self, callback: F) -> SwitchSignalVec<Self, A, F> where
F: FnMut(Self::Item) -> A,
A: SignalVec,
fn for_each<U, F>(self, callback: F) -> ForEach<Self, U, F>ⓘ where
F: FnMut(Self::Item) -> U,
U: Future<Output = ()>,
A convenience for calling Signal::poll_change
on Unpin
types.