Trait flex_alloc::vec::config::VecConfig

source ·
pub trait VecConfig {
    type Buffer<T>: VecBuffer<Data = T, Index = Self::Index>;
    type Grow: Grow;
    type Index: Index;
}

Required Associated Types§

source

type Buffer<T>: VecBuffer<Data = T, Index = Self::Index>

source

type Grow: Grow

source

type Index: Index

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<C: VecAlloc> VecConfig for C

source§

impl<C: VecAlloc, I: Index, G: Grow> VecConfig for Custom<C, I, G>

source§

type Buffer<T> = <C as VecAlloc>::AllocHandle<T, <Custom<C, I, G> as VecConfig>::Index>

source§

type Grow = G

source§

type Index = I

source§

impl<const N: usize> VecConfig for Inline<N>