2020年4月14日
摘要: 理解Rust的引用与借用(好文链接) #![feature(core_intrinsics)] fn print_type_of<T>(_: T) { println!("{}", unsafe { std::intrinsics::type_name::<T>() }); } fn main() 阅读全文
posted @ 2020-04-14 17:09 chen8840 阅读(1860) 评论(0) 推荐(0) 编辑
摘要: #![feature(core_intrinsics)] fn print_type_of<T>(_: T) { println!("{}", unsafe { std::intrinsics::type_name::<T>() }); } fn main() { print_type_of(32. 阅读全文
posted @ 2020-04-14 15:54 chen8840 阅读(1817) 评论(0) 推荐(0) 编辑