updating season enum traits

pull/5/head
Mingwei Samuel 2019-10-25 19:25:48 -07:00
parent 5b4981f227
commit 561eb04c48
2 changed files with 6 additions and 0 deletions

View File

@ -2,6 +2,9 @@
// Do not directly edit. // Do not directly edit.
/// League of Legends matchmaking seasons. /// League of Legends matchmaking seasons.
#[derive(Debug, Copy, Clone)]
#[derive(Eq, PartialEq, Hash, PartialOrd, Ord)]
#[repr(u8)]
pub enum Season { pub enum Season {
Preseason3 = 0, Preseason3 = 0,
Season3 = 1, Season3 = 1,

View File

@ -4,6 +4,9 @@
}}{{= dotUtils.preamble() }} }}{{= dotUtils.preamble() }}
/// League of Legends matchmaking seasons. /// League of Legends matchmaking seasons.
#[derive(Debug, Copy, Clone)]
#[derive(Eq, PartialEq, Hash, PartialOrd, Ord)]
#[repr(u8)]
pub enum Season { pub enum Season {
{{ {{
for (const { id, season } of seasons) { for (const { id, season } of seasons) {