Type Definition xalloc::tlsf::SysTlsf
[−]
[src]
type SysTlsf<T> = Tlsf<T, PooledArena<TlsfBlock<T, Ptr>, SysAllocator, Ptr>, Ptr>;
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.
Methods
impl<T: BinaryUInteger> SysTlsf<T>
[src]
fn new(size: T) -> Self
[src]
Construct a SysTlsf
.
fn with_capacity(size: T, capacity: usize) -> Self
[src]
Construct a SysTlsf
with a specific capacity.