Struct futures_signals::signal_map::MutableBTreeMapKeys[][src]

#[must_use = "SignalVecs do nothing unless polled"]
pub struct MutableBTreeMapKeys<K, V> { /* fields omitted */ }

Trait Implementations

impl<K: Debug, V: Debug> Debug for MutableBTreeMapKeys<K, V>[src]

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

Formats the value using the given formatter. Read more

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

type Item = K

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

impl<K, V> Unpin for MutableBTreeMapKeys<K, V>[src]

Auto Trait Implementations

impl<K, V> !RefUnwindSafe for MutableBTreeMapKeys<K, V>

impl<K, V> Send for MutableBTreeMapKeys<K, V> where
    K: Send,
    V: Send

impl<K, V> Sync for MutableBTreeMapKeys<K, V> where
    K: Send + Sync,
    V: Send

impl<K, V> !UnwindSafe for MutableBTreeMapKeys<K, V>

Blanket Implementations

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

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

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

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

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

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

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

pub fn from(t: T) -> T[src]

Performs the conversion.

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

pub fn into(self) -> U[src]

Performs the conversion.

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 to_signal_map<A, F>(self, callback: F) -> ToSignalMap<Self, F> where
    F: FnMut(&[Self::Item]) -> A,
    Self: Sized
[src]

fn to_signal_cloned(self) -> ToSignalCloned<Self> where
    Self::Item: Clone,
    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 filter_map<A, F>(self, callback: F) -> FilterMap<Self, F> where
    F: FnMut(Self::Item) -> Option<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]

fn for_each<U, F>(self, callback: F) -> ForEach<Self, U, F>

Notable traits for ForEach<A, B, C>

impl<A, B, C> Future for ForEach<A, B, C> where
    A: SignalVec,
    B: Future<Output = ()>,
    C: FnMut(VecDiff<A::Item>) -> B, 
type Output = ();
where
    U: Future<Output = ()>,
    F: FnMut(VecDiff<Self::Item>) -> U,
    Self: Sized
[src]

fn len(self) -> Len<Self> where
    Self: Sized
[src]

fn is_empty(self) -> IsEmpty<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, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

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

Performs the conversion.

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.

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

Performs the conversion.