Struct pinwheel::signal_vec::FilterSignalCloned [−][src]
pub struct FilterSignalCloned<A, B, F> where
A: SignalVec, { /* fields omitted */ }
Trait Implementations
pub fn poll_vec_change(
self: Pin<&mut FilterSignalCloned<A, B, F>>,
cx: &mut Context<'_>
) -> Poll<Option<VecDiff<<FilterSignalCloned<A, B, F> as SignalVec>::Item>>>
impl<'pin, A, B, F> Unpin for FilterSignalCloned<A, B, F> where
A: SignalVec,
__FilterSignalCloned<'pin, A, B, F>: Unpin,
Auto Trait Implementations
impl<A, B, F> RefUnwindSafe for FilterSignalCloned<A, B, F> where
A: RefUnwindSafe,
B: RefUnwindSafe,
F: RefUnwindSafe,
<A as SignalVec>::Item: RefUnwindSafe,
impl<A, B, F> Send for FilterSignalCloned<A, B, F> where
A: Send,
B: Send,
F: Send,
<A as SignalVec>::Item: Send,
impl<A, B, F> Sync for FilterSignalCloned<A, B, F> where
A: Sync,
B: Sync,
F: Sync,
<A as SignalVec>::Item: Sync,
impl<A, B, F> UnwindSafe for FilterSignalCloned<A, B, F> where
A: UnwindSafe,
B: UnwindSafe,
F: UnwindSafe,
<A as SignalVec>::Item: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Creates a SignalVec
which uses a closure to transform the values. Read more
fn map_signal<A, F>(self, callback: F) -> MapSignal<Self, A, F> where
F: FnMut(Self::Item) -> A,
A: Signal,
fn to_signal_map<A, F>(self, callback: F) -> ToSignalMap<Self, F> where
F: FnMut(&[Self::Item]) -> A,
Creates a SignalVec
which uses a closure to determine if a value should be included or not. Read more
fn filter_signal_cloned<A, F>(
self,
callback: F
) -> FilterSignalCloned<Self, A, F> where
F: FnMut(&Self::Item) -> A,
A: Signal<Item = bool>,
fn filter_map<A, F>(self, callback: F) -> FilterMap<Self, F> where
F: FnMut(Self::Item) -> Option<A>,
fn sort_by_cloned<F>(self, compare: F) -> SortByCloned<Self, F> where
F: FnMut(&Self::Item, &Self::Item) -> Ordering,
fn sort_by_cloned<F>(self, compare: F) -> SortByCloned<Self, F> where
F: FnMut(&Self::Item, &Self::Item) -> Ordering,
Creates a SignalVec
which uses a closure to sort the values. Read more
fn for_each<U, F>(self, callback: F) -> ForEach<Self, U, F>ⓘ where
F: FnMut(VecDiff<Self::Item>) -> U,
U: Future<Output = ()>,
fn delay_remove<A, F>(self, f: F) -> DelayRemove<Self, A, F> where
F: FnMut(&Self::Item) -> A,
A: Future<Output = ()>,
A convenience for calling SignalVec::poll_vec_change
on Unpin
types.