aboutsummaryrefslogtreecommitdiff
path: root/mingling_pathf/test/src/test_files/test_groupped_derive.rs
blob: f6c6fa94479d31ea6dfe344616194d80a01a85d6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#[derive(Groupped)]
struct Derived1 {
    value: String,
}

#[derive(Groupped, Debug, Clone)]
struct Derived2 {
    value: i32,
}

#[derive(GrouppedSerialize)]
struct Derived3 {
    value: bool,
}

pub mod sub {
    #[derive(Groupped)]
    struct Derived1 {
        value: String,
    }

    #[derive(GrouppedSerialize)]
    struct Derived3 {
        value: bool,
    }
}