Hey @rustlang folks! Any way of converting a c-like bitflag enum to an integer type. Doing ‘as u16’ doesn’t seem to work.
-
-
Yep, that was exactly that. I don’t really understand why they are needed though. Is it copying the value out of my iter?
-
If you do `.iter`, that iterates over references to each element. To take the value out requires a copy. `.into_iter` takes ownership
- 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.