Struct futures_signals::signal_vec::ToSignalMap
source · pub struct ToSignalMap<A, B>where
A: SignalVec,{ /* private fields */ }
Trait Implementations§
impl<'pin, A, B> Unpin for ToSignalMap<A, B>where A: SignalVec, __ToSignalMap<'pin, A, B>: Unpin,
Auto Trait Implementations§
impl<A, B> RefUnwindSafe for ToSignalMap<A, B>where A: RefUnwindSafe, B: RefUnwindSafe, <A as SignalVec>::Item: RefUnwindSafe,
impl<A, B> Send for ToSignalMap<A, B>where A: Send, B: Send, <A as SignalVec>::Item: Send,
impl<A, B> Sync for ToSignalMap<A, B>where A: Sync, B: Sync, <A as SignalVec>::Item: Sync,
impl<A, B> UnwindSafe for ToSignalMap<A, B>where A: UnwindSafe, B: UnwindSafe, <A as SignalVec>::Item: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> SignalExt for Twhere
T: Signal + ?Sized,
impl<T> SignalExt for Twhere T: Signal + ?Sized,
source§fn to_stream(self) -> SignalStream<Self>where
Self: Sized,
fn to_stream(self) -> SignalStream<Self>where Self: Sized,
fn to_future(self) -> SignalFuture<Self> ⓘwhere Self: Sized,
source§fn map<A, B>(self, callback: B) -> Map<Self, B>where
B: FnMut(Self::Item) -> A,
Self: Sized,
fn map<A, B>(self, callback: B) -> Map<Self, B>where B: FnMut(Self::Item) -> A, Self: Sized,
Creates a
Signal
which uses a closure to transform the value. Read morefn inspect<A>(self, callback: A) -> Inspect<Self, A>where A: FnMut(&Self::Item), Self: Sized,
fn eq(self, value: Self::Item) -> Eq<Self>where Self::Item: PartialEq, Self: Sized,
fn neq(self, value: Self::Item) -> Neq<Self>where Self::Item: PartialEq, Self: Sized,
source§fn dedupe_map<A, B>(self, callback: B) -> DedupeMap<Self, B>where
B: FnMut(&mut Self::Item) -> A,
Self::Item: PartialEq,
Self: Sized,
fn dedupe_map<A, B>(self, callback: B) -> DedupeMap<Self, B>where B: FnMut(&mut Self::Item) -> A, Self::Item: PartialEq, Self: Sized,
Creates a
Signal
which uses a closure to transform the value. Read morefn dedupe(self) -> Dedupe<Self>where Self::Item: PartialEq, Self: Sized,
fn dedupe_cloned(self) -> DedupeCloned<Self>where Self::Item: PartialEq, Self: Sized,
source§fn map_future<A, B>(self, callback: B) -> MapFuture<Self, A, B>where
A: Future,
B: FnMut(Self::Item) -> A,
Self: Sized,
fn map_future<A, B>(self, callback: B) -> MapFuture<Self, A, B>where A: Future, B: FnMut(Self::Item) -> A, Self: Sized,
Creates a
Signal
which uses a closure to asynchronously transform the value. Read moresource§fn filter_map<A, B>(self, callback: B) -> FilterMap<Self, B>where
B: FnMut(Self::Item) -> Option<A>,
Self: Sized,
fn filter_map<A, B>(self, callback: B) -> FilterMap<Self, B>where B: FnMut(Self::Item) -> Option<A>, Self: Sized,
Creates a
Signal
which uses a closure to filter and transform the value. Read moresource§fn throttle<A, B>(self, callback: B) -> Throttle<Self, A, B>where
A: Future<Output = ()>,
B: FnMut() -> A,
Self: Sized,
fn throttle<A, B>(self, callback: B) -> Throttle<Self, A, B>where A: Future<Output = ()>, B: FnMut() -> A, Self: Sized,
fn switch<A, B>(self, callback: B) -> Switch<Self, A, B>where A: Signal, B: FnMut(Self::Item) -> A, Self: Sized,
fn switch_signal_vec<A, F>(self, callback: F) -> SwitchSignalVec<Self, A, F>where A: SignalVec, F: FnMut(Self::Item) -> A, Self: Sized,
source§fn sample_stream_cloned<A>(self, stream: A) -> SampleStreamCloned<Self, A>where
A: Stream,
A::Item: Clone,
Self: Sized,
fn sample_stream_cloned<A>(self, stream: A) -> SampleStreamCloned<Self, A>where A: Stream, A::Item: Clone, Self: Sized,
fn for_each<U, F>(self, callback: F) -> ForEach<Self, U, F> ⓘwhere U: Future<Output = ()>, F: FnMut(Self::Item) -> U, Self: Sized,
fn to_signal_vec(self) -> SignalSignalVec<Self>where Self: Sized,
fn wait_for(self, value: Self::Item) -> WaitFor<Self> ⓘwhere Self::Item: PartialEq, Self: Sized,
fn first(self) -> First<Self>where Self: Sized,
source§fn stop_if<F>(self, test: F) -> StopIf<Self, F>where
F: FnMut(&Self::Item) -> bool,
Self: Sized,
fn stop_if<F>(self, test: F) -> StopIf<Self, F>where F: FnMut(&Self::Item) -> bool, Self: Sized,
Conditionally stops the
Signal
. Read morefn debug(self) -> SignalDebug<Self>where Self: Sized, Self::Item: Debug,
source§fn broadcast(self) -> Broadcaster<Self>where
Self: Sized,
fn broadcast(self) -> Broadcaster<Self>where Self: Sized,
A convenience method for calling
Broadcaster::new
. Read moresource§fn poll_change_unpin(
&mut self,
cx: &mut Context<'_>
) -> Poll<Option<Self::Item>>where
Self: Unpin + Sized,
fn poll_change_unpin( &mut self, cx: &mut Context<'_> ) -> Poll<Option<Self::Item>>where Self: Unpin + Sized,
A convenience for calling
Signal::poll_change
on Unpin
types.