updating season enum traits

This commit is contained in:
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.
/// League of Legends matchmaking seasons.
#[derive(Debug, Copy, Clone)]
#[derive(Eq, PartialEq, Hash, PartialOrd, Ord)]
#[repr(u8)]
pub enum Season {
Preseason3 = 0,
Season3 = 1,

View file

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