« Minimal Reproducible »

Home Tags About GitHub

print-type

Published at 2024-01-15
Last update over 365 days ago Licensed under CC BY-NC-SA 4.0 langsrust
fn print_type_of<T>(_: &T) {
    println!("{}", std::any::type_name::<T>())
}

« Minimal Reproducible »

Powered by Astro