pub struct AtomMap<'a, T: Send + Sync + 'static, R, F> { /* private fields */ }Expand description
A projected view into an Atom<T>, created by Atom::map().
Loading from an AtomMap loads the full T and applies the
projection function to return a reference to a sub-field.
Implementations§
Auto Trait Implementations§
impl<'a, T, R, F> Freeze for AtomMap<'a, T, R, F>where
F: Freeze,
impl<'a, T, R, F> RefUnwindSafe for AtomMap<'a, T, R, F>
impl<'a, T, R, F> Send for AtomMap<'a, T, R, F>
impl<'a, T, R, F> Sync for AtomMap<'a, T, R, F>
impl<'a, T, R, F> Unpin for AtomMap<'a, T, R, F>
impl<'a, T, R, F> UnwindSafe for AtomMap<'a, T, R, F>
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