4 releases
Uses old Rust 2015
0.1.3 | Sep 26, 2018 |
---|---|
0.1.2 | Aug 16, 2018 |
0.1.1 | Jul 2, 2018 |
0.1.0 | Jun 9, 2018 |
#8 in #reflect
149 downloads per month
Used in 2 crates
20KB
372 lines
This library produces type schema information, including field names and type names in hierarchical tree structure, which reflects the type definitions.
To avoid circular type definition, the pointer types( raw/smart pointers, references etc ) will be treated as terminal types,
unless using expand()
to get the referenced type's schemata()
.
Example
See fn serde_issue_345()
for generating pretty print format from schemata()
.
The reflection
crate currently provides reflection of field names and type names.
Licensed under MIT.
Dependencies
~235KB