fixed-array 0.2.0

Fixed-size array
Documentation
use std::ops::IndexMut;

pub trait Array: Sized + IndexMut<usize>
where
    Self::Output: Sized,
{
    type Item;
    const SIZE: usize;
}

impl<Item, const SIZE: usize> Array for [Item; SIZE] {
    type Item = Item;
    const SIZE: usize = SIZE;
}