<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Naotsugu</author_name>
  <author_url>https://blog.hatena.ne.jp/Naotsugu/</author_url>
  <blog_title>A Memorandum</blog_title>
  <blog_url>https://blog1.mammb.com/</blog_url>
  <categories>
  </categories>
  <description>blog1.mammb.com Into トレイト std::convert::Intoトレイトはある型の値を消費して別の型を返す変換を表す。 以下の定義となっている。 pub trait Into&lt;T&gt;: Sized { fn into(self) -&gt; T; } std::convert::Intoトレイトは、std::convert::Fromトレイトと対を成す。 blog1.mammb.com これらは、同じことを行う2つの方法を提供しているに過ぎないが、使いみちは異なる。 From は汎用のコンストラクタとして機能するのに対し、Into は一般的に、関数が受け取る引数を柔軟にするため…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog1.mammb.com%2Fentry%2F2025%2F07%2F15%2F000000&quot; title=&quot;【Rust】Into トレイト - A Memorandum&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-07-15 00:00:00</published>
  <title>【Rust】Into トレイト</title>
  <type>rich</type>
  <url>https://blog1.mammb.com/entry/2025/07/15/000000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
