FWIW, this is identical to Alternative syntax for working with enums (which I linked to in the "Bring enum variants in scope for patterns" thread).
FWIW, this is identical to Alternative syntax for working with enums (which I linked to in the "Bring enum variants in scope for patterns" thread).