Trait pinwheel::signal_vec::SignalVec [−][src]
pub trait SignalVec { type Item; fn poll_vec_change(
self: Pin<&mut Self>,
cx: &mut Context<'_>
) -> Poll<Option<VecDiff<Self::Item>>>; }
Associated Types
Required methods
Implementations on Foreign Types
pub fn poll_vec_change(
self: Pin<&mut MutableBTreeMapEntries<K, V>>,
cx: &mut Context<'_>
) -> Poll<Option<VecDiff<<MutableBTreeMapEntries<K, V> as SignalVec>::Item>>>
type Item = K
pub fn poll_vec_change(
self: Pin<&mut MutableBTreeMapKeys<K, V>>,
cx: &mut Context<'_>
) -> Poll<Option<VecDiff<<MutableBTreeMapKeys<K, V> as SignalVec>::Item>>>
Implementors
impl<A, B, C> SignalVec for SwitchSignalVec<A, B, C> where
C: FnMut(<A as Signal>::Item) -> B,
B: SignalVec,
A: Signal,
impl<A, B, F> SignalVec for FilterSignalCloned<A, B, F> where
F: FnMut(&<A as SignalVec>::Item) -> B,
B: Signal<Item = bool>,
A: SignalVec,
<A as SignalVec>::Item: Clone,
impl<A, B, F> SignalVec for MapSignal<A, B, F> where
F: FnMut(<A as SignalVec>::Item) -> B,
B: Signal,
A: SignalVec,
impl<A, F> SignalVec for Filter<A, F> where
F: FnMut(&<A as SignalVec>::Item) -> bool,
A: SignalVec,
impl<A, F> SignalVec for SortByCloned<A, F> where
F: FnMut(&<A as SignalVec>::Item, &<A as SignalVec>::Item) -> Ordering,
A: SignalVec,
<A as SignalVec>::Item: Clone,