pub trait LendingIteratorඞItem<'next, Bounds = &'next Self> {
    type T;
}
Expand description

⚠️ NEVER NAME THIS TRAIT DIRECTLY ⚠️ Implementation detail of #[gat] trait LendingIterator.

  • ⚠️ The exact name of this trait may change within semver-compatible releases ⚠️

The only reason this trait is even exposed to begin with is because of the notable_trait feature greatly improving the readability of LendingIterator’s adapters.

Required Associated Types§

source

type T

The “output” of this whole hand-rolled GAT: think of LendingIteratorඞItem<'lt>::T as of LendingIterator::Item<'lt>.

⚠️ NEVER NAME THIS TRAIT OR ASSOC TYPE DIRECTLY ⚠️ yadda yadda.

Implementations on Foreign Types§

source§

impl<'next, 'r, I> LendingIteratorඞItem<'next, &'next Pin<&'r mut I>> for Pin<&'r mut I>where I: Unpin + ?Sized + LendingIterator,

§

type T = <I as LendingIteratorඞItem<'next, &'next I>>::T

source§

impl<'next, I: ?Sized + LendingIterator> LendingIteratorඞItem<'next, &'next Box<I, Global>> for Box<I>

§

type T = <I as LendingIteratorඞItem<'next, &'next I>>::T

source§

impl<'next, I> LendingIteratorඞItem<'next, &'next Pin<Box<I, Global>>> for Pin<Box<I>>where I: Unpin + ?Sized + LendingIterator,

§

type T = <I as LendingIteratorඞItem<'next, &'next I>>::T

source§

impl<'next, 'r, I: ?Sized + LendingIterator> LendingIteratorඞItem<'next, &'next &'r mut I> for &'r mut I

§

type T = <I as LendingIteratorඞItem<'next, &'next I>>::T

Implementors§

source§

impl<'__, I: ?Sized + Iterator> LendingIteratorඞItem<'__, &'__ FromIter<I>> for FromIter<I>

§

type T = <I as Iterator>::Item

source§

impl<'next, 'lt, T, const WINDOW_SIZE: usize> LendingIteratorඞItem<'next, &'next WindowsMut<&'lt mut [T], WINDOW_SIZE>> for WindowsMut<&'lt mut [T], WINDOW_SIZE>

§

type T = &'next mut [T; WINDOW_SIZE]

source§

impl<'next, 'usability, Item: HKT> LendingIteratorඞItem<'next, &'next (dyn LendingIteratorDyn<Item = Item> + 'usability)> for dyn LendingIteratorDyn<Item = Item> + 'usability

§

type T = <Item as WithLifetime<'next>>::T

source§

impl<'next, 'usability, Item: HKT> LendingIteratorඞItem<'next, &'next (dyn LendingIteratorDyn<Item = Item> + Send + 'usability)> for dyn LendingIteratorDyn<Item = Item> + Send + 'usability

§

type T = <Item as WithLifetime<'next>>::T

source§

impl<'next, 'usability, Item: HKT> LendingIteratorඞItem<'next, &'next (dyn LendingIteratorDyn<Item = Item> + Send + Sync + 'usability)> for dyn LendingIteratorDyn<Item = Item> + Send + Sync + 'usability

§

type T = <Item as WithLifetime<'next>>::T

source§

impl<'next, 'usability, Item: HKT> LendingIteratorඞItem<'next, &'next (dyn LendingIteratorDyn<Item = Item> + Sync + 'usability)> for dyn LendingIteratorDyn<Item = Item> + Sync + 'usability

§

type T = <Item as WithLifetime<'next>>::T

source§

impl<'next, I, F> LendingIteratorඞItem<'next, &'next Filter<I, F>> for Filter<I, F>where I: LendingIterator, F: FnMut(&Item<'_, I>) -> bool,

§

type T = <I as LendingIteratorඞItem<'next, &'next I>>::T

source§

impl<'next, I, NewItemType, F> LendingIteratorඞItem<'next, &'next FilterMap<I, F, NewItemType>> for FilterMap<I, F, NewItemType>where I: LendingIterator, NewItemType: HKT, for<'any> F: FnMut([&'any I; 0], Item<'any, I>) -> Option<Feed<'any, NewItemType>>,

§

type T = <NewItemType as WithLifetime<'next>>::T

source§

impl<'next, I, NewItemType, F> LendingIteratorඞItem<'next, &'next Map<I, F, NewItemType>> for Map<I, F, NewItemType>where I: LendingIterator, NewItemType: HKT, for<'any> F: FnMut([&'any I; 0], Item<'any, I>) -> Feed<'any, NewItemType>,

§

type T = <NewItemType as WithLifetime<'next>>::T

source§

impl<'next, I: LendingIterator> LendingIteratorඞItem<'next, &'next Fuse<I>> for Fuse<I>

§

type T = <I as LendingIteratorඞItem<'next, &'next I>>::T

source§

impl<'next, I: LendingIterator> LendingIteratorඞItem<'next, &'next Skip<I>> for Skip<I>

§

type T = <I as LendingIteratorඞItem<'next, &'next I>>::T

source§

impl<'next, I: LendingIterator> LendingIteratorඞItem<'next, &'next Take<I>> for Take<I>

§

type T = <I as LendingIteratorඞItem<'next, &'next I>>::T

source§

impl<'next, Item, State, Next> LendingIteratorඞItem<'next, &'next FromFn<Item, State, Next>> for FromFn<Item, State, Next>where Item: HKT, Next: FnMut(&mut State) -> Option<Feed<'_, Item>>,

§

type T = <Item as WithLifetime<'next>>::T

source§

impl<'next, S: Stream + Unpin> LendingIteratorඞItem<'next, &'next FromStream<S>> for FromStream<S>

Available on crate feature futures only.
§

type T = Next<'next, S>

source§

impl<'next, State> LendingIteratorඞItem<'next, &'next RepeatMut<State>> for RepeatMut<State>