We often need to receive, validate, and process data objects. Sometimes, an array might be too dumb for the task at hand, requiring several unpleasant control structures to validate and setup.
An attribute proc macro to convert structs with named fields of the same generic type into a single-array-field tuple struct with array-index-based accessor and mutator methods.
I'm trying to write a multiplayer game, and have set up a struct to hold my packet data. This struct is about 140 bytes in size, and sometimes doesn't send all in one go. Does anyone know how to type ...