Module rustc_type_ir::interner
source · Traits§
- Imagine you have a function
F: FnOnce(&[T]) -> R, plus an iteratoriterthat producesTitems. You could combine them withf(&iter.collect::<Vec<_>>()), but this requires allocating memory for theVec. - Common capabilities of placeholder kinds