Implement BitOr
for common enum types
#954
Labels
c: engine
Godot classes (nodes, resources, ...)
quality-of-life
No new functionality, but improves ergonomics/internals
Hey hey. Enum flags could be more intuitive to use if implementing the
BitOr
trait, which enables support for cases such as:further docs for this trait are available here
A potential implementation could look like:
The text was updated successfully, but these errors were encountered: