How can I use bitmasks (enum) in Array of Structure?

How can I use bitmasks (enum) in Array of Structure?

I cannot create them first in struct.

Are you asking how to use them or how to create them?

Ah, scratch that. Nvm, did not realise you cannot have them in a struct. Somehow I did not try that. This does not seems to be supported among many other things in structs.

or maybe it’s possible in C++ or not.