Trait Array

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

Required Associated Constants§

Required Associated Types§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<Item, const SIZE: usize> Array for [Item; SIZE]

Source§

const SIZE: usize = SIZE

Source§

type Item = Item

Implementors§