Trait exprz::iter::IteratorGen[][src]

pub trait IteratorGen<T> {
    type Item: Borrow<T>;
    type Iter: Iterator<Item = Self::Item>;
    fn iter(&self) -> Self::Iter;
}

An Iterator generator that consumes by reference.

Associated Types

type Item: Borrow<T>[src]

type Iter: Iterator<Item = Self::Item>[src]

Underlying Iterator Type

Loading content...

Required methods

fn iter(&self) -> Self::Iter[src]

Returns a new Iterator.

Loading content...

Implementations on Foreign Types

impl<T> IteratorGen<T> for &Vec<T>[src]

This is supported on crate feature alloc only.

type Item = &'t T

type Iter = Iter<'t, T>

Loading content...

Implementors

impl<A, G> IteratorGen<MultiExpr<A, G>> for (&Vec<MultiExpr<A, G>>, &G)[src]

This is supported on crate feature alloc only.

type Item = &'t MultiExpr<A, G>

type Iter = Iter<'t, MultiExpr<A, G>>

impl<T> IteratorGen<Expr<T, usize, usize>> for &Expr<T>[src]

This is supported on crate feature buffered only.

type Item = ExprView<'t, T>

type Iter = ExprViewIterator<'t, T>

impl<T> IteratorGen<T> for &[T][src]

type Item = &'t T

type Iter = Iter<'t, T>

Loading content...