Post #1470055
2024-03-24 11:14 UTC
@shanecelis This post is making me realize my subconscious bias toward only using a tuple struct when it has 1 field. I actually don't think I've ever constructed a tuple struct with 2+ fields.
Replies (1)
-
@shanecelis@mastodon.gamedev.place 2024-03-24 11:20
@dpom I only found this out because I did a refactor of `S { inner: u8 }` and replaced “inner" with “0” and almost everything still worked. But yes, I can do one or maybe even two elements in a positional struct but at three it's got to be refactored.