dynamic-pool icon indicating copy to clipboard operation
dynamic-pool copied to clipboard

Implement DynamicReset on standard library containers?

Open estokes opened this issue 4 years ago • 0 comments

Right now it is not possible to use standard container types like HashMap directly in a dynamic pool, and that is too bad because it would be very convenient. The reason is that DynamicReset is defined in the dynamic-pool crate, and HashMap is defined in the standard library, so users of this crate are not allowed to implement DynamicReset for HashMap. However dynamic-pool could provide those implementations because you define the trait.

estokes avatar Jun 22 '20 20:06 estokes