Generate everything strum does myself (no duplicate prop names)

This commit is contained in:
Lennart
2025-01-18 20:00:26 +01:00
parent 39beee2f69
commit 8d1202234d
16 changed files with 69 additions and 74 deletions

View File

@@ -24,6 +24,9 @@ pub trait XmlRootTag {
fn root_ns_prefixes() -> HashMap<Namespace<'static>, &'static [u8]>;
}
#[derive(Debug)]
pub struct FromStrError;
pub trait EnumVariants {
const TAGGED_VARIANTS: &'static [(Option<Namespace<'static>>, &'static str)];