#inspect #ever #u8 #type #mut #recursion #precisely

type-sig

Ever needed to inspect types more precisely? Then this crate is for you!

5 releases

0.1.4 Dec 27, 2024
0.1.3 Dec 27, 2024
0.1.2 Dec 27, 2024
0.1.1 Dec 27, 2024
0.1.0 Dec 27, 2024

#7 in #mut

Download history 323/week @ 2024-12-24 2/week @ 2025-01-07

325 downloads per month

Custom license

8KB
104 lines

Crates.io Version docs.rs This crate allows you to get a recursive type signature of a provided type.

Example:

type_sig!(u8) // TypeSignature { name: "u8", id: TypeId(..), .. }
type_sig!(*const *mut u8) // TypeSignature { name: "*const *mut u8", .., children: [TypeSignature { name: "*mut u8", .. }] }

Dependencies

~235–680KB
~16K SLoC