to_owned () is a Rust method that several data types implement, and is intended for exactly this situation. From the docs: [ ToOwned is] A ...
確定! 回上一頁