rust - '#[derive(Debug)]' 在Rust 中究竟是什么意思? ... 是attribute在 struct Person . derive(Debug) 要求编译器auto-generate Debug 的合适实现trait,提供 {:?} ...
確定! 回上一頁