pub trait SignalVec {
    type Item;

    // Required method
    fn poll_vec_change(
        self: Pin<&mut Self>,
        cx: &mut Context<'_>
    ) -> Poll<Option<VecDiff<Self::Item>>>;
}

Required Associated Types§

Required Methods§

source

fn poll_vec_change( self: Pin<&mut Self>, cx: &mut Context<'_> ) -> Poll<Option<VecDiff<Self::Item>>>

Implementations on Foreign Types§

source§

impl<A> SignalVec for Pin<A>where A: Unpin + DerefMut, A::Target: SignalVec,

§

type Item = <<A as Deref>::Target as SignalVec>::Item

source§

fn poll_vec_change( self: Pin<&mut Self>, cx: &mut Context<'_> ) -> Poll<Option<VecDiff<Self::Item>>>

source§

impl<A> SignalVec for Box<A>where A: ?Sized + SignalVec + Unpin,

§

type Item = <A as SignalVec>::Item

source§

fn poll_vec_change( self: Pin<&mut Self>, cx: &mut Context<'_> ) -> Poll<Option<VecDiff<Self::Item>>>

source§

impl<'a, A> SignalVec for &'a mut Awhere A: ?Sized + SignalVec + Unpin,

§

type Item = <A as SignalVec>::Item

source§

fn poll_vec_change( self: Pin<&mut Self>, cx: &mut Context<'_> ) -> Poll<Option<VecDiff<Self::Item>>>

Implementors§

source§

impl<A> SignalVec for Always<A>

§

type Item = A

source§

impl<A> SignalVec for Enumerate<A>where A: SignalVec,

source§

impl<A> SignalVec for Flatten<A>where A: SignalVec, A::Item: SignalVec,

§

type Item = <<A as SignalVec>::Item as SignalVec>::Item

source§

impl<A> SignalVec for MutableSignalVec<A>

§

type Item = A

source§

impl<A> SignalVec for SignalVecDebug<A>where A: SignalVec, A::Item: Debug,

§

type Item = <A as SignalVec>::Item

source§

impl<A, B> SignalVec for SignalSignalVec<A>where A: Signal<Item = Vec<B>>,

§

type Item = B

source§

impl<A, B> SignalVec for Chain<A, B>where A: SignalVec, B: SignalVec<Item = A::Item>,

§

type Item = <A as SignalVec>::Item

source§

impl<A, B, C> SignalVec for SwitchSignalVec<A, B, C>where A: Signal, B: SignalVec, C: FnMut(A::Item) -> B,

§

type Item = <B as SignalVec>::Item

source§

impl<A, B, F> SignalVec for FilterSignalCloned<A, B, F>where A: SignalVec, A::Item: Clone, B: Signal<Item = bool>, F: FnMut(&A::Item) -> B,

§

type Item = <A as SignalVec>::Item

source§

impl<A, B, F> SignalVec for Map<A, F>where A: SignalVec, F: FnMut(A::Item) -> B,

§

type Item = B

source§

impl<A, B, F> SignalVec for MapSignal<A, B, F>where A: SignalVec, B: Signal, F: FnMut(A::Item) -> B,

§

type Item = <B as Signal>::Item

source§

impl<A, F> SignalVec for Filter<A, F>where A: SignalVec, F: FnMut(&A::Item) -> bool,

§

type Item = <A as SignalVec>::Item

source§

impl<A, F> SignalVec for SortByCloned<A, F>where A: SignalVec, F: FnMut(&A::Item, &A::Item) -> Ordering, A::Item: Clone,

§

type Item = <A as SignalVec>::Item

source§

impl<K, V> SignalVec for MutableBTreeMapEntries<K, V>where K: Ord + Clone,

§

type Item = (K, V)

source§

impl<K, V> SignalVec for MutableBTreeMapKeys<K, V>where K: Ord + Clone,

§

type Item = K

source§

impl<S> SignalVec for StreamSignalVec<S>where S: Stream,

§

type Item = <S as Stream>::Item

source§

impl<S, A, F> SignalVec for DelayRemove<S, A, F>where S: SignalVec, A: Future<Output = ()>, F: FnMut(&S::Item) -> A,

§

type Item = <S as SignalVec>::Item

source§

impl<S, A, F> SignalVec for FilterMap<S, F>where S: SignalVec, F: FnMut(S::Item) -> Option<A>,

§

type Item = A