Implement `Debug` trait on your types ```rust // debug.rs #[derive(Debug)] struct Foo { x: i32, y: i32 } fn main() { let foo = Foo { x: 1, y: 2 }; //println ...
確定! 回上一頁