Struct lending_library::Loan [] [src]

pub struct Loan<K, V> where
    K: Hash + Eq + Copy
{ /* 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 + Eq + Copy,
    V: Debug
[src]

[src]

Formats the value using the given formatter. Read more

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

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl<K, V> Drop for Loan<K, V> where
    K: Hash + Eq + Copy
[src]

[src]

Executes the destructor for this type. Read more

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

The resulting type after dereferencing.

[src]

Dereferences the value.

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

[src]

Mutably dereferences the value.

Auto Trait Implementations

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

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