Expand description
Helpers for creating and working with poolable objects.
Macros§
- pooled
- Creates a struct that can be stored in an object pool, based on an inline struct definition.
- pooled_
newtype - Creates a struct that can be stored in an object pool, based on an existing struct definition.
Functions§
- get_
pooled_ object_ via_ builder - Creates an poolable object (of type
T
) whenT::Data
implementsDefault
. - get_
pooled_ object_ via_ default - Creates an poolable object (of type
T
) whenT::Data
implementsDefault
.