Copyright 2019 The Go Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

package impl

import (
	

	pref 
)

type EnumInfo struct {
	GoReflectType reflect.Type // int32 kind
	Desc          pref.EnumDescriptor
}

func ( *EnumInfo) ( pref.EnumNumber) pref.Enum {
	return reflect.ValueOf().Convert(.GoReflectType).Interface().(pref.Enum)
}