pub type SysTlsf<T> = Tlsf<T, PooledArena<TlsfBlock<T, Ptr>, SysAllocator, Ptr>, Ptr>;
Expand description
Tlsf
that uses the system allocator for the internal storage allocation.
Type parameter
T
is an integer type used to represent region sizes. You usually useu32
oru64
for this.
Implementations
sourceimpl<T: BinaryUInteger> SysTlsf<T>
impl<T: BinaryUInteger> SysTlsf<T>
sourcepub fn with_capacity(size: T, capacity: usize) -> Self
pub fn with_capacity(size: T, capacity: usize) -> Self
Construct a SysTlsf
with a specific capacity.