摘要:
理解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
阅读(1904)
评论(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
阅读(1886)
评论(0)
推荐(0)
浙公网安备 33010602011771号