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.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T> Array for [T; 0]

source§

impl<T> Array for [T; 1]

source§

impl<T> Array for [T; 2]

source§

impl<T> Array for [T; 3]

source§

impl<T> Array for [T; 4]

source§

impl<T> Array for [T; 5]

source§

impl<T> Array for [T; 6]

source§

impl<T> Array for [T; 7]

source§

impl<T> Array for [T; 8]

source§

impl<T> Array for [T; 9]

source§

impl<T> Array for [T; 10]

source§

impl<T> Array for [T; 11]

source§

impl<T> Array for [T; 12]

source§

impl<T> Array for [T; 13]

source§

impl<T> Array for [T; 14]

source§

impl<T> Array for [T; 15]

source§

impl<T> Array for [T; 16]

source§

impl<T> Array for [T; 17]

source§

impl<T> Array for [T; 18]

source§

impl<T> Array for [T; 19]

source§

impl<T> Array for [T; 20]

source§

impl<T> Array for [T; 21]

source§

impl<T> Array for [T; 22]

source§

impl<T> Array for [T; 23]

source§

impl<T> Array for [T; 24]

source§

impl<T> Array for [T; 25]

source§

impl<T> Array for [T; 26]

source§

impl<T> Array for [T; 27]

source§

impl<T> Array for [T; 28]

source§

impl<T> Array for [T; 29]

source§

impl<T> Array for [T; 30]

source§

impl<T> Array for [T; 31]

source§

impl<T> Array for [T; 32]

source§

impl<T> Array for [T; 36]

source§

impl<T> Array for [T; 64]

source§

impl<T> Array for [T; 96]

source§

impl<T> Array for [T; 128]

source§

impl<T> Array for [T; 256]

source§

impl<T> Array for [T; 512]

source§

impl<T> Array for [T; 1024]

source§

impl<T> Array for [T; 1536]

source§

impl<T> Array for [T; 2048]

source§

impl<T> Array for [T; 4096]

source§

impl<T> Array for [T; 8192]

source§

impl<T> Array for [T; 16384]

source§

impl<T> Array for [T; 24576]

source§

impl<T> Array for [T; 32768]

source§

impl<T> Array for [T; 65536]

source§

impl<T> Array for [T; 131072]

source§

impl<T> Array for [T; 262144]

source§

impl<T> Array for [T; 393216]

source§

impl<T> Array for [T; 524288]

source§

impl<T> Array for [T; 1048576]

Implementors§