fn intToEnum(comptime EnumTag: type, tag_int: anytype) IntToEnumError!EnumTag

Parameters

EnumTag: type,
tag_int: anytype,