EnumBase.opIn_r

Looks up an enum member's name from its value.

  1. Name* opIn_r(Value v)
    template EnumBase(T...)
    override
    opIn_r
  2. Value* opIn_r(Name n)

Parameters

v Value

value to look up

Return Value

Type: Name*

pointer to corresponding name, or null if value doesn't exist in enum

Meta