Macro helix::codegen_struct [] [src]

macro_rules! codegen_struct {
    { pub: false, name: $name:tt, struct: () } => { ... };
    { pub: true, name: $name:tt, struct: () } => { ... };
    { pub: false, name: $name:tt, struct: { $($rest:tt)* } } => { ... };
    { pub: true, name: $name:tt, struct: { $($rest:tt)* } } => { ... };
    {
        pub: { $($pub:tt)* },
        name: $name:tt,
        struct: { $($struct:tt)* }
    } => { ... };
}