mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 11:42:25 +00:00
xml: EnumVariant variant_names for untagged enums
This commit is contained in:
@@ -25,4 +25,7 @@ pub trait XmlRootTag {
|
||||
|
||||
pub trait EnumVariants {
|
||||
const TAGGED_VARIANTS: &'static [(Option<Namespace<'static>>, &'static str)];
|
||||
|
||||
// Returns all valid xml names including untagged variants
|
||||
fn variant_names() -> Vec<(Option<Namespace<'static>>, &'static str)>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user