nameof icon indicating copy to clipboard operation
nameof copied to clipboard

Provides a Rust macro to determine the string name of a binding, type, or function.

Results 6 nameof issues
Sort by recently updated
recently updated
newest added

Given this code: ```rs static mut TEST: u8 = 0; fn main() { println!("{}", ::nameof::name_of!(TEST)); } ``` the compiler fails with this error: ``` error[E0133]: use of mutable static is...

It's currently not possible to use `name_of_type!(Self)` to get the actual type name. If there is a way to support this, that would be great, but until then, it would...

Hi, I'm trying to implement Debug or Format for enums (yes, I know about the derive) and don't want to hardcode enum tag names as strings. Potentially, enum tags can...

Hi, I would like to use this crate in an embedded project, but it currently requires `std`. Having `no_std` would be really nice.