Searched defs:EnumRanges (Results 1 – 2 of 2) sorted by relevance
69 type EnumRanges struct { struct70 List [][2]pref.EnumNumber // start inclusive; end inclusive71 once sync.Once72 sorted [][2]pref.EnumNumber // protected by once75 func (p *EnumRanges) Len() int { return len(p.List) }76 func (p *EnumRanges) Get(i int) [2]pref.EnumNumber { return p.List[i] }77 func (p *EnumRanges) Has(n pref.EnumNumber) bool {91 func (p *EnumRanges) Format(s fmt.State, r rune) { descfmt.FormatList(s, r, p) }92 func (p *EnumRanges) ProtoInternal(pragma.DoNotImplement) {}93 func (p *EnumRanges) lazyInit() *EnumRanges {[all …]
399 type EnumRanges interface { interface