Module :: inspect_type
Diagnostic-purpose tools to inspect type of a variable and its size.
Basic use-case
pub use *;
inspect_type_of!;
// < sizeof( &[1, 2, 3][..] : &[i32] ) = 16
inspect_type_of!;
// < sizeof( &[1, 2, 3] : &[i32; 3] ) = 8
To add to your project
Try out from the repository