@rustlang is there not an idiomatic way of making a series of flags which can be anded/ored together without pulling in a crate or spending all day writing operator overloads for a custom type?
-
-
It’s pretty basic functionality to be forced to rely on external code for.
-
Not all programs use this kind of thing. What’s basic or not depends on the kind of software you’re building.
- 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.