macro_rules! object_pool {
($name:ident: $data_type:ty) => { ... };
}
Available on
arm_llsc
, or 32-bit and (target_has_atomic="64"
or crate feature portable-atomic
), or 64-bit and (target_has_atomic="128"
and crate feature nightly
, or crate feature portable-atomic
) only.Expand description
Creates a new ObjectPool
singleton with the given $name
that manages the specified
$data_type
For more extensive documentation see the module level documentation