pub struct Memo<K, V> { /* private fields */ }Expand description
memoized results of a function, by arguments
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<K, V> !Freeze for Memo<K, V>
impl<K, V> !RefUnwindSafe for Memo<K, V>
impl<K, V> !Sync for Memo<K, V>
impl<K, V> Forget for Memo<K, V>
impl<K, V> Move for Memo<K, V>
impl<K, V> Send for Memo<K, V>
impl<K, V> Unpin for Memo<K, V>
impl<K, V> UnsafeUnpin for Memo<K, V>
impl<K, V> UnwindSafe for Memo<K, V>
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