Struct pinwheel::signal::MutableSignalRef [−][src]
pub struct MutableSignalRef<A, F>(_, _);
Trait Implementations
type Item = B
pub fn poll_change(
self: Pin<&mut MutableSignalRef<A, F>>,
cx: &mut Context<'_>
) -> Poll<Option<<MutableSignalRef<A, F> as Signal>::Item>>
[src]Auto Trait Implementations
impl<A, F> RefUnwindSafe for MutableSignalRef<A, F> where
F: RefUnwindSafe,
impl<A, F> Send for MutableSignalRef<A, F> where
A: Send + Sync,
F: Send,
impl<A, F> Sync for MutableSignalRef<A, F> where
A: Send + Sync,
F: Sync,
impl<A, F> UnwindSafe for MutableSignalRef<A, F> where
F: 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;
[src]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,
[src]fn switch_signal_vec<A, F>(self, callback: F) -> SwitchSignalVec<Self, A, F> where
F: FnMut(Self::Item) -> A,
A: SignalVec,
[src]fn for_each<U, F>(self, callback: F) -> ForEach<Self, U, F>ⓘ where
F: FnMut(Self::Item) -> U,
U: Future<Output = ()>,
[src]fn wait_for(self, value: Self::Item) -> WaitFor<Self>ⓘ where
Self::Item: PartialEq<Self::Item>,
[src]A convenience for calling Signal::poll_change
on Unpin
types.