Crate nameof [−] [src]
Rust name_of! Macro
MIT License Copyright (c) 2018 SilentByte https://silentbyte.com/
Macros
name_of |
Takes a binding, type, or function as an argument and returns its
unqualified string representation. If the identifier does not exist
in the current context, the macro will cause a compilation error.
This macro is mainly intended for debugging purposes and to improve
the refactoring experience compared to |
name_of_type |
Alternative for the |