def FormatEnumValueAsDefinitionListItem(type_context, enum_value):
    'Format a EnumValueDescriptorProto as RST definition list item.\n\n  Args:\n    type_context: contextual information for message/enum/field.\n    enum_value: EnumValueDescriptorProto.\n\n  Returns:\n    RST formatted definition list item.\n  '
    anchor = FormatAnchor(EnumValueCrossRefLabel(NormalizeTypeContextName(type_context.name)))
    default_comment = ('*(DEFAULT)* ' if (enum_value.number == 0) else '')
    leading_comment = type_context.leading_comment
    formatted_leading_comment = FormatCommentWithAnnotations(leading_comment)
    if HideNotImplemented(leading_comment):
        return ''
    comment = ((default_comment + UNICODE_INVISIBLE_SEPARATOR) + formatted_leading_comment)
    return (((anchor + enum_value.name) + '\n') + MapLines(functools.partial(Indent, 2), comment))
Format a EnumValueDescriptorProto as RST definition list item.

Args:
  type_context: contextual information for message/enum/field.
  enum_value: EnumValueDescriptorProto.

Returns:
  RST formatted definition list item.
def FormatEnumValueAsDefinitionListItem(type_context, enum_value):
    'Format a EnumValueDescriptorProto as RST definition list item.\n\n  Args:\n    type_context: contextual information for message/enum/field.\n    enum_value: EnumValueDescriptorProto.\n\n  Returns:\n    RST formatted definition list item.\n  '
    anchor = FormatAnchor(EnumValueCrossRefLabel(NormalizeTypeContextName(type_context.name)))
    default_comment = ('*(DEFAULT)* ' if (enum_value.number == 0) else )
    leading_comment = type_context.leading_comment
    formatted_leading_comment = FormatCommentWithAnnotations(leading_comment)
    if HideNotImplemented(leading_comment):
        return 
    comment = ((default_comment + UNICODE_INVISIBLE_SEPARATOR) + formatted_leading_comment)
    return (((anchor + enum_value.name) + '\n') + MapLines(functools.partial(Indent, 2), comment))