☰
Module recycling
Structs
Traits
?
Module
thingbuf
::
recycling
source
·
[
−
]
Expand description
Configurable policies for element reuse.
Structs
DefaultRecycle
A
Recycle
implementation for any type implementing
Default
and
Clone
.
WithCapacity
A
Recycle
implementation for types that provide
with_capacity
,
clear
, and
shrink_to
methods.
Traits
Recycle
A policy defining how pooled elements of type
T
are reused.