【Rust音声学習 第98章】マーカートレイト ― メソッドのない約束 episode artwork

EPISODE · Mar 1, 2026 · 8 MIN

【Rust音声学習 第98章】マーカートレイト ― メソッドのない約束

from 聞き流しプログラミング言語学習 · host ますたーさん

第98章へようこそ。今日のテーマは「マーカートレイト」です。第94章でSizedを学びました。第97章でSendとSyncを学びました。これらには共通点がある。メソッドが一つもない。Iteratorにはnextがある。Displayにはfmtがある。Dropにはdropがある。しかしSized、Send、Syncにはメソッドがない。メソッドがないのに、何のために存在するのか。型の性質をコンパイラに伝えるためです。「この型はこういう性質を持つ」と宣言する。コンパイラはこの宣言を使って、安全でないコードを拒否する。こうしたトレイトを、マーカートレイトと呼びます。今日は、Sized、Send、Syncに続くマーカートレイトとして、CopyとUnpinを掘り下げ、マーカートレイト全体の仕組みを俯瞰します。

Episode metadata supplied by the publisher feed · Published Mar 1, 2026

Embed this episode

NOW PLAYING

【Rust音声学習 第98章】マーカートレイト ― メソッドのない約束

0:00 8:32

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

No similar episodes found.

No similar podcasts found.

Frequently Asked Questions

How long is this episode of 聞き流しプログラミング言語学習?

This episode is 8 minutes long.

When was this 聞き流しプログラミング言語学習 episode published?

This episode was published on March 1, 2026.

Can I download this 聞き流しプログラミング言語学習 episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.
URL copied to clipboard!