Trait rustc_middle::ty::InternAs

source ·
pub trait InternAs<T, R>where
T: ?Sized,
{ type Output; // Required method fn intern_with<F>(self, f: F) -> Self::Output
where F: FnOnce(&[T]) -> R; }

Required Associated Types§

Required Methods§

source

fn intern_with<F>(self, f: F) -> Self::Outputwhere
F: FnOnce(&[T]) -> R,

Implementors§