I have the following code:
#[derive(FromPrimitive, ToPrimitive, Clone, Copy, EnumCount, EnumIter, Default)]
pub enum FrequencyType {
Hertz,
#[default]
Milliseconds,
}
It works great, but the number of "derive" traits is just way too long.
Is there a way to create a custom Macro, which combines all these Macros into one?