Derive Name
Derive macro to get the name of a struct, enum or enum variant.
Name
use Name;
;
assert_eq!;
assert_eq!;
Named
use Named;
;
let her = Alice ;
let his = Variant;
assert_eq!;
assert_eq!;
VariantName
use VariantName;
assert_eq!;
Contributing
If you think you found a bug: open a issue. Feature request are also welcome.
License
This library is distributed under the terms of the ISC License.
Find an easy explanation on choosealicense.com/licenses/isc.