Lines Matching refs:ReflectRepeatedRef
112 pub enum ReflectRepeatedRef<'a> { enum
127 impl<'a> ReflectRepeatedRef<'a> { implementation
130 ReflectRepeatedRef::Generic(ref r) => r.len(), in len()
131 ReflectRepeatedRef::U32(ref r) => r.len(), in len()
132 ReflectRepeatedRef::U64(ref r) => r.len(), in len()
133 ReflectRepeatedRef::I32(ref r) => r.len(), in len()
134 ReflectRepeatedRef::I64(ref r) => r.len(), in len()
135 ReflectRepeatedRef::F32(ref r) => r.len(), in len()
136 ReflectRepeatedRef::F64(ref r) => r.len(), in len()
137 ReflectRepeatedRef::Bool(ref r) => r.len(), in len()
138 ReflectRepeatedRef::String(ref r) => r.len(), in len()
139 ReflectRepeatedRef::Bytes(ref r) => r.len(), in len()
140 ReflectRepeatedRef::Enum(ref r) => r.len(), in len()
141 ReflectRepeatedRef::Message(ref r) => r.len(), in len()
147 ReflectRepeatedRef::Generic(ref r) => r.get(index).as_ref(), in get()
148 ReflectRepeatedRef::U32(ref r) => ReflectValueRef::U32(r[index]), in get()
149 ReflectRepeatedRef::U64(ref r) => ReflectValueRef::U64(r[index]), in get()
150 ReflectRepeatedRef::I32(ref r) => ReflectValueRef::I32(r[index]), in get()
151 ReflectRepeatedRef::I64(ref r) => ReflectValueRef::I64(r[index]), in get()
152 ReflectRepeatedRef::F32(ref r) => ReflectValueRef::F32(r[index]), in get()
153 ReflectRepeatedRef::F64(ref r) => ReflectValueRef::F64(r[index]), in get()
154 ReflectRepeatedRef::Bool(ref r) => ReflectValueRef::Bool(r[index]), in get()
155 ReflectRepeatedRef::String(ref r) => ReflectValueRef::String(&r[index]), in get()
156 ReflectRepeatedRef::Bytes(ref r) => ReflectValueRef::Bytes(&r[index]), in get()
157 ReflectRepeatedRef::Enum(ref r) => r.get(index), in get()
158 ReflectRepeatedRef::Message(ref r) => r.get(index), in get()
164 repeated: &'a ReflectRepeatedRef<'a>,
182 impl<'a> IntoIterator for &'a ReflectRepeatedRef<'a> { implementation