1 messages · Page 1 of 1 (latest)
Say i have an enum thats represented by u8
But i only have a few enums
@enumFromInt says it will trigger undefined behavior?
So whats the safest way to cast to enum?
https://ziglang.org/documentation/master/std/#std.meta.intToEnum
WOAH
nice