These are chat archives for rust-lang/rust
Hi all I have a random problem:
I have a unsigned int (u32) that breaks down into multiple fields of data (Its actually a CPU instruction, I am extracting data from) is there a way I can write a data structure in rust to expose the fields in my u32?
[item0, item1, item2, item3]and call
into_iteron them to get an owned iterator, but this gives me a an iterator over references. Any workarounds?