Module compat

Module compat 

Source
Expand description

Contains wrappers that makes implementors of foreign Allocator traits implement this crate’s Allocator and vice versa.

Note that the bump allocator itself already implements foreign Allocator traits, so you generally only need this for a base allocator.

Structs§

AllocatorApi2V02Compatallocator-api2-02
Wraps an allocator_api2::alloc::Allocator to implement bump_scope::alloc::Allocator and vice versa.
AllocatorApi2V03Compatallocator-api2-03
Wraps an allocator_api2::alloc::Allocator to implement bump_scope::alloc::Allocator and vice versa.
AllocatorNightlyCompatalloc and nightly-allocator-api
Wraps an alloc::alloc::Allocator to implement bump_scope::alloc::Allocator and vice versa.