Closed ripytide closed 2 months ago
Specifically for this Rust allows using 0: as a field name.
Ah cool, I didn't know you could do that.
Regardless, I'd like to discuss the pros and cons of switching to a named struct over a tuple struct a bit more. I'll open an issue to make a case for the change.
This does require a change in the
Gray
andGrayAlpha
types to regular structs from tuple structs.