Debian Codegraph @

build.rs

raw symbols SCIP
1 use proc_macro2rust-analyzer cargo proc-macro2 1.0.95 crate/::TokenStreamrust-analyzer cargo proc-macro2 1.0.95 TokenStream#;
2 use protobufrust-analyzer cargo protobuf 3.7.2 crate/::reflectrust-analyzer cargo protobuf 3.7.2 reflect/::{FieldDescriptorrust-analyzer cargo protobuf 3.7.2 reflect/field/FieldDescriptor#, ReflectValueRefrust-analyzer cargo protobuf 3.7.2 reflect/value/value_ref/ReflectValueRef#};
3 use quoterust-analyzer cargo quote 1.0.40 crate/::quoterust-analyzer cargo quote 1.0.40 quote!;
4 use serde_jsonrust-analyzer cargo serde_json 1.0.140 crate/::Maprust-analyzer cargo serde_json 1.0.140 map/Map#;
5 use stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::iorust-analyzer cargo std https://github.com/rust-lang/rust/library/std io/::{BufWriterrust-analyzer cargo std https://github.com/rust-lang/rust/library/std io/buffered/bufwriter/BufWriter#, Writerust-analyzer cargo std https://github.com/rust-lang/rust/library/std io/Write#};
6 use stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::{envrust-analyzer cargo std https://github.com/rust-lang/rust/library/std env/, fsrust-analyzer cargo std https://github.com/rust-lang/rust/library/std fs/::Filerust-analyzer cargo std https://github.com/rust-lang/rust/library/std fs/File#, pathrust-analyzer cargo std https://github.com/rust-lang/rust/library/std path/::Pathrust-analyzer cargo std https://github.com/rust-lang/rust/library/std path/Path#};
7
8 fn mainrust-analyzer cargo google-fonts-axisregistry 0.4.15 main().() {
9 // First we load up the descriptor using the protobuf crate
10 // so that we can do reflection on it.
11 let descriptors = protobuf_parserust-analyzer cargo protobuf-parse 3.7.2 crate/::Parserrust-analyzer cargo protobuf-parse 3.7.2 parser/Parser#::newrust-analyzer cargo protobuf-parse 3.7.2 parser/impl#[Parser]new().()
12 .purerust-analyzer cargo protobuf-parse 3.7.2 parser/impl#[Parser]pure().()
13 .includerust-analyzer cargo protobuf-parse 3.7.2 parser/impl#[Parser]include().(".")
14 .inputrust-analyzer cargo protobuf-parse 3.7.2 parser/impl#[Parser]input().("Lib/axisregistry/axes.proto")
15 .file_descriptor_setrust-analyzer cargo protobuf-parse 3.7.2 parser/impl#[Parser]file_descriptor_set().()
16 .expectrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`]expect().("Could not parse axes.proto");
17 let protofile = descriptors.filerust-analyzer cargo protobuf 3.7.2 descriptor/FileDescriptorSet#file..firstrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]first().().expectrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]expect().("No file in descriptor");
18 let descriptor = protobufrust-analyzer cargo protobuf 3.7.2 crate/::reflectrust-analyzer cargo protobuf 3.7.2 reflect/::FileDescriptorrust-analyzer cargo protobuf 3.7.2 reflect/file/FileDescriptor#::new_dynamicrust-analyzer cargo protobuf 3.7.2 reflect/file/impl#[FileDescriptor]new_dynamic().(protofile.clonerust-analyzer cargo protobuf 3.7.2 descriptor/impl#[FileDescriptorProto][Clone]clone().(), &[])
19 .expectrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`]expect().("Could not create descriptor");
20
21 // Now we use the prost crate to compile them, so that we can
22 // generate Rust structs.
23 let mut config = prost_buildrust-analyzer cargo prost-build 0.13.5 crate/::Configrust-analyzer cargo prost-build 0.13.5 config/Config#::newrust-analyzer cargo prost-build 0.13.5 config/impl#[Config]new().();
24 // config.boxed(".google.axes.LanguageProto.sample_text");
25 // config.boxed(".google.axes.LanguageProto.exemplar_chars");
26
27 // The reflection can tell us what messages we have, so we can configure
28 // them to be deserializable with serde
29 for message in descriptor.messagesrust-analyzer cargo protobuf 3.7.2 reflect/file/impl#[FileDescriptor]messages().() {
30 config.type_attributerust-analyzer cargo prost-build 0.13.5 config/impl#[Config]type_attribute().(
31 message.full_namerust-analyzer cargo protobuf 3.7.2 reflect/message/impl#[MessageDescriptor]full_name().(),
32 "#[derive(serde::Serialize, serde::Deserialize)]",
33 );
34 }
35 // Let's make our structs; this produces google.axes.rs
36 config
37 .compile_protosrust-analyzer cargo prost-build 0.13.5 config/impl#[Config]compile_protos().(&["Lib/axisregistry/axes.proto"], &["Lib/axisregistry/"])
38 .expectrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`]expect().("Could not compile axes.proto");
39
40 let path = Pathrust-analyzer cargo std https://github.com/rust-lang/rust/library/std path/Path#::newrust-analyzer cargo std https://github.com/rust-lang/rust/library/std path/impl#[Path]new().(&envrust-analyzer cargo std https://github.com/rust-lang/rust/library/std env/::varrust-analyzer cargo std https://github.com/rust-lang/rust/library/std env/var().("OUT_DIR").unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`]unwrap().()).joinrust-analyzer cargo std https://github.com/rust-lang/rust/library/std path/impl#[Path]join().("data.rs");
41 let mut file = BufWriterrust-analyzer cargo std https://github.com/rust-lang/rust/library/std io/buffered/bufwriter/BufWriter#::newrust-analyzer cargo std https://github.com/rust-lang/rust/library/std io/buffered/bufwriter/impl#[`BufWriter<W>`]new().(Filerust-analyzer cargo std https://github.com/rust-lang/rust/library/std fs/File#::createrust-analyzer cargo std https://github.com/rust-lang/rust/library/std fs/impl#[File]create().(path).unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`]unwrap().());
42 let mut output = quoterust-analyzer cargo quote 1.0.40 quote!! { use std::collections::BTreeMap; use std::sync::LazyLock; };
43
44 output.extendrust-analyzer cargo proc-macro2 1.0.95 impl#[TokenStream][`Extend<TokenTree>`]extend().(serialize_a_structurerust-analyzer cargo google-fonts-axisregistry 0.4.15 serialize_a_structure().(
45 ".AxisProto",
46 "Lib/axisregistry/data/*.textproto",
47 "AXES",
48 &descriptor,
49 ));
50
51 // file.write_all(output.to_string().as_bytes())
52 // .expect("Could not write to file");
53
54 let abstract_file: synrust-analyzer cargo syn 2.0.101 crate/::Filerust-analyzer cargo syn 2.0.101 file/File# = synrust-analyzer cargo syn 2.0.101 crate/::parse2rust-analyzer cargo syn 2.0.101 parse2().(output).expectrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`]expect().("Could not parse output");
55 let formatted = prettypleaserust-analyzer cargo prettyplease 0.2.32 crate/::unparserust-analyzer cargo prettyplease 0.2.32 unparse().(&abstract_file);
56 file.write_allrust-analyzer cargo std https://github.com/rust-lang/rust/library/std io/buffered/bufwriter/impl#[`BufWriter<W>`][Write]write_all().(formatted.as_bytesrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc string/impl#[String]as_bytes().())
57 .expectrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`]expect().("Could not write to file");
58 }
59
60 fn serialize_a_structurerust-analyzer cargo google-fonts-axisregistry 0.4.15 serialize_a_structure().(
61 proto_name: &str,
62 pathglob: &str,
63 output_variable: &str,
64 descriptor: &protobufrust-analyzer cargo protobuf 3.7.2 crate/::reflectrust-analyzer cargo protobuf 3.7.2 reflect/::FileDescriptorrust-analyzer cargo protobuf 3.7.2 reflect/file/FileDescriptor#,
65 ) -> TokenStreamrust-analyzer cargo proc-macro2 1.0.95 TokenStream# {
66 let proto = descriptor
67 .message_by_full_namerust-analyzer cargo protobuf 3.7.2 reflect/file/impl#[FileDescriptor]message_by_full_name().(proto_name)
68 .unwrap_or_elserust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap_or_else().(|| panicrust-analyzer cargo std https://github.com/rust-lang/rust/library/std macros/panic!!("No {} message", proto_name));
69 let files: Vecrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/Vec#<stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::pathrust-analyzer cargo std https://github.com/rust-lang/rust/library/std path/::PathBufrust-analyzer cargo std https://github.com/rust-lang/rust/library/std path/PathBuf#> = globrust-analyzer cargo glob 0.3.2 crate/::globrust-analyzer cargo glob 0.3.2 glob().(pathglob)
70 .expectrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`]expect().("Failed to read glob pattern")
71 .flattenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator#flatten().()
72 .collectrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator#collect().();
73 let name: TokenStreamrust-analyzer cargo proc-macro2 1.0.95 TokenStream# = proto.namerust-analyzer cargo protobuf 3.7.2 reflect/message/impl#[MessageDescriptor]name().().parserust-analyzer cargo core https://github.com/rust-lang/rust/library/core str/impl#[str]parse().().unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`]unwrap().();
74 let variable: TokenStreamrust-analyzer cargo proc-macro2 1.0.95 TokenStream# = output_variable.parserust-analyzer cargo core https://github.com/rust-lang/rust/library/core str/impl#[str]parse().().unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`]unwrap().();
75 let mut map = Maprust-analyzer cargo serde_json 1.0.140 map/Map#::newrust-analyzer cargo serde_json 1.0.140 map/impl#[`Map<String, Value>`]new().();
76 for file in files.into_iterrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/impl#[`Vec<T, A>`][IntoIterator]into_iter().() {
77 serialize_filerust-analyzer cargo google-fonts-axisregistry 0.4.15 serialize_file().(file, &proto, &mut map);
78 }
79 let json_var: TokenStreamrust-analyzer cargo proc-macro2 1.0.95 TokenStream# = formatrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc macros/format!!("__{}", output_variable).parserust-analyzer cargo core https://github.com/rust-lang/rust/library/core str/impl#[str]parse().().unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`]unwrap().();
80 let docmsg = formatrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc macros/format!!("A map of all the {} objects", name);
81 let json_dump = serde_jsonrust-analyzer cargo serde_json 1.0.140 crate/::to_stringrust-analyzer cargo serde_json 1.0.140 ser/to_string().(&map).expectrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`]expect().("Could not serialize");
82 quoterust-analyzer cargo quote 1.0.40 quote!! {
83 static #json_var: &str = #json_dump;
84
85 #[doc = #docmsg]
86 pub static #variable: LazyLock<BTreeMap<String, Box<#name>>> = LazyLock::new(|| {
87 serde_json::from_str(#json_var).expect("Could not deserialize")
88 });
89 }
90 }
91 fn serialize_filerust-analyzer cargo google-fonts-axisregistry 0.4.15 serialize_file().(
92 path: stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::pathrust-analyzer cargo std https://github.com/rust-lang/rust/library/std path/::PathBufrust-analyzer cargo std https://github.com/rust-lang/rust/library/std path/PathBuf#,
93 descriptor: &protobufrust-analyzer cargo protobuf 3.7.2 crate/::reflectrust-analyzer cargo protobuf 3.7.2 reflect/::MessageDescriptorrust-analyzer cargo protobuf 3.7.2 reflect/message/MessageDescriptor#,
94 value: &mut Maprust-analyzer cargo serde_json 1.0.140 map/Map#<Stringrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc string/String#, serde_jsonrust-analyzer cargo serde_json 1.0.140 crate/::Valuerust-analyzer cargo serde_json 1.0.140 value/Value#>,
95 ) {
96 let mut message = descriptor.new_instancerust-analyzer cargo protobuf 3.7.2 reflect/message/impl#[MessageDescriptor]new_instance().();
97 let message_mut = message.as_mutrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc boxed/impl#[`Box<T, A>`][`AsMut<T>`]as_mut().();
98 let input = stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::fsrust-analyzer cargo std https://github.com/rust-lang/rust/library/std fs/::read_to_stringrust-analyzer cargo std https://github.com/rust-lang/rust/library/std fs/read_to_string().(&path).expectrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`]expect().("Could not read file");
99 protobufrust-analyzer cargo protobuf 3.7.2 crate/::text_formatrust-analyzer cargo protobuf 3.7.2 text_format/::merge_from_strrust-analyzer cargo protobuf 3.7.2 text_format/parse/merge_from_str().(message_mut, &input)
100 .unwrap_or_elserust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`]unwrap_or_else().(|e| panicrust-analyzer cargo std https://github.com/rust-lang/rust/library/std macros/panic!!("Could not parse file {:?}: {:?}", path, e));
101 let message = serialize_messagerust-analyzer cargo google-fonts-axisregistry 0.4.15 serialize_message().(message_mut);
102 value.insertrust-analyzer cargo serde_json 1.0.140 map/impl#[`Map<String, Value>`]insert().(
103 message.getrust-analyzer cargo serde_json 1.0.140 value/impl#[Value]get().("tag").unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap().().as_strrust-analyzer cargo serde_json 1.0.140 value/impl#[Value]as_str().().unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap().().to_stringrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc string/impl#[T][ToString]to_string().(),
104 message,
105 );
106 }
107
108 fn serialize_messagerust-analyzer cargo google-fonts-axisregistry 0.4.15 serialize_message().(message: &dyn protobufrust-analyzer cargo protobuf 3.7.2 crate/::MessageDynrust-analyzer cargo protobuf 3.7.2 message_dyn/MessageDyn#) -> serde_jsonrust-analyzer cargo serde_json 1.0.140 crate/::Valuerust-analyzer cargo serde_json 1.0.140 value/Value# {
109 let descriptor = message.descriptor_dynrust-analyzer cargo protobuf 3.7.2 message_dyn/MessageDyn#descriptor_dyn().();
110 // let descriptor_name: TokenStream = descriptor.name().parse().unwrap();
111 let mut output = Maprust-analyzer cargo serde_json 1.0.140 map/Map#::newrust-analyzer cargo serde_json 1.0.140 map/impl#[`Map<String, Value>`]new().();
112 for field in descriptor.fieldsrust-analyzer cargo protobuf 3.7.2 reflect/message/impl#[MessageDescriptor]fields().() {
113 let field_name: TokenStreamrust-analyzer cargo proc-macro2 1.0.95 TokenStream# = field.namerust-analyzer cargo protobuf 3.7.2 reflect/field/impl#[FieldDescriptor]name().().parserust-analyzer cargo core https://github.com/rust-lang/rust/library/core str/impl#[str]parse().().unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`]unwrap().();
114 let field_contents = serialize_fieldrust-analyzer cargo google-fonts-axisregistry 0.4.15 serialize_field().(&field, message);
115 output.insertrust-analyzer cargo serde_json 1.0.140 map/impl#[`Map<String, Value>`]insert().(field_name.to_stringrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc string/impl#[T][ToString]to_string().(), field_contents);
116 }
117 output.intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`Into<U>`]into().()
118 }
119
120 fn serialize_fieldrust-analyzer cargo google-fonts-axisregistry 0.4.15 serialize_field().(
121 field: &FieldDescriptorrust-analyzer cargo protobuf 3.7.2 reflect/field/FieldDescriptor#,
122 message: &dyn protobufrust-analyzer cargo protobuf 3.7.2 crate/::MessageDynrust-analyzer cargo protobuf 3.7.2 message_dyn/MessageDyn#,
123 ) -> serde_jsonrust-analyzer cargo serde_json 1.0.140 crate/::Valuerust-analyzer cargo serde_json 1.0.140 value/Value# {
124 if field.is_repeatedrust-analyzer cargo protobuf 3.7.2 reflect/field/impl#[FieldDescriptor]is_repeated().() {
125 let v: Vecrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/Vec#<serde_jsonrust-analyzer cargo serde_json 1.0.140 crate/::Valuerust-analyzer cargo serde_json 1.0.140 value/Value#> = field
126 .get_repeatedrust-analyzer cargo protobuf 3.7.2 reflect/field/impl#[FieldDescriptor]get_repeated().(message)
127 .into_iterrust-analyzer cargo protobuf 3.7.2 reflect/repeated/impl#[`ReflectRepeatedRef<'a>`][IntoIterator]into_iter().()
128 .maprust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator#map().(|value| serialize_field_valuerust-analyzer cargo google-fonts-axisregistry 0.4.15 serialize_field_value().(field, value))
129 .collectrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator#collect().();
130 v.intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`Into<U>`]into().()
131 } else if field.is_requiredrust-analyzer cargo protobuf 3.7.2 reflect/field/impl#[FieldDescriptor]is_required().() {
132 serialize_field_valuerust-analyzer cargo google-fonts-axisregistry 0.4.15 serialize_field_value().(field, field.get_singularrust-analyzer cargo protobuf 3.7.2 reflect/field/impl#[FieldDescriptor]get_singular().(message).unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap().())
133 } else if field.has_fieldrust-analyzer cargo protobuf 3.7.2 reflect/field/impl#[FieldDescriptor]has_field().(message) {
134 let value = serialize_field_valuerust-analyzer cargo google-fonts-axisregistry 0.4.15 serialize_field_value().(field, field.get_singularrust-analyzer cargo protobuf 3.7.2 reflect/field/impl#[FieldDescriptor]get_singular().(message).unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap().());
135 value.intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`Into<U>`]into().()
136 } else {
137 serde_jsonrust-analyzer cargo serde_json 1.0.140 crate/::Valuerust-analyzer cargo serde_json 1.0.140 value/Value#::Nullrust-analyzer cargo serde_json 1.0.140 value/Value#Null#
138 }
139 }
140
141 fn serialize_field_valuerust-analyzer cargo google-fonts-axisregistry 0.4.15 serialize_field_value().(_field: &FieldDescriptorrust-analyzer cargo protobuf 3.7.2 reflect/field/FieldDescriptor#, value: ReflectValueRefrust-analyzer cargo protobuf 3.7.2 reflect/value/value_ref/ReflectValueRef#) -> serde_jsonrust-analyzer cargo serde_json 1.0.140 crate/::Valuerust-analyzer cargo serde_json 1.0.140 value/Value# {
142 match value {
143 ReflectValueRefrust-analyzer cargo protobuf 3.7.2 reflect/value/value_ref/ReflectValueRef#::Boolrust-analyzer cargo protobuf 3.7.2 reflect/value/value_ref/ReflectValueRef#Bool#(value) => value.intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`Into<U>`]into().(),
144 ReflectValueRefrust-analyzer cargo protobuf 3.7.2 reflect/value/value_ref/ReflectValueRef#::I32rust-analyzer cargo protobuf 3.7.2 reflect/value/value_ref/ReflectValueRef#I32#(value) => value.intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`Into<U>`]into().(),
145 ReflectValueRefrust-analyzer cargo protobuf 3.7.2 reflect/value/value_ref/ReflectValueRef#::I64rust-analyzer cargo protobuf 3.7.2 reflect/value/value_ref/ReflectValueRef#I64#(value) => value.intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`Into<U>`]into().(),
146 ReflectValueRefrust-analyzer cargo protobuf 3.7.2 reflect/value/value_ref/ReflectValueRef#::U32rust-analyzer cargo protobuf 3.7.2 reflect/value/value_ref/ReflectValueRef#U32#(value) => value.intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`Into<U>`]into().(),
147 ReflectValueRefrust-analyzer cargo protobuf 3.7.2 reflect/value/value_ref/ReflectValueRef#::U64rust-analyzer cargo protobuf 3.7.2 reflect/value/value_ref/ReflectValueRef#U64#(value) => value.intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`Into<U>`]into().(),
148 ReflectValueRefrust-analyzer cargo protobuf 3.7.2 reflect/value/value_ref/ReflectValueRef#::F32rust-analyzer cargo protobuf 3.7.2 reflect/value/value_ref/ReflectValueRef#F32#(value) => value.intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`Into<U>`]into().(),
149 ReflectValueRefrust-analyzer cargo protobuf 3.7.2 reflect/value/value_ref/ReflectValueRef#::F64rust-analyzer cargo protobuf 3.7.2 reflect/value/value_ref/ReflectValueRef#F64#(value) => value.intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`Into<U>`]into().(),
150 ReflectValueRefrust-analyzer cargo protobuf 3.7.2 reflect/value/value_ref/ReflectValueRef#::Stringrust-analyzer cargo protobuf 3.7.2 reflect/value/value_ref/ReflectValueRef#String#(value) => value.intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`Into<U>`]into().(),
151 ReflectValueRefrust-analyzer cargo protobuf 3.7.2 reflect/value/value_ref/ReflectValueRef#::Bytesrust-analyzer cargo protobuf 3.7.2 reflect/value/value_ref/ReflectValueRef#Bytes#(value) => value.intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`Into<U>`]into().(),
152 ReflectValueRefrust-analyzer cargo protobuf 3.7.2 reflect/value/value_ref/ReflectValueRef#::Enumrust-analyzer cargo protobuf 3.7.2 reflect/value/value_ref/ReflectValueRef#Enum#(_value, _ix) => unimplementedrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/unimplemented!!(),
153 ReflectValueRefrust-analyzer cargo protobuf 3.7.2 reflect/value/value_ref/ReflectValueRef#::Messagerust-analyzer cargo protobuf 3.7.2 reflect/value/value_ref/ReflectValueRef#Message#(value) => serialize_messagerust-analyzer cargo google-fonts-axisregistry 0.4.15 serialize_message().(&*rust-analyzer cargo protobuf 3.7.2 reflect/message/message_ref/impl#[`MessageRef<'a>`][Deref]deref().value),
154 }
155 }