pub struct SignalSignalVec<A> { /* private fields */ }

Trait Implementations§

source§

impl<A: Debug> Debug for SignalSignalVec<A>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

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

§

type Item = B

source§

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

source§

impl<'pin, A> Unpin for SignalSignalVec<A>where __SignalSignalVec<'pin, A>: Unpin,

Auto Trait Implementations§

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> SignalVecExt for Twhere T: SignalVec + ?Sized,

source§

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

Creates a SignalVec which uses a closure to transform the values. Read more
source§

fn map_signal<A, F>(self, callback: F) -> MapSignal<Self, A, F>where A: Signal, F: FnMut(Self::Item) -> A, Self: Sized,

source§

fn chain<S>(self, other: S) -> Chain<Self, S>where S: SignalVec<Item = Self::Item>, Self: Sized,

Chains two SignalVecs together. Read more
source§

fn to_signal_map<A, F>(self, callback: F) -> ToSignalMap<Self, F>where F: FnMut(&[Self::Item]) -> A, Self: Sized,

source§

fn to_signal_cloned(self) -> ToSignalCloned<Self>where Self::Item: Clone, Self: Sized,

source§

fn filter<F>(self, callback: F) -> Filter<Self, F>where F: FnMut(&Self::Item) -> bool, Self: Sized,

Creates a SignalVec which uses a closure to determine if a value should be included or not. Read more
source§

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,

source§

fn filter_map<A, F>(self, callback: F) -> FilterMap<Self, F>where F: FnMut(Self::Item) -> Option<A>, Self: Sized,

source§

fn sum(self) -> SumSignal<Self>where Self::Item: for<'a> Sum<&'a Self::Item>, Self: Sized,

source§

fn flatten(self) -> Flatten<Self>where Self::Item: SignalVec, Self: Sized,

Flattens a SignalVec<SignalVec<A>> into a SignalVec<A>.
source§

fn debug(self) -> SignalVecDebug<Self>where Self: Sized, Self::Item: Debug,

source§

fn sort_by_cloned<F>(self, compare: F) -> SortByCloned<Self, F>where F: FnMut(&Self::Item, &Self::Item) -> Ordering, Self: Sized,

Creates a SignalVec which uses a closure to sort the values. Read more
source§

fn to_stream(self) -> SignalVecStream<Self>where Self: Sized,

source§

fn for_each<U, F>(self, callback: F) -> ForEach<Self, U, F> where U: Future<Output = ()>, F: FnMut(VecDiff<Self::Item>) -> U, Self: Sized,

source§

fn len(self) -> Len<Self>where Self: Sized,

source§

fn is_empty(self) -> IsEmpty<Self>where Self: Sized,

source§

fn enumerate(self) -> Enumerate<Self>where Self: Sized,

source§

fn delay_remove<A, F>(self, f: F) -> DelayRemove<Self, A, F>where A: Future<Output = ()>, F: FnMut(&Self::Item) -> A, Self: Sized,

source§

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

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

fn boxed<'a>(self) -> Pin<Box<dyn SignalVec<Item = Self::Item> + Send + 'a>>where Self: Sized + Send + 'a,

source§

fn boxed_local<'a>(self) -> Pin<Box<dyn SignalVec<Item = Self::Item> + 'a>>where Self: Sized + 'a,

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.