pub struct Loan<K, V>where
K: Hash,{ /* private fields */ }
Expand description
A smart pointer representing the loan of a key/value pair from a LendingLibrary
instance.
Trait Implementations§
Auto Trait Implementations§
impl<K, V> Freeze for Loan<K, V>where
V: Freeze,
impl<K, V> RefUnwindSafe for Loan<K, V>where
V: RefUnwindSafe,
K: RefUnwindSafe,
impl<K, V> !Send for Loan<K, V>
impl<K, V> !Sync for Loan<K, V>
impl<K, V> Unpin for Loan<K, V>where
V: Unpin,
impl<K, V> UnwindSafe for Loan<K, V>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more