Trait smallvec::Array[][src]

pub unsafe trait Array {
    type Item;
    fn size() -> usize;
}

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

Associated Types

type Item[src]

The type of the array’s elements.

Loading content...

Required methods

fn size() -> usize[src]

Returns the number of items the array can hold.

Loading content...

Implementors

impl<T> Array for [T; 0][src]

type Item = T

impl<T> Array for [T; 1][src]

type Item = T

impl<T> Array for [T; 2][src]

type Item = T

impl<T> Array for [T; 3][src]

type Item = T

impl<T> Array for [T; 4][src]

type Item = T

impl<T> Array for [T; 5][src]

type Item = T

impl<T> Array for [T; 6][src]

type Item = T

impl<T> Array for [T; 7][src]

type Item = T

impl<T> Array for [T; 8][src]

type Item = T

impl<T> Array for [T; 9][src]

type Item = T

impl<T> Array for [T; 10][src]

type Item = T

impl<T> Array for [T; 11][src]

type Item = T

impl<T> Array for [T; 12][src]

type Item = T

impl<T> Array for [T; 13][src]

type Item = T

impl<T> Array for [T; 14][src]

type Item = T

impl<T> Array for [T; 15][src]

type Item = T

impl<T> Array for [T; 16][src]

type Item = T

impl<T> Array for [T; 17][src]

type Item = T

impl<T> Array for [T; 18][src]

type Item = T

impl<T> Array for [T; 19][src]

type Item = T

impl<T> Array for [T; 20][src]

type Item = T

impl<T> Array for [T; 21][src]

type Item = T

impl<T> Array for [T; 22][src]

type Item = T

impl<T> Array for [T; 23][src]

type Item = T

impl<T> Array for [T; 24][src]

type Item = T

impl<T> Array for [T; 25][src]

type Item = T

impl<T> Array for [T; 26][src]

type Item = T

impl<T> Array for [T; 27][src]

type Item = T

impl<T> Array for [T; 28][src]

type Item = T

impl<T> Array for [T; 29][src]

type Item = T

impl<T> Array for [T; 30][src]

type Item = T

impl<T> Array for [T; 31][src]

type Item = T

impl<T> Array for [T; 32][src]

type Item = T

impl<T> Array for [T; 36][src]

type Item = T

impl<T> Array for [T; 64][src]

type Item = T

impl<T> Array for [T; 96][src]

type Item = T

impl<T> Array for [T; 128][src]

type Item = T

impl<T> Array for [T; 256][src]

type Item = T

impl<T> Array for [T; 512][src]

type Item = T

impl<T> Array for [T; 1024][src]

type Item = T

impl<T> Array for [T; 1536][src]

type Item = T

impl<T> Array for [T; 2048][src]

type Item = T

impl<T> Array for [T; 4096][src]

type Item = T

impl<T> Array for [T; 8192][src]

type Item = T

impl<T> Array for [T; 16384][src]

type Item = T

impl<T> Array for [T; 24576][src]

type Item = T

impl<T> Array for [T; 32768][src]

type Item = T

impl<T> Array for [T; 65536][src]

type Item = T

impl<T> Array for [T; 131072][src]

type Item = T

impl<T> Array for [T; 262144][src]

type Item = T

impl<T> Array for [T; 393216][src]

type Item = T

impl<T> Array for [T; 524288][src]

type Item = T

impl<T> Array for [T; 1048576][src]

type Item = T

Loading content...