Struct divans::alloc_util::RepurposingAlloc[][src]

pub struct RepurposingAlloc<T, AllocT: Allocator<T>> { /* fields omitted */ }

This struct can be configured in a mode where a single allocation is reused for ever larger allocations

Methods

impl<T, AllocT: Allocator<T>> RepurposingAlloc<T, AllocT>
[src]

Important traits for &'a mut I

Trait Implementations

impl<T, AllocT: Allocator<T>> Allocator<T> for RepurposingAlloc<T, AllocT>
[src]

Auto Trait Implementations

impl<T, AllocT> Send for RepurposingAlloc<T, AllocT> where
    AllocT: Send,
    <AllocT as Allocator<T>>::AllocatedMemory: Send

impl<T, AllocT> Sync for RepurposingAlloc<T, AllocT> where
    AllocT: Sync,
    <AllocT as Allocator<T>>::AllocatedMemory: Sync