Registry / utility / typename

typename

JSON →
library0.1.2rscratesunverified

A stable alternative to Rust's type_name intrinsic.

# Cargo.toml [dependencies] typename = "0.1.2"
INSTALL
IMPORT
SIG · TYPENAME
T
typename
utilityrustv0.1.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

TypeName
use typename::TypeName;

Gets the type name of i32.

use typename::TypeName; fn main() { let name = i32::type_name(); println!("{}", name); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
typename — cargo add typename · libregistry