refactor: Created a derive macro for defining the display style of Enum models and removed the use of the EnumDisplayStyle trait

This commit is contained in:
Dark-Alex-17 committed 2025-03-06 15:29:30 -07:00
1 parent 7381eaef57
commit f97d46cec3
20 files changed
+305 -271

No files matched your search

@@ -0,0 +1,7 @@
use darling::FromVariant;
#[derive(Debug, FromVariant)]
#[darling(attributes(display_style))]
pub struct DisplayStyleArgs {
pub name: Option<String>
}