pub struct MapValue<A, B> { /* private fields */ }
Trait Implementations§
impl<'pin, A, B> Unpin for MapValue<A, B>where
PinnedFieldsOf<__MapValue<'pin, A, B>>: Unpin,
Auto Trait Implementations§
impl<A, B> Freeze for MapValue<A, B>
impl<A, B> RefUnwindSafe for MapValue<A, B>where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for MapValue<A, B>
impl<A, B> Sync for MapValue<A, B>
impl<A, B> UnwindSafe for MapValue<A, B>where
A: UnwindSafe,
B: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> SignalMapExt for T
impl<T> SignalMapExt for T
fn map_value<A, F>(self, callback: F) -> MapValue<Self, F>
fn map_value_signal<A, F>(self, callback: F) -> MapValueSignal<Self, A, F>
Source§fn key_cloned(self, key: Self::Key) -> MapWatchKeySignal<Self>
fn key_cloned(self, key: Self::Key) -> MapWatchKeySignal<Self>
Returns a signal that tracks the value of a particular key in the map.
fn for_each<U, F>(self, callback: F) -> ForEach<Self, U, F> ⓘ
Source§fn poll_map_change_unpin(
&mut self,
cx: &mut Context<'_>,
) -> Poll<Option<MapDiff<Self::Key, Self::Value>>>
fn poll_map_change_unpin( &mut self, cx: &mut Context<'_>, ) -> Poll<Option<MapDiff<Self::Key, Self::Value>>>
A convenience for calling
SignalMap::poll_map_change
on Unpin
types.