This commit is contained in:
Dominik Werder
2024-09-23 21:54:33 +02:00
parent 300a386a6a
commit 5c60dfee5c
8 changed files with 546 additions and 145 deletions
+4
View File
@@ -691,6 +691,10 @@ impl EnumVariant {
pub fn name_string(&self) -> String {
self.name.clone()
}
pub fn into_parts(self) -> (u16, String) {
(self.ix, self.name)
}
}
impl Default for EnumVariant {