<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>plarail_hangout</author_name>
  <author_url>https://blog.hatena.ne.jp/plarail_hangout/</author_url>
  <blog_title>Engineering Tech Dojo</blog_title>
  <blog_url>https://tech.fun-toy-life.com/</blog_url>
  <categories>
    <anon>Rust</anon>
  </categories>
  <description>Rustのトレイト入門：実装方法を基礎から解説 はじめに Rustを学んでいると trait という言葉が頻繁に出てきます。トレイトはRustの型システムの中心的な概念で、「型がどんな操作をサポートするか」を定義する仕組みです。 この記事ではトレイトの基本的な書き方と実装方法を解説します。 トレイトとは トレイトは「メソッドのシグネチャの集まり」を定義するものです。他の言語のインターフェースに近い概念です。 trait Animal { fn name(&amp;self) -&gt; &amp;str; fn sound(&amp;self) -&gt; &amp;str; } このトレイトを実装した型は name() と sound…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.fun-toy-life.com%2Fentry%2F2026%2F05%2F19%2F115244&quot; title=&quot;Rustのトレイト入門：実装方法を基礎から解説 - Engineering Tech Dojo&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>2026-05-19 11:52:44</published>
  <title>Rustのトレイト入門：実装方法を基礎から解説</title>
  <type>rich</type>
  <url>https://tech.fun-toy-life.com/entry/2026/05/19/115244</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
