Struct divans::alloc_util::CachedAllocator[][src]

pub struct CachedAllocator<'a, T: 'a, AllocT: 'a + Allocator<T>, ShouldClear: ShouldClearCacheOnAlloc<T>> { /* fields omitted */ }

Trait Implementations

impl<'a, T: 'a, AllocT: 'a + Allocator<T>, ShouldClear: ShouldClearCacheOnAlloc<T>> Allocator<T> for CachedAllocator<'a, T, AllocT, ShouldClear>
[src]

Auto Trait Implementations

impl<'a, T, AllocT, ShouldClear> Send for CachedAllocator<'a, T, AllocT, ShouldClear> where
    AllocT: Send,
    ShouldClear: Send,
    <AllocT as Allocator<T>>::AllocatedMemory: Send

impl<'a, T, AllocT, ShouldClear> Sync for CachedAllocator<'a, T, AllocT, ShouldClear> where
    AllocT: Sync,
    ShouldClear: Sync,
    <AllocT as Allocator<T>>::AllocatedMemory: Sync