nestum 0.3.2

Proc-macro for nested enum paths like Enum1::Variant1::VariantA
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use nestum::nestum;

#[path = "path_attr_inner.rs"]
mod inner;

#[nestum]
pub enum Outer {
    #[nestum(external = "crate::inner::Inner")]
    Wrap(Inner),
}

fn main() {}