[][src]Struct futures_signals::signal::SignalSignalVec

#[must_use = "SignalVecs do nothing unless polled"]
pub struct SignalSignalVec<A> { /* fields omitted */ }

Trait Implementations

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

type Item = B

impl<A> Unpin for SignalSignalVec<A> where
    A: Unpin
[src]

impl<A: Debug> Debug for SignalSignalVec<A>[src]

Auto Trait Implementations

impl<A> Send for SignalSignalVec<A> where
    A: Send

impl<A> Sync for SignalSignalVec<A> where
    A: Sync

impl<A> RefUnwindSafe for SignalSignalVec<A> where
    A: RefUnwindSafe

impl<A> UnwindSafe for SignalSignalVec<A> where
    A: UnwindSafe

Blanket Implementations

impl<T> SignalVecExt for T where
    T: SignalVec + ?Sized
[src]

fn map<A, F>(self, callback: F) -> Map<Self, F> where
    F: FnMut(Self::Item) -> A,
    Self: Sized
[src]

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 filter<F>(self, callback: F) -> Filter<Self, F> where
    F: FnMut(&Self::Item) -> bool,
    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 sum(self) -> SumSignal<Self> where
    Self::Item: for<'a> Sum<&'a Self::Item>,
    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 to_stream(self) -> SignalVecStream<Self> where
    Self: Sized
[src]

Important traits for ForEach<A, B, C>
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 len(self) -> Len<Self> where
    Self: Sized
[src]

fn enumerate(self) -> Enumerate<Self> where
    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]

fn poll_vec_change_unpin(
    &mut self,
    cx: &mut Context
) -> Poll<Option<VecDiff<Self::Item>>> where
    Self: Unpin + Sized
[src]

A convenience for calling SignalVec::poll_vec_change on Unpin types.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]