pub unsafe trait Array {
type Item;
fn size() -> usize;
}
Expand description
Types that can be used as the backing store for a SmallVec
The type of the array’s elements.
Returns the number of items the array can hold.
impl<T> Array for [T; 10]
impl<T> Array for [T; 11]
impl<T> Array for [T; 12]
impl<T> Array for [T; 13]
impl<T> Array for [T; 14]
impl<T> Array for [T; 15]
impl<T> Array for [T; 16]
impl<T> Array for [T; 17]
impl<T> Array for [T; 18]
impl<T> Array for [T; 19]
impl<T> Array for [T; 20]
impl<T> Array for [T; 21]
impl<T> Array for [T; 22]
impl<T> Array for [T; 23]
impl<T> Array for [T; 24]
impl<T> Array for [T; 25]
impl<T> Array for [T; 26]
impl<T> Array for [T; 27]
impl<T> Array for [T; 28]
impl<T> Array for [T; 29]
impl<T> Array for [T; 30]
impl<T> Array for [T; 31]
impl<T> Array for [T; 32]
impl<T> Array for [T; 36]
impl<T> Array for [T; 64]
impl<T> Array for [T; 96]
impl<T> Array for [T; 128]
impl<T> Array for [T; 256]
impl<T> Array for [T; 512]
impl<T> Array for [T; 1024]
impl<T> Array for [T; 1536]
impl<T> Array for [T; 2048]
impl<T> Array for [T; 4096]
impl<T> Array for [T; 8192]
impl<T> Array for [T; 16384]
impl<T> Array for [T; 24576]
impl<T> Array for [T; 32768]
impl<T> Array for [T; 65536]
impl<T> Array for [T; 131072]
impl<T> Array for [T; 262144]
impl<T> Array for [T; 393216]
impl<T> Array for [T; 524288]
impl<T> Array for [T; 1048576]