In Rust, you should expect default behavior of assign is moving! Copy. And you can expect if any type implements the Copy trait, will be copied.
確定! 回上一頁