Struct twilight_cache_inmemory::Reference
source · pub struct Reference<'a, K, V> { /* private fields */ }
Expand description
Immutable reference to a resource in the cache.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, K, V> !RefUnwindSafe for Reference<'a, K, V>
impl<'a, K, V> Send for Reference<'a, K, V>where K: Eq + Sync + Hash, V: Sync,
impl<'a, K, V> Sync for Reference<'a, K, V>where K: Eq + Sync + Hash, V: Sync,
impl<'a, K, V> Unpin for Reference<'a, K, V>
impl<'a, K, V> !UnwindSafe for Reference<'a, 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