Lines Matching refs:ReflectValueRef
15 use crate::reflect::ReflectValueRef;
89 fn get_field<'a>(&self, m: &'a M) -> ReflectValueRef<'a>; in get_field()
98 fn get_field<'a>(&self, m: &'a M) -> ReflectValueRef<'a> { in get_field()
112 fn get_ref<'a>(&self, m: &'a M) -> ReflectValueRef<'a> { in get_ref()
115 &SingularGetSet::String(get, _) => ReflectValueRef::String(get(m)), in get_ref()
116 &SingularGetSet::Bytes(get, _) => ReflectValueRef::Bytes(get(m)), in get_ref()
117 &SingularGetSet::Enum(ref get) => ReflectValueRef::Enum(get.get_enum(m)), in get_ref()
118 &SingularGetSet::Message(ref get) => ReflectValueRef::Message(get.get_message(m)), in get_ref()
174 fn get_value_option<'a>(&self, m: &'a M) -> Option<ReflectValueRef<'a>> { in get_value_option()
238 ReflectValueRef::Message(m) => m, in get_message_generic()
258 Some(ReflectValueRef::String(v)) => v, in get_str_generic()
266 Some(ReflectValueRef::Bytes(v)) => v, in get_bytes_generic()
274 Some(ReflectValueRef::U32(v)) => v, in get_u32_generic()
282 Some(ReflectValueRef::U64(v)) => v, in get_u64_generic()
290 Some(ReflectValueRef::I32(v)) => v, in get_i32_generic()
298 Some(ReflectValueRef::I64(v)) => v, in get_i64_generic()
306 Some(ReflectValueRef::Bool(v)) => v, in get_bool_generic()
314 Some(ReflectValueRef::F32(v)) => v, in get_f32_generic()
322 Some(ReflectValueRef::F64(v)) => v, in get_f64_generic()