RefIntoIterator

Trait RefIntoIterator 

Source
pub trait RefIntoIterator {
    type Item<'a>
       where Self: 'a;
    type Iter<'a>: Iterator<Item = Self::Item<'a>>
       where Self: 'a;

    // Required method
    fn ref_iter(&self) -> Self::Iter<'_>;
}

Required Associated Types§

Source

type Item<'a> where Self: 'a

Source

type Iter<'a>: Iterator<Item = Self::Item<'a>> where Self: 'a

Required Methods§

Source

fn ref_iter(&self) -> Self::Iter<'_>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<T> RefIntoIterator for &T
where T: RefIntoIterator,

Source§

type Item<'a> = <T as RefIntoIterator>::Item<'a> where Self: 'a

Source§

type Iter<'a> = <T as RefIntoIterator>::Iter<'a> where Self: 'a

Source§

fn ref_iter(&self) -> Self::Iter<'_>

Implementors§

Source§

impl<'a, 'b, E: EntityAccessor> RefIntoIterator for TblTransaction<'a, 'b, E>

Source§

type Item<'c> = (&'c <E as Entity>::Key, &'c E) where Self: 'c

Source§

type Iter<'c> = TblTransactionIter<'c, E> where Self: 'c

Source§

impl<E: Entity> RefIntoIterator for HashTable<E>

Source§

type Item<'a> = (&'a <E as Entity>::Key, &'a E)

Source§

type Iter<'a> = Iter<'a, <E as Entity>::Key, E>

Source§

impl<E: Entity> RefIntoIterator for VecTable<E>

Source§

type Item<'a> = (&'a <E as Entity>::Key, &'a E)

Source§

type Iter<'a> = Iter<'a, <E as Entity>::Key, E>