Tuples in Rust are simply written (a, b, …, c). For example, a tuple containing 2, 3, and “foo” would be [code]let x: (i32, i32, String) = (2, 3, ...
確定! 回上一頁