-
I have a bunch of constants, like this:
I believe they can be OR'd together to create a final value - is there a way to create a rust type which will represent that, or will it need to be done manually? |
Beta Was this translation helpful? Give feedback.
Answered by
pvdrz
Apr 28, 2023
Replies: 1 comment 1 reply
-
That's a bit out of the scope of bindgen. You could use something like the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
belak
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That's a bit out of the scope of bindgen. You could use something like the
bitflags
crate on top of it I suppose.