Struct pinwheel::signal_vec::Always [−][src]
pub struct Always<A> { /* fields omitted */ }
Trait Implementations
Auto Trait Implementations
impl<A> RefUnwindSafe for Always<A> where
A: RefUnwindSafe,
impl<A> UnwindSafe for Always<A> where
A: 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.