Hi. Although it sounds quite obvious, nevertheless, by reading documentation I didn’t understand
the proper way to store flags, sadly.
#define FIRSTFLAG = 0x01
#define SECONDFLAG = 0x02
#define THIRDFLAG = 0x04
Should I use constants, or struct, or enum, or macros to convert above C code into idiomatic Rust code?
Thanks.