Trait rustc_middle::ty::InternAs
source · [−]pub trait InternAs<T, R>where
T: ?Sized,{
type Output;
fn intern_with<F>(self, f: F) -> Self::Output
where
F: FnOnce(&T) -> R;
}
Required Associated Types
Required Methods
sourcefn intern_with<F>(self, f: F) -> Self::Outputwhere