unsafeEnumFromIndex

@trusted pure nothrow @nogc
T
unsafeEnumFromIndex
(
T
)
(
size_t index
)
if (
is(T == enum)
)

Parameters

index size_t

enum index std.traits.EnumMembers!T

Return Value

Type: T

A enum value that corresponds to the index. Note: The function doesn't check that index is less then EnumMembers!T.length.

Meta