These are chat archives for rust-lang/rust
iter()into a map I created myself
&[u8]and which provide accessors to parse the binary data. That's great (and fast) for reading the data format, but seems inconvenient for generation/writing. So I'm considering also having, for each of these types, a struct that can just own a bunch of fields, and then having both the borrowed-slice and plain-owned-struct forms implement a common trait.