1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
use allsorts::tag; #[derive(Clone, Copy, Debug, PartialEq)] pub enum ImtScript { Default, } impl ImtScript { pub(crate) fn tag(&self) -> u32 { match self { &ImtScript::Default => tag::from_string("DFLT").unwrap(), } } } #[derive(Clone, Copy, Debug, PartialEq)] pub enum ImtLang { Default, } impl ImtLang { pub(crate) fn tag(&self) -> u32 { match self { &ImtLang::Default => tag::from_string("dflt").unwrap(), } } }