Skip to main content

Module interner

Module interner 

Source

Macros§

declare_lift_into 🔒

Traits§

CollectAndApply
Imagine you have a function F: FnOnce(&[T]) -> R, plus an iterator iter that produces T items. You could combine them with f(&iter.collect::<Vec<_>>()), but this requires allocating memory for the Vec.
Interner
LiftInto
An interner whose associated types can be lifted into another interner J.