1fn print_type_of<T>(_: &T) {2 println!("{}", std::any::type_name::<T>())3}print-type
This article was last updated on May 27, 2026 and some of the information may no longer be applicable due to the passage of time.
Article title:print-type
Article author:Julyfun
Release time:Jan 15, 2024
Original link:https://how-to.fun/blog/langs/rust/print-type
Copyright 2026
Sitemap