[][src]Trait smallvec::Array

pub unsafe trait Array {
    type Item;
    fn size() -> usize;
fn ptr(&self) -> *const Self::Item;
fn ptr_mut(&mut self) -> *mut Self::Item; }

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

Associated Types

The type of the array's elements.

Required Methods

Returns the number of items the array can hold.

Returns a pointer to the first element of the array.

Returns a mutable pointer to the first element of the array.

Implementations on Foreign Types

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Implementors