Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pool ¶
type Pool[T any] struct { // contains filtered or unexported fields }
func (*Pool[T]) Alloc ¶
func (p *Pool[T]) Alloc() *PoolVarWrap[T]
type PoolVarWrap ¶
type PoolVarWrap[T any] struct { // contains filtered or unexported fields }
func (*PoolVarWrap[T]) Free ¶
func (pv *PoolVarWrap[T]) Free()
func (*PoolVarWrap[T]) Val ¶
func (pv *PoolVarWrap[T]) Val() T
Click to show internal directories.
Click to hide internal directories.