structs 同樣,一個結構可以解構如圖所示: fn main() { struct Foo { x: (u32, u32), y: u32 } // destructure members of the struct let foo = Foo { x: (1, 2), ...
確定! 回上一頁