Struct pinwheel::signal_vec::SortByCloned [−][src]
pub struct SortByCloned<A, B> where
A: SignalVec, { /* fields omitted */ }
Trait Implementations
pub fn poll_vec_change(
self: Pin<&mut SortByCloned<A, F>>,
cx: &mut Context<'_>
) -> Poll<Option<VecDiff<<SortByCloned<A, F> as SignalVec>::Item>>>
[src]impl<'pin, A, B> Unpin for SortByCloned<A, B> where
A: SignalVec,
__SortByCloned<'pin, A, B>: Unpin,
[src]Auto Trait Implementations
impl<A, B> RefUnwindSafe for SortByCloned<A, B> where
A: RefUnwindSafe,
B: RefUnwindSafe,
<A as SignalVec>::Item: RefUnwindSafe,
impl<A, B> UnwindSafe for SortByCloned<A, B> where
A: UnwindSafe,
B: 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,
[src]fn to_signal_map<A, F>(self, callback: F) -> ToSignalMap<Self, F> where
F: FnMut(&[Self::Item]) -> A,
[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
F: FnMut(&Self::Item) -> A,
A: Signal<Item = bool>,
[src]fn filter_map<A, F>(self, callback: F) -> FilterMap<Self, F> where
F: FnMut(Self::Item) -> Option<A>,
[src]fn sort_by_cloned<F>(self, compare: F) -> SortByCloned<Self, F> where
F: FnMut(&Self::Item, &Self::Item) -> Ordering,
[src]
fn sort_by_cloned<F>(self, compare: F) -> SortByCloned<Self, F> where
F: FnMut(&Self::Item, &Self::Item) -> Ordering,
[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
F: FnMut(VecDiff<Self::Item>) -> U,
U: Future<Output = ()>,
[src]fn delay_remove<A, F>(self, f: F) -> DelayRemove<Self, A, F> where
F: FnMut(&Self::Item) -> A,
A: Future<Output = ()>,
[src]A convenience for calling SignalVec::poll_vec_change
on Unpin
types.