pub trait AllocatorType: 'static {
// Required method
fn allocator() -> ddwaf_allocator;
}Expand description
Trait to encode which allocator should be used for deallocation in the type system.
Required Methods§
Sourcefn allocator() -> ddwaf_allocator
fn allocator() -> ddwaf_allocator
Get the allocator to use for deallocation.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".