SysTlsf

Type Alias SysTlsf 

Source
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 use u32 or u64 for this.

Aliased Type§

pub struct SysTlsf<T> { /* private fields */ }

Implementations§

Source§

impl<T: BinaryUInteger> SysTlsf<T>

Source

pub fn new(size: T) -> Self

Construct a SysTlsf.

Source

pub fn with_capacity(size: T, capacity: usize) -> Self

Construct a SysTlsf with a specific capacity.