Struct lending_library::Loan
[−]
[src]
pub struct Loan<K, V> where
K: Hash, { /* fields omitted */ }A smart pointer representing the loan of a key/value pair from a LendingLibrary instance.
Trait Implementations
impl<K, V> Debug for Loan<K, V> where
K: Hash,
V: Debug, [src]
K: Hash,
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 Loan<K, V> where
K: Hash,
V: PartialEq, [src]
K: Hash,
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) -> bool1.0.0[src]
This method tests for !=.
impl<K, V> Drop for Loan<K, V> where
K: Hash, [src]
K: Hash,
impl<K, V> Deref for Loan<K, V> where
K: Hash, [src]
K: Hash,
type Target = V
The resulting type after dereferencing.
fn deref(&self) -> &V[src]
Dereferences the value.
impl<K, V> DerefMut for Loan<K, V> where
K: Hash, [src]
K: Hash,