pan class="kw">struct</span> <span class="ident">Serial</span><span class="op">&lt;</span><span class="ident">USART</span><span class="op">&gt;</span> { <span class="ident">usart</span>: <span class="ident">USART</span> }

<span class="comment">// convenience type alias</span>
<span class="kw">pub</span> <span class="kw">type</span> <span class="ident">Serial1</span> <span class="op">=</span> <span class="ident">Serial</span><span class="op">&lt;</span><span class="ident">USART1</span><span class="op">&gt;<