Struct chashmap::WriteGuard
[−]
[src]
pub struct WriteGuard<'a, K: 'a, V: 'a> { /* fields omitted */ }
A mutable RAII guard for reading an entry of a hash map.
This is an access type dereferencing to the inner value of the entry. It will handle unlocking on drop.
Trait Implementations
impl<'a, K, V> Deref for WriteGuard<'a, K, V>
[src]
type Target = V
The resulting type after dereferencing
fn deref(&self) -> &V
The method called to dereference a value
impl<'a, K, V> DerefMut for WriteGuard<'a, K, V>
[src]
fn deref_mut(&mut self) -> &mut V
The method called to mutably dereference a value
impl<'a, K, V: PartialEq> PartialEq for WriteGuard<'a, K, V>
[src]
fn eq(&self, other: &WriteGuard<'a, K, V>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.