Consider an enum definition like this:enum Money { USD(u32), EUR(u32), CHF(u32), // many more...} Note that all enum variants are of type u32.fn ...
確定! 回上一頁