mokuya 0.0.4

Generic procedural macro helpers for parsing, type analysis, and derive macro generation.
Documentation
1
2
3
4
5
use syn::{DeriveInput, Ident};

pub fn get_struct_name(input: &DeriveInput) -> Ident {
    input.ident.clone()
}