Helper trait to materialize vtables in static memory.
| 95 | pub fn new<T: Collect>() -> Self { |
| 96 | // Helper trait to materialize vtables in static memory. |
| 97 | trait HasCollectVtable { |
| 98 | const VTABLE: CollectVtable; |
| 99 | } |
| 100 | |
| 101 | impl<T: Collect> HasCollectVtable for T { |
| 102 | const VTABLE: CollectVtable = CollectVtable::vtable_for::<T>(); |
nothing calls this directly
no outgoing calls
no test coverage detected