5 releases
0.1.4 | Dec 27, 2024 |
---|---|
0.1.3 | Dec 27, 2024 |
0.1.2 | Dec 27, 2024 |
0.1.1 | Dec 27, 2024 |
0.1.0 | Dec 27, 2024 |
#1149 in Procedural macros
326 downloads per month
Used in type-sig
11KB
239 lines
This crate allows you to get a recursive type signature of a provided type.
Example:
type_sig!(u8) // TypeSignature { name: "u8", id: TypeId(..), .. }
type_sig!(*const *mut u8) // TypeSignature { name: "*const *mut u8", .., children: [TypeSignature { name: "*mut u8", .. }] }
Dependencies
~230–670KB
~16K SLoC