Skip to main content

IntoLender

Trait IntoLender 

Source
pub trait IntoLender {
    type Lender: Lender;

    // Required method
    fn into_lender(self) -> <Self as IntoLender>::Lender;
}
Expand description

Conversion into a Lender.

This is the Lender version of core::iter::IntoIterator.

Every Lender implements IntoLender for itself (returning self).

Required Associated Types§

Source

type Lender: Lender

The lender type that this type converts into.

Required Methods§

Source

fn into_lender(self) -> <Self as IntoLender>::Lender

Converts this type into a Lender.

Implementors§