1
0
Fork 0
mirror of https://codeberg.org/demostf/parser.git synced 2026-06-04 02:24:12 +02:00

use vec for event definitions

This commit is contained in:
Robin Appelman 2019-08-28 16:00:47 +02:00
commit b6f7ebb15a
4 changed files with 14 additions and 19 deletions

View file

@ -13,7 +13,7 @@ use std::ops::Deref;
use std::rc::Rc;
use std::str::FromStr;
#[derive(BitRead, Debug, Clone, Copy, PartialEq, Eq, Hash)]
#[derive(BitRead, Debug, Clone, Copy, PartialEq, Eq, Hash, Ord, PartialOrd)]
pub struct ClassId(u16);
impl FromStr for ClassId {