an><span class="boring">   Quarter(UsState),
</span><span class="boring">}
</span><span class="boring">let coin = Coin::Penny;
</span>let mut count = 0;
match coin {
    // {:?}州のクォーターコイン
    Coin::Quarter(state) =&gt; println!(&quot;State quarter from {:?}!&quot;, state),
    _ =&gt; count += 1,
}
<span class="boring">}</span></code></pre></pre>
<!--
Or we could use an `if let` and `else` expression like this:
-->
<p>または、以下のように<code>if let</code>と<code>else</code>�