[][src]Trait futures_signals::signal_map::SignalMap

#[must_use = "SignalMaps do nothing unless polled"]pub trait SignalMap {
    type Key;
    type Value;
    pub fn poll_map_change(
        self: Pin<&mut Self>,
        cx: &mut Context<'_>
    ) -> Poll<Option<MapDiff<Self::Key, Self::Value>>>; }

Associated Types

Loading content...

Required methods

pub fn poll_map_change(
    self: Pin<&mut Self>,
    cx: &mut Context<'_>
) -> Poll<Option<MapDiff<Self::Key, Self::Value>>>
[src]

Loading content...

Implementations on Foreign Types

impl<'a, A: ?Sized> SignalMap for &'a mut A where
    A: SignalMap + Unpin
[src]

type Key = A::Key

type Value = A::Value

impl<A: ?Sized> SignalMap for Box<A> where
    A: SignalMap + Unpin
[src]

type Key = A::Key

type Value = A::Value

impl<A> SignalMap for Pin<A> where
    A: Unpin + DerefMut,
    A::Target: SignalMap
[src]

type Key = <<A as Deref>::Target as SignalMap>::Key

type Value = <<A as Deref>::Target as SignalMap>::Value

Loading content...

Implementors

impl<A, B, F> SignalMap for MapValue<A, F> where
    A: SignalMap,
    F: FnMut(A::Value) -> B, 
[src]

type Key = A::Key

type Value = B

impl<K, V> SignalMap for MutableSignalMap<K, V>[src]

type Key = K

type Value = V

Loading content...