If any of the items in the struct don't have the trait Copy , then you'll need to use Clone as a substitute. #[derive(Clone,Copy)] struct Point ...
確定! 回上一頁