Trait rustc_type_ir::InternAs
source · [−]pub trait InternAs<T: ?Sized, R> {
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