arraygen 0.1.15

Derive macro for generating arrays from struct fields.
Documentation
1
2
3
4
5
6
7
8
9
#![no_main]

extern crate arraygen;

use arraygen::Arraygen;

#[derive(Arraygen)]
#[gen_array(pub fn my_array)] //~ERROR 'gen_array' tried to declare a method 'my_array', but the return type syntax was wrong.
struct Empty{}