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

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

Implementors