T-Bakker
T-Bakker
Hi, Thank you for looking in to it. I did not investigate that far. The numtraits are indeed to restrictive in that sense. Ideally, numtraits would be modified to allow...
Is it possible to make the `fn new() -> Self`, `fn with_a(self, new_value: bool) -> Self`, and/or `fn with_a_checked(self, new_value: bool) -> Result` a `const fn` as they do not...
Ah, thank you for letting me know. I will have to work around this using `lazy_static` then.
Please note that this could also be extended into skipping all getters/setters for a bitfield, thus avoiding having to specify this for every member of the bitfield, like as such:...
Yes, I agree. My syntax was an example to get the idea across :).
I have created a PR for this: https://github.com/stm32-rs/bxcan/pull/59