Lifetime

Trait Lifetime 

Source
pub trait Lifetime<'a, ImplicitBounds: Sealed = Bounds<&'a Self>> {
    type Item;
}
Expand description

Provides the associated item for LendingIterator, similar to Iterator::Item.

See LendingIterator for more.

Required Associated Types§

Source

type Item

The type of the elements being iterated over.

Implementations on Foreign Types§

Source§

impl<'l, A, B, C, D, E, F, G> Lifetime<'l> for (A, B, C, D, E, F, G)
where A: Lifetime<'l>, B: Lifetime<'l>, C: Lifetime<'l>, D: Lifetime<'l>, E: Lifetime<'l>, F: Lifetime<'l>, G: Lifetime<'l>,

Source§

type Item = (<A as Lifetime<'l>>::Item, <B as Lifetime<'l>>::Item, <C as Lifetime<'l>>::Item, <D as Lifetime<'l>>::Item, <E as Lifetime<'l>>::Item, <F as Lifetime<'l>>::Item, <G as Lifetime<'l>>::Item)

Source§

impl<'l, B, C, D, E, F, G> Lifetime<'l> for (B, C, D, E, F, G)
where B: Lifetime<'l>, C: Lifetime<'l>, D: Lifetime<'l>, E: Lifetime<'l>, F: Lifetime<'l>, G: Lifetime<'l>,

Source§

type Item = (<B as Lifetime<'l>>::Item, <C as Lifetime<'l>>::Item, <D as Lifetime<'l>>::Item, <E as Lifetime<'l>>::Item, <F as Lifetime<'l>>::Item, <G as Lifetime<'l>>::Item)

Source§

impl<'l, C, D, E, F, G> Lifetime<'l> for (C, D, E, F, G)
where C: Lifetime<'l>, D: Lifetime<'l>, E: Lifetime<'l>, F: Lifetime<'l>, G: Lifetime<'l>,

Source§

type Item = (<C as Lifetime<'l>>::Item, <D as Lifetime<'l>>::Item, <E as Lifetime<'l>>::Item, <F as Lifetime<'l>>::Item, <G as Lifetime<'l>>::Item)

Source§

impl<'l, D, E, F, G> Lifetime<'l> for (D, E, F, G)
where D: Lifetime<'l>, E: Lifetime<'l>, F: Lifetime<'l>, G: Lifetime<'l>,

Source§

type Item = (<D as Lifetime<'l>>::Item, <E as Lifetime<'l>>::Item, <F as Lifetime<'l>>::Item, <G as Lifetime<'l>>::Item)

Source§

impl<'l, E, F, G> Lifetime<'l> for (E, F, G)
where E: Lifetime<'l>, F: Lifetime<'l>, G: Lifetime<'l>,

Source§

type Item = (<E as Lifetime<'l>>::Item, <F as Lifetime<'l>>::Item, <G as Lifetime<'l>>::Item)

Source§

impl<'l, F, G> Lifetime<'l> for (F, G)
where F: Lifetime<'l>, G: Lifetime<'l>,

Source§

type Item = (<F as Lifetime<'l>>::Item, <G as Lifetime<'l>>::Item)

Implementors§

Source§

impl<'l, 'a, T> Lifetime<'l> for RefOrMut<'a, &'a [T]>

Source§

impl<'l, 'a, T> Lifetime<'l> for RefOrMut<'a, &'a mut [T]>

Source§

impl<'l, Iter, C> Lifetime<'l> for Query<Iter, C>
where Iter: Iterator<Item = Entity>, C: Lifetime<'l>,

Source§

type Item = (Entity, <C as Lifetime<'l>>::Item)