{"title":"\u3010Rust\u3011Clone \u30c8\u30ec\u30a4\u30c8","image_url":"https://m.media-amazon.com/images/I/51M44jPsASL._SL500_.jpg","blog_title":"A Memorandum","published":"2024-08-14 00:00:00","author_name":"Naotsugu","version":"1.0","provider_name":"Hatena Blog","categories":[],"url":"https://blog1.mammb.com/entry/2024/08/14/000000","blog_url":"https://blog1.mammb.com/","type":"rich","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog1.mammb.com%2Fentry%2F2024%2F08%2F14%2F000000\" title=\"\u3010Rust\u3011Clone \u30c8\u30ec\u30a4\u30c8 - A Memorandum\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/Naotsugu/","height":"190","description":"std::clone::Clone\u30c8\u30ec\u30a4\u30c8 clone() \u30e1\u30bd\u30c3\u30c9 clone_from() \u30e1\u30bd\u30c3\u30c9 blog1.mammb.com std::clone::Clone\u30c8\u30ec\u30a4\u30c8 std::clone::Clone \u30c8\u30ec\u30a4\u30c8\u3092\u5b9f\u88c5\u3057\u305f\u5024\u306f\u3001\u81ea\u8eab\u306e\u30af\u30ed\u30fc\u30f3\u3092\u30e1\u30e2\u30ea\u4e0a\u306b\u65b0\u305f\u306b\u4f5c\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002 \u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5b9a\u7fa9\u3068\u306a\u3063\u3066\u3044\u308b\u3002 pub trait Clone: Sized { fn clone(&self) -> Self; fn clone_from(&mut self, source: &Self) { *self = source.clone() } } clone() \u30e1\u30bd\u30c3\u30c9\u306f\u3001self\u2026"}