An open API service indexing awesome lists of open source software.

https://github.com/jakobhellermann/pretty-type-name


https://github.com/jakobhellermann/pretty-type-name

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# pretty-type-name

A shorter version of `std::any::type_name`.

## Example

```rust
use pretty_type_name::pretty_type_name;

mod foo {
pub mod bar {
pub struct X(T);
}

pub struct Y;
}

println!(pretty_type_name::>());
// prints `X`
```