Skip to main content

BufferAllocator

Trait BufferAllocator 

Source
pub trait BufferAllocator:
    Allocator
    + Debug
    + Send
    + Sync
    + 'static { }
Expand description

An allocator that can back a Vortex buffer.

Vortex over-allocates raw storage and aligns the buffer within it.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<A> BufferAllocator for A
where A: Allocator + Debug + Send + Sync + 'static,