combine-structs 0.1.1

Proc macros for compile-time struct field merging.
Documentation
1
2
3
4
5
6
7
8
9
use combine_structs::Fields;

#[derive(Fields)]
pub enum Direction {
    Up,
    Down,
}

fn main() {}