#macro #structmap #struct #macro-derive #convert #proc #proc-macro

macro struct2map-derive

Proc derive macro for structmap crate

1 unstable release

0.1.6 Oct 11, 2022

#198 in #proc

49 downloads per month
Used in struct2map

MIT license

11KB
144 lines

structmap-derive

Implements the core procedural macro crate for structmap, with functionality for type conversion by wrangling with Rust's AST.


lib.rs:

Implements the functionality to enable conversion between a struct type a map container type in Rust through the use of a procedural macros.

Dependencies

~1.5MB
~33K SLoC