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::combine_fields;

#[combine_fields(DoesNotExist)]
#[derive(Debug)]
pub struct Target {
    pub x: f64,
}

fn main() {}