Searched refs:FieldAccessorFunctions (Results 1 – 2 of 2) sorted by relevance
/external/rust/crates/protobuf/src/reflect/acc/ |
D | v1.rs | 139 pub(crate) enum FieldAccessorFunctions<M> { enum 155 impl<M> fmt::Debug for FieldAccessorFunctions<M> { implementation 158 &FieldAccessorFunctions::SingularHasGetSet { .. } => { in fmt() 161 &FieldAccessorFunctions::Simple(..) => write!(f, "Simple(..)"), in fmt() 162 &FieldAccessorFunctions::Optional(..) => write!(f, "Optional(..)"), in fmt() 163 &FieldAccessorFunctions::Repeated(..) => write!(f, "Repeated(..)"), in fmt() 164 &FieldAccessorFunctions::Map(..) => write!(f, "Map(..)"), in fmt() 170 pub(crate) fns: FieldAccessorFunctions<M>, 176 FieldAccessorFunctions::Repeated(..) | FieldAccessorFunctions::Map(..) => { in get_value_option() 179 FieldAccessorFunctions::Simple(ref a) => Some(a.get_field(m).as_ref()), in get_value_option() [all …]
|
D | mod.rs | 3 use crate::reflect::acc::v1::FieldAccessorFunctions; 24 fns: FieldAccessorFunctions<M>, in new_v1()
|