Macro generic_array::arr [−][src]
macro_rules! arr { ($T:ty; $(,)*) => { ... }; ($T:ty; $($x:expr),* $(,)*) => { ... }; ($($x:expr,)+) => { ... }; () => { ... }; }
Expand description
Macro allowing for easy generation of Generic Arrays.
Example: let test = arr![u32; 1, 2, 3];