Function protobuf::reflect::accessor::make_vec_accessor [] [src]

pub fn make_vec_accessor<M, V>(name: &'static str,
                               get_vec: fn<'a>(_: &'a M) -> &'a Vec<V::Value>,
                               mut_vec: fn<'a>(_: &'a mut M) -> &'a mut Vec<V::Value>)
                               -> Box<FieldAccessor + 'static> where M: Message + 'static, V: ProtobufType + 'static