Here's the rust code `#[derive(Debug)] struct Point { x: f32, y: f32, } #[derive(Debug)] struct Rectangle { p1: Point, p2: Point, } impl Rectangle { fn ...
確定! 回上一頁