[][src]Macro generic_array::arr

macro_rules! arr {
    ($T:ty; $(,)*) => { ... };
    ($T:ty; $($x:expr),* $(,)*) => { ... };
    ($($x:expr,)+) => { ... };
    () => { ... };
}

Macro allowing for easy generation of Generic Arrays. Example: let test = arr![u32; 1, 2, 3];