Struct futures_signals::signal_vec::Filter [−][src]
#[must_use = "SignalVecs do nothing unless polled"]pub struct Filter<A, B> { /* fields omitted */ }
Trait Implementations
Auto Trait Implementations
impl<A, B> RefUnwindSafe for Filter<A, B> where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> UnwindSafe for Filter<A, B> where
A: UnwindSafe,
B: 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
A: Signal,
F: FnMut(Self::Item) -> A,
Self: Sized,
[src]fn to_signal_map<A, F>(self, callback: F) -> ToSignalMap<Self, F> where
F: FnMut(&[Self::Item]) -> A,
Self: Sized,
[src]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
A: Signal<Item = bool>,
F: FnMut(&Self::Item) -> A,
Self: Sized,
[src]fn filter_map<A, F>(self, callback: F) -> FilterMap<Self, F> where
F: FnMut(Self::Item) -> Option<A>,
Self: Sized,
[src]fn sort_by_cloned<F>(self, compare: F) -> SortByCloned<Self, F> where
F: FnMut(&Self::Item, &Self::Item) -> Ordering,
Self: Sized,
[src]
fn sort_by_cloned<F>(self, compare: F) -> SortByCloned<Self, F> where
F: FnMut(&Self::Item, &Self::Item) -> Ordering,
Self: Sized,
[src]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
U: Future<Output = ()>,
F: FnMut(VecDiff<Self::Item>) -> U,
Self: Sized,
[src]fn delay_remove<A, F>(self, f: F) -> DelayRemove<Self, A, F> where
A: Future<Output = ()>,
F: FnMut(&Self::Item) -> A,
Self: Sized,
[src]A convenience for calling SignalVec::poll_vec_change
on Unpin
types.