Trait smallvec::Array

source ·
pub unsafe trait Array {
    type Item;

    // Required method
    fn size() -> usize;
}
Expand description

Types that can be used as the backing store for a SmallVec.

Required Associated Types§

source

type Item

The type of the array’s elements.

Required Methods§

source

fn size() -> usize

Returns the number of items the array can hold.

Implementations on Foreign Types§

source§

impl<T, const N: usize> Array for [T; N]

§

type Item = T

source§

fn size() -> usize

Implementors§