[−][src]Trait rustc_middle::ty::context::InternIteratorElement

pub trait InternIteratorElement<T, R>: Sized {
    type Output;
    pub fn intern_with<I: Iterator<Item = Self>, F: FnOnce(&[T]) -> R>(
        iter: I,
        f: F
    ) -> Self::Output; }

Associated Types

type Output[src]

Loading content...

Required methods

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

Loading content...

Implementations on Foreign Types

impl<'a, T, R> InternIteratorElement<T, R> for &'a T where
    T: Clone + 'a, 
[src]

type Output = R

impl<T, R, E> InternIteratorElement<T, R> for Result<T, E>[src]

type Output = Result<R, E>

Loading content...

Implementors

impl<T, R> InternIteratorElement<T, R> for T[src]

type Output = R

Loading content...