Home
last modified time | relevance | path

Searched defs:boolConverter (Results 1 – 1 of 1) sorted by relevance

/aosp_15_r20/external/golang-protobuf/internal/impl/
H A Dconvert.go145 type boolConverter struct { struct
146 goType reflect.Type
147 def protoreflect.Value
150 func (c *boolConverter) PBValueOf(v reflect.Value) protoreflect.Value {
156 func (c *boolConverter) GoValueOf(v protoreflect.Value) reflect.Value {
159 func (c *boolConverter) IsValidPB(v protoreflect.Value) bool {
163 func (c *boolConverter) IsValidGo(v reflect.Value) bool {
166 func (c *boolConverter) New() protoreflect.Value { return c.def }
167 func (c *boolConverter) Zero() protoreflect.Value { return c.def }