pub struct MapCache<A, T, F> { /* private fields */ }
Expand description
An implementation of a cache with a projection into the accessed value.
This is the implementation structure for Cache::map
. It can’t be created directly and it
should be used through the Access
trait.
Trait Implementations§
Auto Trait Implementations§
impl<A, T, F> Freeze for MapCache<A, T, F>
impl<A, T, F> RefUnwindSafe for MapCache<A, T, F>
impl<A, T, F> Send for MapCache<A, T, F>
impl<A, T, F> Sync for MapCache<A, T, F>
impl<A, T, F> Unpin for MapCache<A, T, F>
impl<A, T, F> UnwindSafe for MapCache<A, T, 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)