doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html
Preview meta tags from the doc.rust-lang.org website.
Linked Hostnames
2General Meta Tags
6- titleToOwned in alloc::borrow - Rust
- charsetutf-8
- viewportwidth=device-width, initial-scale=1.0
- generatorrustdoc
- descriptionA generalization of `Clone` to borrowed data.
Link Tags
4- alternate icon../../static.files/favicon-32x32-6580c154.png
- icon../../static.files/favicon-044be391.svg
- stylesheet../../static.files/normalize-9960930a.css
- stylesheet../../static.files/rustdoc-aa0817cf.css
Links
3- https://doc.rust-lang.org/nightly/reference/items/traits.html#dyn-compatibility
- https://play.rust-lang.org/?code=%23!%5Ballow(unused)%5D%0Afn+main()+%7B%0A++++let+mut+s:+String+=+String::new();%0A++++%22hello%22.clone_into(%26mut+s);%0A++++%0A++++let+mut+v:+Vec%3Ci32%3E+=+Vec::new();%0A++++%5B1,+2%5D%5B..%5D.clone_into(%26mut+v);%0A%7D&edition=2024
- https://play.rust-lang.org/?code=%23!%5Ballow(unused)%5D%0Afn+main()+%7B%0A++++let+s:+%26str+=+%22a%22;%0A++++let+ss:+String+=+s.to_owned();%0A++++%0A++++let+v:+%26%5Bi32%5D+=+%26%5B1,+2%5D;%0A++++let+vv:+Vec%3Ci32%3E+=+v.to_owned();%0A%7D&edition=2024