appropriate rust data structure for where C would use a bit field: a struct with bool fields? a bunch of u8 consts in a HashSet? a HashSet of some enum? a bit field? something else?
-
-
sure, but I'm also interested in what's a reasonably choice for this inside of std
-
I think using the crate is the reasonable choice here personally. Not everything has a good option in std
- 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.