The great thing about traits in Rust is that you can keep the data ... + self.z+self.z).sqrt(); } } fn main() { let a = Vector3{x: 12.0, ...
確定! 回上一頁