Struct lending_library::DropGuard
[−]
[src]
pub struct DropGuard<K, V> where
K: Hash + Eq + Copy, { /* fields omitted */ }
Trait Implementations
impl<K, V> Debug for DropGuard<K, V> where
K: Hash + Eq + Copy,
V: Debug,
[src]
K: Hash + Eq + Copy,
V: Debug,
fn fmt(&self, f: &mut Formatter) -> Result<(), FmtError>
[src]
Formats the value using the given formatter. Read more
impl<K, V> PartialEq for DropGuard<K, V> where
K: Hash + Eq + Copy,
V: PartialEq,
[src]
K: Hash + Eq + Copy,
V: PartialEq,
fn eq(&self, other: &Self) -> bool
[src]
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[src]
This method tests for !=
.
impl<K, V> Drop for DropGuard<K, V> where
K: Hash + Eq + Copy,
[src]
K: Hash + Eq + Copy,
impl<K, V> Deref for DropGuard<K, V> where
K: Hash + Eq + Copy,
[src]
K: Hash + Eq + Copy,
type Target = V
The resulting type after dereferencing.
fn deref(&self) -> &V
[src]
Dereferences the value.
impl<K, V> DerefMut for DropGuard<K, V> where
K: Hash + Eq + Copy,
[src]
K: Hash + Eq + Copy,