IconData should derive common functionality
lpotthast opened this issue · comments
IconData is a public item and does not derive anything. It should at least derive Debug
.
It could probably safely
#[derive(Debug, PartialEq, Eq, Clone, Copy)]
can you take at my answer about this: carloskiki/leptos-icons#13.
I think you are right and we could derive these functionalities safely.
Do you think serde should be derived for individual icon enums, or only for IconData
?
Big refactoring is in the way, I will make this change along with more stuff.