Trait flex_alloc::vec::config::VecAlloc

source ·
pub trait VecAlloc {
    type RawAlloc: RawAlloc;
    type AllocHandle<T, I: Index>: AllocHandle<Alloc = Self::RawAlloc, Meta = VecData<T, I>>;
}

Required Associated Types§

source

type RawAlloc: RawAlloc

source

type AllocHandle<T, I: Index>: AllocHandle<Alloc = Self::RawAlloc, Meta = VecData<T, I>>

Object Safety§

This trait is not object safe.

Implementors§

source§

impl VecAlloc for Thin

source§

type RawAlloc = Global

source§

type AllocHandle<T, I: Index> = ThinAllocHandle<VecData<T, I>, Global>

source§

impl<A: RawAlloc> VecAlloc for A

source§

type RawAlloc = A

source§

type AllocHandle<T, I: Index> = FatAllocHandle<VecData<T, I>, A>