I would like to use enums in Config::Input to differentiate different possible inputs.
Config::Input is requiring on Pod, which has a lot of constraints, main one is that any bit patterns should be correct, making most enum potentially unfit.
The trait Pod has been split in different traits in this PR: Lokathor/bytemuck#91 ; If I'm not mistaken, ideally CheckedBitPattern should be enough.
This should enable us to have enums within Config::Input.
Somewhat related issue: Lokathor/bytemuck#84
As noted #41 (comment), I think we're dependent on bytemuck to support more than fieldless enums.
I would like to use enums in
Config::Inputto differentiate different possible inputs.Config::Inputis requiring onPod, which has a lot of constraints, main one is that any bit patterns should be correct, making most enum potentially unfit.The trait
Podhas been split in different traits in this PR: Lokathor/bytemuck#91 ; If I'm not mistaken, ideallyCheckedBitPatternshould be enough.This should enable us to have enums within
Config::Input.Somewhat related issue: Lokathor/bytemuck#84
As noted #41 (comment), I think we're dependent on bytemuck to support more than fieldless enums.