Hey @rustlang folks! Any way of converting a c-like bitflag enum to an integer type. Doing ‘as u16’ doesn’t seem to work.
If you do `.iter`, that iterates over references to each element. To take the value out requires a copy. `.into_iter` takes ownership
-
-
Hum. That make sense. Thank you!
-
Distinction really only matters for non-Copy types. Since your type is copy, it's just an extra `&` or `*`
End of conversation
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.