Searched defs:EnumRanges (Results 1 – 2 of 2) sorted by relevance
68 type EnumRanges struct { struct69 List [][2]protoreflect.EnumNumber // start inclusive; end inclusive70 once sync.Once71 sorted [][2]protoreflect.EnumNumber // protected by once74 func (p *EnumRanges) Len() int { return len(p.List) }75 func (p *EnumRanges) Get(i int) [2]protoreflect.EnumNumber { return p.List[i] }76 func (p *EnumRanges) Has(n protoreflect.EnumNumber) bool {90 func (p *EnumRanges) Format(s fmt.State, r rune) { descfmt.FormatList(s, r, p) }91 func (p *EnumRanges) ProtoInternal(pragma.DoNotImplement) {}92 func (p *EnumRanges) lazyInit() *EnumRanges {[all …]
403 type EnumRanges interface { interface