pub trait InternIteratorElement<T, R>: Sized {
    type Output;

    // Required method
    fn intern_with<I: Iterator<Item = Self>, F: FnOnce(&[T]) -> R>(
iter: I,
f: F
) -> Self::Output; }

Required Associated Types§

Required Methods§

source

fn intern_with<I: Iterator<Item = Self>, F: FnOnce(&[T]) -> R>(
iter: I,
f: F
) -> Self::Output

Implementations on Foreign Types§

source§

impl<'a, T, R> InternIteratorElement<T, R> for &'a Twhere
T: Clone + 'a,

§

type Output = R

source§

fn intern_with<I: Iterator<Item = Self>, F: FnOnce(&[T]) -> R>(
iter: I,
f: F
) -> Self::Output

source§

impl<T, R, E> InternIteratorElement<T, R> for Result<T, E>

§

type Output = Result<R, E>

source§

fn intern_with<I: Iterator<Item = Self>, F: FnOnce(&[T]) -> R>(
iter: I,
f: F
) -> Self::Output

Implementors§

source§

impl<T, R> InternIteratorElement<T, R> for T

§

type Output = R