摘要: 1 struct Targ { 2 w:u32, 3 h:u32, 4 } 5 impl Targ { 6 fn aera(&self) -> u32 { 7 self.w * self.h 8 } 9 fn sround(&self) -> u32 { 10 (self.w + self.h ) 阅读全文
posted @ 2021-12-09 08:44 天使不设防 阅读(139) 评论(0) 推荐(0) 编辑