/span> <span class='ident'>add</span>(<span class='self'>self</span>, <span class='ident'>rhs</span>: <span class='ident'>RHS</span>) <span class='op'>-&gt;</span> <span class='self'>Self</span>::<span class='ident'>Output</span>;
}</pre>

<!-- There’s three types in total involved here: the type you `impl Add` for, `RHS`, -->

<!-- which defaults to `Self`, and `Output`. For an expression `let z = x + y`, `x` -->

<!-- is the `Self` type, `y` is the RHS, and `z` is the `Self::Output` type. -->

<p>関連