<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>inon29</author_name>
  <author_url>https://blog.hatena.ne.jp/inon29/</author_url>
  <blog_title>It’s now or never</blog_title>
  <blog_url>https://inon29.hateblo.jp/</blog_url>
  <categories>
    <anon>Rust</anon>
  </categories>
  <description>Rustのトレイトオブジェクトとトレイト境界について整理。 トレイト(trait) doc.rust-jp.rs 任意の型となりうるSelfに対して定義されたメソッドの集合 多言語、例えばJavaで言えばInterfaceのようなもの trait Speak { fn speak(&amp;self); } トレイトオブジェクト doc.rust-jp.rs doc.rust-lang.org あるトレイトを実装した構造体(インスタンス)とtraitメソッドを検索するためのテーブルを指すとある。 impl Speak for Dog { fn speak(&amp;self) { println!(&quot;Woof…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finon29.hateblo.jp%2Fentry%2F2023%2F10%2F31%2F225353&quot; title=&quot;トレイトオブジェクトとトレイト境界の入門 - It’s now or never&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>2023-10-31 22:53:53</published>
  <title>トレイトオブジェクトとトレイト境界の入門</title>
  <type>rich</type>
  <url>https://inon29.hateblo.jp/entry/2023/10/31/225353</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
