Struct memory_cache::MemoryLruCache
source · [−]Expand description
An LRU-cache which operates on memory used.
Implementations
sourceimpl<K: Eq + Hash, V: MallocSizeOf> MemoryLruCache<K, V>
impl<K: Eq + Hash, V: MallocSizeOf> MemoryLruCache<K, V>
Auto Trait Implementations
impl<K, V> RefUnwindSafe for MemoryLruCache<K, V> where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for MemoryLruCache<K, V> where
K: Send,
V: Send,
impl<K, V> Sync for MemoryLruCache<K, V> where
K: Sync,
V: Sync,
impl<K, V> Unpin for MemoryLruCache<K, V>
impl<K, V> UnwindSafe for MemoryLruCache<K, V> where
K: RefUnwindSafe,
V: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more