[][src]Struct lending_library::Loan

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> Drop for Loan<K, V> where
    K: Hash
[src]

impl<K, V> PartialEq<Loan<K, V>> for Loan<K, V> where
    K: Hash,
    V: PartialEq
[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl<K, V> DerefMut for Loan<K, V> where
    K: Hash
[src]

impl<K, V> Debug for Loan<K, V> where
    K: Hash,
    V: Debug
[src]

impl<K, V> Deref for Loan<K, V> where
    K: Hash
[src]

type Target = V

The resulting type after dereferencing.

Auto Trait Implementations

impl<K, V> !Send for Loan<K, V>

impl<K, V> !Sync for Loan<K, V>

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.