Trait VecConfig

Source
pub trait VecConfig {
    type Buffer<T>: VecBuffer<Item = T, Index = Self::Index>;
    type Grow: Grow;
    type Index: Index;
}
Expand description

Define the associated types for Vec instances.

Required Associated Types§

Source

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

The internal buffer type.

Source

type Grow: Grow

The growth strategy.

Source

type Index: Index

The index type used to define the capacity and length.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§