xalloc
Dynamic suballocators for external memory (e.g., Vulkan device memory).
Examples
let mut tlsf = new;
// Allocate regions
let = tlsf.alloc.unwrap;
let = tlsf.alloc.unwrap;
println!;
println!;
// Deallocate a region
tlsf.dealloc.unwrap;
// Now we can allocate again
tlsf.alloc.unwrap;
tlsf.alloc.unwrap;
Feature Flags
nightly
— Enables optimizations which currently require a Nightly Rust compiler.
License: MIT