Struct twilight_cache_inmemory::iter::IterReference
source · pub struct IterReference<'a, K, V> { /* private fields */ }
Expand description
Reference to a resource value being iterated over in the cache.
std::ops::Deref
is implemented on this type and derefs to an immutable
reference of the underlying value.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, K, V> !RefUnwindSafe for IterReference<'a, K, V>
impl<'a, K, V> Send for IterReference<'a, K, V>where K: Eq + Sync + Hash, V: Sync,
impl<'a, K, V> Sync for IterReference<'a, K, V>where K: Eq + Sync + Hash, V: Sync,
impl<'a, K, V> Unpin for IterReference<'a, K, V>
impl<'a, K, V> !UnwindSafe for IterReference<'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