注意`write!` 的用法和`println!` 很相似。 write!(f, "{}", self.0) } } }. fmt::Display 的效果可能比 fmt::Debug 简洁,但对于 std 库来说,这就有一个问题。
確定! 回上一頁