ident'>TraitObject</span> {
    <span class='kw'>pub</span> <span class='ident'>data</span>: <span class='op'>*</span><span class='kw-2'>mut</span> (),
    <span class='kw'>pub</span> <span class='ident'>vtable</span>: <span class='op'>*</span><span class='kw-2'>mut</span> (),
}</pre>

<!-- That is, a trait object like `&Foo` consists of a ‘data’ pointer and a ‘vtable’ pointer. -->

<p>つまり、 <code>&amp;Foo</code> のようなトレイトオブジェクトは「data」ポインタと「vtable�