gettype
Overview
gettype is a simple Rust crate that provides a function to retrieve the type of a variable as a string, useful for debugging and logging.
How to use
To use this crate, add it as a dependency in your Cargo.toml:
[]
= "1.0.0"
Example code:
use get_type;
Output:
Type of integer: i32
Type of floating: f64
Type of text: &str