Skip to main content

capnp/
schema_capnp.rs

1// @generated by the capnpc-rust plugin to the Cap'n Proto schema compiler.
2// DO NOT EDIT.
3// source: schema.capnp
4// capnp binary version: 1.6.0
5// capnpc crate version: 0.27.0
6
7pub mod node {
8    pub use self::Which::{Annotation, Const, Enum, File, Interface, Struct, Type};
9
10    #[derive(Copy, Clone)]
11    pub struct Owned(());
12    impl crate::introspect::Introspect for Owned {
13        fn introspect() -> crate::introspect::Type {
14            crate::introspect::TypeVariant::Struct(crate::introspect::RawBrandedStructSchema {
15                generic: &_private::RAW_SCHEMA,
16                field_types: _private::get_field_types,
17                annotation_types: _private::get_annotation_types,
18                type_id: ::core::any::TypeId::of::<Owned>(),
19            })
20            .into()
21        }
22    }
23    impl crate::traits::Owned for Owned {
24        type Reader<'a> = Reader<'a>;
25        type Builder<'a> = Builder<'a>;
26    }
27    impl crate::traits::OwnedStruct for Owned {
28        type Reader<'a> = Reader<'a>;
29        type Builder<'a> = Builder<'a>;
30    }
31    impl crate::traits::Pipelined for Owned {
32        type Pipeline = Pipeline;
33    }
34
35    pub struct Reader<'a> {
36        reader: crate::private::layout::StructReader<'a>,
37    }
38    impl ::core::marker::Copy for Reader<'_> {}
39    impl ::core::clone::Clone for Reader<'_> {
40        fn clone(&self) -> Self {
41            *self
42        }
43    }
44
45    impl crate::traits::HasTypeId for Reader<'_> {
46        const TYPE_ID: u64 = _private::TYPE_ID;
47    }
48    impl<'a> ::core::convert::From<crate::private::layout::StructReader<'a>> for Reader<'a> {
49        fn from(reader: crate::private::layout::StructReader<'a>) -> Self {
50            Self { reader }
51        }
52    }
53
54    impl<'a> ::core::convert::From<Reader<'a>> for crate::dynamic_value::Reader<'a> {
55        fn from(reader: Reader<'a>) -> Self {
56            Self::Struct(crate::dynamic_struct::Reader::new(
57                reader.reader,
58                crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
59                    generic: &_private::RAW_SCHEMA,
60                    field_types: _private::get_field_types,
61                    annotation_types: _private::get_annotation_types,
62                    type_id: ::core::any::TypeId::of::<Owned>(),
63                }),
64            ))
65        }
66    }
67
68    impl ::core::fmt::Debug for Reader<'_> {
69        fn fmt(
70            &self,
71            f: &mut ::core::fmt::Formatter<'_>,
72        ) -> ::core::result::Result<(), ::core::fmt::Error> {
73            core::fmt::Debug::fmt(
74                &::core::convert::Into::<crate::dynamic_value::Reader<'_>>::into(*self),
75                f,
76            )
77        }
78    }
79
80    impl<'a> crate::traits::FromPointerReader<'a> for Reader<'a> {
81        fn get_from_pointer(
82            reader: &crate::private::layout::PointerReader<'a>,
83            default: ::core::option::Option<&'a [crate::Word]>,
84        ) -> crate::Result<Self> {
85            ::core::result::Result::Ok(reader.get_struct(default)?.into())
86        }
87    }
88
89    impl<'a> crate::traits::IntoInternalStructReader<'a> for Reader<'a> {
90        fn into_internal_struct_reader(self) -> crate::private::layout::StructReader<'a> {
91            self.reader
92        }
93    }
94
95    impl<'a> crate::traits::Imbue<'a> for Reader<'a> {
96        fn imbue(&mut self, cap_table: &'a crate::private::layout::CapTable) {
97            self.reader
98                .imbue(crate::private::layout::CapTableReader::from_ref(cap_table))
99        }
100    }
101
102    impl<'a> Reader<'a> {
103        pub fn reborrow(&self) -> Reader<'_> {
104            Self { ..*self }
105        }
106
107        pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
108            self.reader.total_size()
109        }
110        #[inline]
111        pub fn get_id(self) -> u64 {
112            self.reader.get_data_field::<u64>(0)
113        }
114        #[inline]
115        pub fn get_display_name(self) -> crate::Result<crate::text::Reader<'a>> {
116            crate::traits::FromPointerReader::get_from_pointer(
117                &self.reader.get_pointer_field(0),
118                ::core::option::Option::None,
119            )
120        }
121        #[inline]
122        pub fn has_display_name(&self) -> bool {
123            !self.reader.get_pointer_field(0).is_null()
124        }
125        #[inline]
126        pub fn get_display_name_prefix_length(self) -> u32 {
127            self.reader.get_data_field::<u32>(2)
128        }
129        #[inline]
130        pub fn get_scope_id(self) -> u64 {
131            self.reader.get_data_field::<u64>(2)
132        }
133        #[inline]
134        pub fn get_nested_nodes(
135            self,
136        ) -> crate::Result<
137            crate::struct_list::Reader<'a, crate::schema_capnp::node::nested_node::Owned>,
138        > {
139            crate::traits::FromPointerReader::get_from_pointer(
140                &self.reader.get_pointer_field(1),
141                ::core::option::Option::None,
142            )
143        }
144        #[inline]
145        pub fn has_nested_nodes(&self) -> bool {
146            !self.reader.get_pointer_field(1).is_null()
147        }
148        #[inline]
149        pub fn get_annotations(
150            self,
151        ) -> crate::Result<crate::struct_list::Reader<'a, crate::schema_capnp::annotation::Owned>>
152        {
153            crate::traits::FromPointerReader::get_from_pointer(
154                &self.reader.get_pointer_field(2),
155                ::core::option::Option::None,
156            )
157        }
158        #[inline]
159        pub fn has_annotations(&self) -> bool {
160            !self.reader.get_pointer_field(2).is_null()
161        }
162        #[inline]
163        pub fn get_parameters(
164            self,
165        ) -> crate::Result<
166            crate::struct_list::Reader<'a, crate::schema_capnp::node::parameter::Owned>,
167        > {
168            crate::traits::FromPointerReader::get_from_pointer(
169                &self.reader.get_pointer_field(5),
170                ::core::option::Option::None,
171            )
172        }
173        #[inline]
174        pub fn has_parameters(&self) -> bool {
175            !self.reader.get_pointer_field(5).is_null()
176        }
177        #[inline]
178        pub fn get_is_generic(self) -> bool {
179            self.reader.get_bool_field(288)
180        }
181        #[inline]
182        pub fn get_start_byte(self) -> u32 {
183            self.reader.get_data_field::<u32>(10)
184        }
185        #[inline]
186        pub fn get_end_byte(self) -> u32 {
187            self.reader.get_data_field::<u32>(11)
188        }
189        #[inline]
190        pub fn has_type(&self) -> bool {
191            if self.reader.get_data_field::<u16>(6) != 6 {
192                return false;
193            }
194            !self.reader.get_pointer_field(3).is_null()
195        }
196        #[inline]
197        pub fn which(self) -> ::core::result::Result<WhichReader<'a>, crate::NotInSchema> {
198            match self.reader.get_data_field::<u16>(6) {
199                0 => ::core::result::Result::Ok(File(())),
200                1 => ::core::result::Result::Ok(Struct(self.reader.into())),
201                2 => ::core::result::Result::Ok(Enum(self.reader.into())),
202                3 => ::core::result::Result::Ok(Interface(self.reader.into())),
203                4 => ::core::result::Result::Ok(Const(self.reader.into())),
204                5 => ::core::result::Result::Ok(Annotation(self.reader.into())),
205                6 => ::core::result::Result::Ok(Type(
206                    crate::traits::FromPointerReader::get_from_pointer(
207                        &self.reader.get_pointer_field(3),
208                        ::core::option::Option::None,
209                    ),
210                )),
211                x => ::core::result::Result::Err(crate::NotInSchema(x)),
212            }
213        }
214    }
215
216    pub struct Builder<'a> {
217        builder: crate::private::layout::StructBuilder<'a>,
218    }
219    impl crate::traits::HasStructSize for Builder<'_> {
220        const STRUCT_SIZE: crate::private::layout::StructSize =
221            crate::private::layout::StructSize {
222                data: 6,
223                pointers: 6,
224            };
225    }
226    impl crate::traits::HasTypeId for Builder<'_> {
227        const TYPE_ID: u64 = _private::TYPE_ID;
228    }
229    impl<'a> ::core::convert::From<crate::private::layout::StructBuilder<'a>> for Builder<'a> {
230        fn from(builder: crate::private::layout::StructBuilder<'a>) -> Self {
231            Self { builder }
232        }
233    }
234
235    impl<'a> crate::traits::IntoInternalStructBuilder<'a> for Builder<'a> {
236        fn into_internal_struct_builder(self) -> crate::private::layout::StructBuilder<'a> {
237            self.builder
238        }
239    }
240
241    impl<'a> ::core::convert::From<Builder<'a>> for crate::dynamic_value::Builder<'a> {
242        fn from(builder: Builder<'a>) -> Self {
243            Self::Struct(crate::dynamic_struct::Builder::new(
244                builder.builder,
245                crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
246                    generic: &_private::RAW_SCHEMA,
247                    field_types: _private::get_field_types,
248                    annotation_types: _private::get_annotation_types,
249                    type_id: ::core::any::TypeId::of::<Owned>(),
250                }),
251            ))
252        }
253    }
254
255    impl<'a> crate::traits::ImbueMut<'a> for Builder<'a> {
256        fn imbue_mut(&mut self, cap_table: &'a mut crate::private::layout::CapTable) {
257            self.builder
258                .imbue(crate::private::layout::CapTableBuilder::from_ref(cap_table))
259        }
260    }
261
262    impl<'a> crate::traits::FromPointerBuilder<'a> for Builder<'a> {
263        fn init_pointer(builder: crate::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
264            builder
265                .init_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE)
266                .into()
267        }
268        fn get_from_pointer(
269            builder: crate::private::layout::PointerBuilder<'a>,
270            default: ::core::option::Option<&'a [crate::Word]>,
271        ) -> crate::Result<Self> {
272            ::core::result::Result::Ok(
273                builder
274                    .get_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE, default)?
275                    .into(),
276            )
277        }
278    }
279
280    impl crate::traits::SetterInput<Owned> for Reader<'_> {
281        fn set_pointer_builder(
282            mut pointer: crate::private::layout::PointerBuilder<'_>,
283            value: Self,
284            canonicalize: bool,
285        ) -> crate::Result<()> {
286            pointer.set_struct(&value.reader, canonicalize)
287        }
288    }
289
290    impl<'a> Builder<'a> {
291        pub fn into_reader(self) -> Reader<'a> {
292            self.builder.into_reader().into()
293        }
294        pub fn reborrow(&mut self) -> Builder<'_> {
295            Builder {
296                builder: self.builder.reborrow(),
297            }
298        }
299        pub fn reborrow_as_reader(&self) -> Reader<'_> {
300            self.builder.as_reader().into()
301        }
302
303        pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
304            self.builder.as_reader().total_size()
305        }
306        #[inline]
307        pub fn get_id(self) -> u64 {
308            self.builder.get_data_field::<u64>(0)
309        }
310        #[inline]
311        pub fn set_id(&mut self, value: u64) {
312            self.builder.set_data_field::<u64>(0, value);
313        }
314        #[inline]
315        pub fn get_display_name(self) -> crate::Result<crate::text::Builder<'a>> {
316            crate::traits::FromPointerBuilder::get_from_pointer(
317                self.builder.get_pointer_field(0),
318                ::core::option::Option::None,
319            )
320        }
321        #[inline]
322        pub fn set_display_name(
323            &mut self,
324            value: impl crate::traits::SetterInput<crate::text::Owned>,
325        ) {
326            crate::traits::SetterInput::set_pointer_builder(
327                self.builder.reborrow().get_pointer_field(0),
328                value,
329                false,
330            )
331            .unwrap()
332        }
333        #[inline]
334        pub fn init_display_name(self, size: u32) -> crate::text::Builder<'a> {
335            self.builder.get_pointer_field(0).init_text(size)
336        }
337        #[inline]
338        pub fn has_display_name(&self) -> bool {
339            !self.builder.is_pointer_field_null(0)
340        }
341        #[inline]
342        pub fn get_display_name_prefix_length(self) -> u32 {
343            self.builder.get_data_field::<u32>(2)
344        }
345        #[inline]
346        pub fn set_display_name_prefix_length(&mut self, value: u32) {
347            self.builder.set_data_field::<u32>(2, value);
348        }
349        #[inline]
350        pub fn get_scope_id(self) -> u64 {
351            self.builder.get_data_field::<u64>(2)
352        }
353        #[inline]
354        pub fn set_scope_id(&mut self, value: u64) {
355            self.builder.set_data_field::<u64>(2, value);
356        }
357        #[inline]
358        pub fn get_nested_nodes(
359            self,
360        ) -> crate::Result<
361            crate::struct_list::Builder<'a, crate::schema_capnp::node::nested_node::Owned>,
362        > {
363            crate::traits::FromPointerBuilder::get_from_pointer(
364                self.builder.get_pointer_field(1),
365                ::core::option::Option::None,
366            )
367        }
368        #[inline]
369        pub fn set_nested_nodes(
370            &mut self,
371            value: crate::struct_list::Reader<'_, crate::schema_capnp::node::nested_node::Owned>,
372        ) -> crate::Result<()> {
373            crate::traits::SetterInput::set_pointer_builder(
374                self.builder.reborrow().get_pointer_field(1),
375                value,
376                false,
377            )
378        }
379        #[inline]
380        pub fn init_nested_nodes(
381            self,
382            size: u32,
383        ) -> crate::struct_list::Builder<'a, crate::schema_capnp::node::nested_node::Owned>
384        {
385            crate::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(1), size)
386        }
387        #[inline]
388        pub fn has_nested_nodes(&self) -> bool {
389            !self.builder.is_pointer_field_null(1)
390        }
391        #[inline]
392        pub fn get_annotations(
393            self,
394        ) -> crate::Result<crate::struct_list::Builder<'a, crate::schema_capnp::annotation::Owned>>
395        {
396            crate::traits::FromPointerBuilder::get_from_pointer(
397                self.builder.get_pointer_field(2),
398                ::core::option::Option::None,
399            )
400        }
401        #[inline]
402        pub fn set_annotations(
403            &mut self,
404            value: crate::struct_list::Reader<'_, crate::schema_capnp::annotation::Owned>,
405        ) -> crate::Result<()> {
406            crate::traits::SetterInput::set_pointer_builder(
407                self.builder.reborrow().get_pointer_field(2),
408                value,
409                false,
410            )
411        }
412        #[inline]
413        pub fn init_annotations(
414            self,
415            size: u32,
416        ) -> crate::struct_list::Builder<'a, crate::schema_capnp::annotation::Owned> {
417            crate::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(2), size)
418        }
419        #[inline]
420        pub fn has_annotations(&self) -> bool {
421            !self.builder.is_pointer_field_null(2)
422        }
423        #[inline]
424        pub fn set_file(&mut self, _value: ()) {
425            self.builder.set_data_field::<u16>(6, 0);
426        }
427        #[inline]
428        pub fn init_struct(mut self) -> crate::schema_capnp::node::struct_::Builder<'a> {
429            self.builder.set_data_field::<u16>(6, 1);
430            self.builder.set_data_field::<u16>(7, 0u16);
431            self.builder.set_data_field::<u16>(12, 0u16);
432            self.builder.set_data_field::<u16>(13, 0u16);
433            self.builder.set_bool_field(224, false);
434            self.builder.set_data_field::<u16>(15, 0u16);
435            self.builder.set_data_field::<u32>(8, 0u32);
436            self.builder.reborrow().get_pointer_field(3).clear();
437            self.builder.into()
438        }
439        #[inline]
440        pub fn init_enum(mut self) -> crate::schema_capnp::node::enum_::Builder<'a> {
441            self.builder.set_data_field::<u16>(6, 2);
442            self.builder.reborrow().get_pointer_field(3).clear();
443            self.builder.into()
444        }
445        #[inline]
446        pub fn init_interface(mut self) -> crate::schema_capnp::node::interface::Builder<'a> {
447            self.builder.set_data_field::<u16>(6, 3);
448            self.builder.reborrow().get_pointer_field(3).clear();
449            self.builder.reborrow().get_pointer_field(4).clear();
450            self.builder.into()
451        }
452        #[inline]
453        pub fn init_const(mut self) -> crate::schema_capnp::node::const_::Builder<'a> {
454            self.builder.set_data_field::<u16>(6, 4);
455            self.builder.reborrow().get_pointer_field(3).clear();
456            self.builder.reborrow().get_pointer_field(4).clear();
457            self.builder.into()
458        }
459        #[inline]
460        pub fn init_annotation(mut self) -> crate::schema_capnp::node::annotation::Builder<'a> {
461            self.builder.set_data_field::<u16>(6, 5);
462            self.builder.reborrow().get_pointer_field(3).clear();
463            self.builder.set_bool_field(112, false);
464            self.builder.set_bool_field(113, false);
465            self.builder.set_bool_field(114, false);
466            self.builder.set_bool_field(115, false);
467            self.builder.set_bool_field(116, false);
468            self.builder.set_bool_field(117, false);
469            self.builder.set_bool_field(118, false);
470            self.builder.set_bool_field(119, false);
471            self.builder.set_bool_field(120, false);
472            self.builder.set_bool_field(121, false);
473            self.builder.set_bool_field(122, false);
474            self.builder.set_bool_field(123, false);
475            self.builder.into()
476        }
477        #[inline]
478        pub fn get_parameters(
479            self,
480        ) -> crate::Result<
481            crate::struct_list::Builder<'a, crate::schema_capnp::node::parameter::Owned>,
482        > {
483            crate::traits::FromPointerBuilder::get_from_pointer(
484                self.builder.get_pointer_field(5),
485                ::core::option::Option::None,
486            )
487        }
488        #[inline]
489        pub fn set_parameters(
490            &mut self,
491            value: crate::struct_list::Reader<'_, crate::schema_capnp::node::parameter::Owned>,
492        ) -> crate::Result<()> {
493            crate::traits::SetterInput::set_pointer_builder(
494                self.builder.reborrow().get_pointer_field(5),
495                value,
496                false,
497            )
498        }
499        #[inline]
500        pub fn init_parameters(
501            self,
502            size: u32,
503        ) -> crate::struct_list::Builder<'a, crate::schema_capnp::node::parameter::Owned> {
504            crate::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(5), size)
505        }
506        #[inline]
507        pub fn has_parameters(&self) -> bool {
508            !self.builder.is_pointer_field_null(5)
509        }
510        #[inline]
511        pub fn get_is_generic(self) -> bool {
512            self.builder.get_bool_field(288)
513        }
514        #[inline]
515        pub fn set_is_generic(&mut self, value: bool) {
516            self.builder.set_bool_field(288, value);
517        }
518        #[inline]
519        pub fn get_start_byte(self) -> u32 {
520            self.builder.get_data_field::<u32>(10)
521        }
522        #[inline]
523        pub fn set_start_byte(&mut self, value: u32) {
524            self.builder.set_data_field::<u32>(10, value);
525        }
526        #[inline]
527        pub fn get_end_byte(self) -> u32 {
528            self.builder.get_data_field::<u32>(11)
529        }
530        #[inline]
531        pub fn set_end_byte(&mut self, value: u32) {
532            self.builder.set_data_field::<u32>(11, value);
533        }
534        #[inline]
535        pub fn set_type(
536            &mut self,
537            value: crate::schema_capnp::type_::Reader<'_>,
538        ) -> crate::Result<()> {
539            self.builder.set_data_field::<u16>(6, 6);
540            crate::traits::SetterInput::set_pointer_builder(
541                self.builder.reborrow().get_pointer_field(3),
542                value,
543                false,
544            )
545        }
546        #[inline]
547        pub fn init_type(self) -> crate::schema_capnp::type_::Builder<'a> {
548            self.builder.set_data_field::<u16>(6, 6);
549            crate::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(3), 0)
550        }
551        #[inline]
552        pub fn has_type(&self) -> bool {
553            if self.builder.get_data_field::<u16>(6) != 6 {
554                return false;
555            }
556            !self.builder.is_pointer_field_null(3)
557        }
558        #[inline]
559        pub fn which(self) -> ::core::result::Result<WhichBuilder<'a>, crate::NotInSchema> {
560            match self.builder.get_data_field::<u16>(6) {
561                0 => ::core::result::Result::Ok(File(())),
562                1 => ::core::result::Result::Ok(Struct(self.builder.into())),
563                2 => ::core::result::Result::Ok(Enum(self.builder.into())),
564                3 => ::core::result::Result::Ok(Interface(self.builder.into())),
565                4 => ::core::result::Result::Ok(Const(self.builder.into())),
566                5 => ::core::result::Result::Ok(Annotation(self.builder.into())),
567                6 => ::core::result::Result::Ok(Type(
568                    crate::traits::FromPointerBuilder::get_from_pointer(
569                        self.builder.get_pointer_field(3),
570                        ::core::option::Option::None,
571                    ),
572                )),
573                x => ::core::result::Result::Err(crate::NotInSchema(x)),
574            }
575        }
576    }
577
578    pub struct Pipeline {
579        _typeless: crate::any_pointer::Pipeline,
580    }
581    impl crate::capability::FromTypelessPipeline for Pipeline {
582        fn new(typeless: crate::any_pointer::Pipeline) -> Self {
583            Self {
584                _typeless: typeless,
585            }
586        }
587    }
588    impl Pipeline {}
589    mod _private {
590        pub(crate) static ENCODED_NODE: [crate::Word; 272] = [
591            crate::word(0, 0, 0, 0, 6, 0, 6, 0),
592            crate::word(23, 164, 35, 249, 76, 171, 130, 230),
593            crate::word(13, 0, 0, 0, 1, 0, 6, 0),
594            crate::word(217, 114, 76, 98, 9, 197, 63, 169),
595            crate::word(6, 0, 7, 0, 0, 0, 7, 0),
596            crate::word(6, 0, 0, 0, 0, 0, 0, 0),
597            crate::word(61, 5, 0, 0, 72, 33, 0, 0),
598            crate::word(21, 0, 0, 0, 146, 0, 0, 0),
599            crate::word(29, 0, 0, 0, 55, 0, 0, 0),
600            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
601            crate::word(73, 0, 0, 0, 191, 3, 0, 0),
602            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
603            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
604            crate::word(115, 99, 104, 101, 109, 97, 46, 99),
605            crate::word(97, 112, 110, 112, 58, 78, 111, 100),
606            crate::word(101, 0, 0, 0, 0, 0, 0, 0),
607            crate::word(12, 0, 0, 0, 1, 0, 1, 0),
608            crate::word(177, 163, 15, 241, 204, 27, 82, 185),
609            crate::word(17, 0, 0, 0, 82, 0, 0, 0),
610            crate::word(66, 194, 15, 250, 187, 85, 191, 222),
611            crate::word(17, 0, 0, 0, 90, 0, 0, 0),
612            crate::word(174, 87, 19, 4, 227, 29, 142, 243),
613            crate::word(17, 0, 0, 0, 90, 0, 0, 0),
614            crate::word(80, 97, 114, 97, 109, 101, 116, 101),
615            crate::word(114, 0, 0, 0, 0, 0, 0, 0),
616            crate::word(78, 101, 115, 116, 101, 100, 78, 111),
617            crate::word(100, 101, 0, 0, 0, 0, 0, 0),
618            crate::word(83, 111, 117, 114, 99, 101, 73, 110),
619            crate::word(102, 111, 0, 0, 0, 0, 0, 0),
620            crate::word(68, 0, 0, 0, 3, 0, 4, 0),
621            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
622            crate::word(0, 0, 1, 0, 0, 0, 0, 0),
623            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
624            crate::word(205, 1, 0, 0, 26, 0, 0, 0),
625            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
626            crate::word(200, 1, 0, 0, 3, 0, 1, 0),
627            crate::word(212, 1, 0, 0, 2, 0, 1, 0),
628            crate::word(1, 0, 0, 0, 0, 0, 0, 0),
629            crate::word(0, 0, 1, 0, 1, 0, 0, 0),
630            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
631            crate::word(209, 1, 0, 0, 98, 0, 0, 0),
632            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
633            crate::word(208, 1, 0, 0, 3, 0, 1, 0),
634            crate::word(220, 1, 0, 0, 2, 0, 1, 0),
635            crate::word(2, 0, 0, 0, 2, 0, 0, 0),
636            crate::word(0, 0, 1, 0, 2, 0, 0, 0),
637            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
638            crate::word(217, 1, 0, 0, 194, 0, 0, 0),
639            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
640            crate::word(220, 1, 0, 0, 3, 0, 1, 0),
641            crate::word(232, 1, 0, 0, 2, 0, 1, 0),
642            crate::word(3, 0, 0, 0, 2, 0, 0, 0),
643            crate::word(0, 0, 1, 0, 3, 0, 0, 0),
644            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
645            crate::word(229, 1, 0, 0, 66, 0, 0, 0),
646            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
647            crate::word(224, 1, 0, 0, 3, 0, 1, 0),
648            crate::word(236, 1, 0, 0, 2, 0, 1, 0),
649            crate::word(6, 0, 0, 0, 1, 0, 0, 0),
650            crate::word(0, 0, 1, 0, 4, 0, 0, 0),
651            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
652            crate::word(233, 1, 0, 0, 98, 0, 0, 0),
653            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
654            crate::word(232, 1, 0, 0, 3, 0, 1, 0),
655            crate::word(4, 2, 0, 0, 2, 0, 1, 0),
656            crate::word(7, 0, 0, 0, 2, 0, 0, 0),
657            crate::word(0, 0, 1, 0, 5, 0, 0, 0),
658            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
659            crate::word(1, 2, 0, 0, 98, 0, 0, 0),
660            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
661            crate::word(0, 2, 0, 0, 3, 0, 1, 0),
662            crate::word(28, 2, 0, 0, 2, 0, 1, 0),
663            crate::word(8, 0, 255, 255, 0, 0, 0, 0),
664            crate::word(0, 0, 1, 0, 6, 0, 0, 0),
665            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
666            crate::word(25, 2, 0, 0, 42, 0, 0, 0),
667            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
668            crate::word(20, 2, 0, 0, 3, 0, 1, 0),
669            crate::word(32, 2, 0, 0, 2, 0, 1, 0),
670            crate::word(9, 0, 254, 255, 0, 0, 0, 0),
671            crate::word(1, 0, 0, 0, 0, 0, 0, 0),
672            crate::word(53, 68, 251, 55, 155, 177, 160, 158),
673            crate::word(29, 2, 0, 0, 58, 0, 0, 0),
674            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
675            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
676            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
677            crate::word(10, 0, 253, 255, 0, 0, 0, 0),
678            crate::word(1, 0, 0, 0, 0, 0, 0, 0),
679            crate::word(152, 245, 51, 67, 54, 179, 74, 181),
680            crate::word(5, 2, 0, 0, 42, 0, 0, 0),
681            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
682            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
683            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
684            crate::word(11, 0, 252, 255, 0, 0, 0, 0),
685            crate::word(1, 0, 0, 0, 0, 0, 0, 0),
686            crate::word(143, 33, 194, 240, 207, 83, 39, 232),
687            crate::word(237, 1, 0, 0, 82, 0, 0, 0),
688            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
689            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
690            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
691            crate::word(12, 0, 251, 255, 0, 0, 0, 0),
692            crate::word(1, 0, 0, 0, 0, 0, 0, 0),
693            crate::word(32, 148, 13, 122, 172, 165, 138, 177),
694            crate::word(217, 1, 0, 0, 50, 0, 0, 0),
695            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
696            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
697            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
698            crate::word(13, 0, 250, 255, 0, 0, 0, 0),
699            crate::word(1, 0, 0, 0, 0, 0, 0, 0),
700            crate::word(144, 2, 10, 64, 212, 25, 22, 236),
701            crate::word(193, 1, 0, 0, 90, 0, 0, 0),
702            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
703            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
704            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
705            crate::word(4, 0, 0, 0, 5, 0, 0, 0),
706            crate::word(0, 0, 1, 0, 32, 0, 0, 0),
707            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
708            crate::word(173, 1, 0, 0, 90, 0, 0, 0),
709            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
710            crate::word(172, 1, 0, 0, 3, 0, 1, 0),
711            crate::word(200, 1, 0, 0, 2, 0, 1, 0),
712            crate::word(5, 0, 0, 0, 32, 1, 0, 0),
713            crate::word(0, 0, 1, 0, 33, 0, 0, 0),
714            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
715            crate::word(197, 1, 0, 0, 82, 0, 0, 0),
716            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
717            crate::word(196, 1, 0, 0, 3, 0, 1, 0),
718            crate::word(208, 1, 0, 0, 2, 0, 1, 0),
719            crate::word(15, 0, 0, 0, 10, 0, 0, 0),
720            crate::word(0, 0, 1, 0, 34, 0, 0, 0),
721            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
722            crate::word(205, 1, 0, 0, 82, 0, 0, 0),
723            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
724            crate::word(204, 1, 0, 0, 3, 0, 1, 0),
725            crate::word(216, 1, 0, 0, 2, 0, 1, 0),
726            crate::word(16, 0, 0, 0, 11, 0, 0, 0),
727            crate::word(0, 0, 1, 0, 35, 0, 0, 0),
728            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
729            crate::word(213, 1, 0, 0, 66, 0, 0, 0),
730            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
731            crate::word(208, 1, 0, 0, 3, 0, 1, 0),
732            crate::word(220, 1, 0, 0, 2, 0, 1, 0),
733            crate::word(14, 0, 249, 255, 3, 0, 0, 0),
734            crate::word(0, 0, 1, 0, 36, 0, 0, 0),
735            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
736            crate::word(217, 1, 0, 0, 42, 0, 0, 0),
737            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
738            crate::word(212, 1, 0, 0, 3, 0, 1, 0),
739            crate::word(224, 1, 0, 0, 2, 0, 1, 0),
740            crate::word(105, 100, 0, 0, 0, 0, 0, 0),
741            crate::word(9, 0, 0, 0, 0, 0, 0, 0),
742            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
743            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
744            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
745            crate::word(9, 0, 0, 0, 0, 0, 0, 0),
746            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
747            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
748            crate::word(100, 105, 115, 112, 108, 97, 121, 78),
749            crate::word(97, 109, 101, 0, 0, 0, 0, 0),
750            crate::word(12, 0, 0, 0, 0, 0, 0, 0),
751            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
752            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
753            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
754            crate::word(12, 0, 0, 0, 0, 0, 0, 0),
755            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
756            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
757            crate::word(100, 105, 115, 112, 108, 97, 121, 78),
758            crate::word(97, 109, 101, 80, 114, 101, 102, 105),
759            crate::word(120, 76, 101, 110, 103, 116, 104, 0),
760            crate::word(8, 0, 0, 0, 0, 0, 0, 0),
761            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
762            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
763            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
764            crate::word(8, 0, 0, 0, 0, 0, 0, 0),
765            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
766            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
767            crate::word(115, 99, 111, 112, 101, 73, 100, 0),
768            crate::word(9, 0, 0, 0, 0, 0, 0, 0),
769            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
770            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
771            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
772            crate::word(9, 0, 0, 0, 0, 0, 0, 0),
773            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
774            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
775            crate::word(110, 101, 115, 116, 101, 100, 78, 111),
776            crate::word(100, 101, 115, 0, 0, 0, 0, 0),
777            crate::word(14, 0, 0, 0, 0, 0, 0, 0),
778            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
779            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
780            crate::word(0, 0, 0, 0, 3, 0, 1, 0),
781            crate::word(16, 0, 0, 0, 0, 0, 0, 0),
782            crate::word(66, 194, 15, 250, 187, 85, 191, 222),
783            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
784            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
785            crate::word(14, 0, 0, 0, 0, 0, 0, 0),
786            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
787            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
788            crate::word(97, 110, 110, 111, 116, 97, 116, 105),
789            crate::word(111, 110, 115, 0, 0, 0, 0, 0),
790            crate::word(14, 0, 0, 0, 0, 0, 0, 0),
791            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
792            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
793            crate::word(0, 0, 0, 0, 3, 0, 1, 0),
794            crate::word(16, 0, 0, 0, 0, 0, 0, 0),
795            crate::word(66, 117, 37, 171, 13, 149, 200, 241),
796            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
797            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
798            crate::word(14, 0, 0, 0, 0, 0, 0, 0),
799            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
800            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
801            crate::word(102, 105, 108, 101, 0, 0, 0, 0),
802            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
803            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
804            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
805            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
806            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
807            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
808            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
809            crate::word(115, 116, 114, 117, 99, 116, 0, 0),
810            crate::word(101, 110, 117, 109, 0, 0, 0, 0),
811            crate::word(105, 110, 116, 101, 114, 102, 97, 99),
812            crate::word(101, 0, 0, 0, 0, 0, 0, 0),
813            crate::word(99, 111, 110, 115, 116, 0, 0, 0),
814            crate::word(97, 110, 110, 111, 116, 97, 116, 105),
815            crate::word(111, 110, 0, 0, 0, 0, 0, 0),
816            crate::word(112, 97, 114, 97, 109, 101, 116, 101),
817            crate::word(114, 115, 0, 0, 0, 0, 0, 0),
818            crate::word(14, 0, 0, 0, 0, 0, 0, 0),
819            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
820            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
821            crate::word(0, 0, 0, 0, 3, 0, 1, 0),
822            crate::word(16, 0, 0, 0, 0, 0, 0, 0),
823            crate::word(177, 163, 15, 241, 204, 27, 82, 185),
824            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
825            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
826            crate::word(14, 0, 0, 0, 0, 0, 0, 0),
827            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
828            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
829            crate::word(105, 115, 71, 101, 110, 101, 114, 105),
830            crate::word(99, 0, 0, 0, 0, 0, 0, 0),
831            crate::word(1, 0, 0, 0, 0, 0, 0, 0),
832            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
833            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
834            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
835            crate::word(1, 0, 0, 0, 0, 0, 0, 0),
836            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
837            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
838            crate::word(115, 116, 97, 114, 116, 66, 121, 116),
839            crate::word(101, 0, 0, 0, 0, 0, 0, 0),
840            crate::word(8, 0, 0, 0, 0, 0, 0, 0),
841            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
842            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
843            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
844            crate::word(8, 0, 0, 0, 0, 0, 0, 0),
845            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
846            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
847            crate::word(101, 110, 100, 66, 121, 116, 101, 0),
848            crate::word(8, 0, 0, 0, 0, 0, 0, 0),
849            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
850            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
851            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
852            crate::word(8, 0, 0, 0, 0, 0, 0, 0),
853            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
854            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
855            crate::word(116, 121, 112, 101, 0, 0, 0, 0),
856            crate::word(16, 0, 0, 0, 0, 0, 0, 0),
857            crate::word(96, 204, 249, 225, 237, 120, 115, 208),
858            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
859            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
860            crate::word(16, 0, 0, 0, 0, 0, 0, 0),
861            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
862            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
863        ];
864        pub(crate) fn get_field_types(index: u16) -> crate::introspect::Type {
865            match index {
866                0 => <u64 as crate::introspect::Introspect>::introspect(),
867                1 => <crate::text::Owned as crate::introspect::Introspect>::introspect(),
868                2 => <u32 as crate::introspect::Introspect>::introspect(),
869                3 => <u64 as crate::introspect::Introspect>::introspect(),
870                4 => <crate::struct_list::Owned<crate::schema_capnp::node::nested_node::Owned> as crate::introspect::Introspect>::introspect(),
871                5 => <crate::struct_list::Owned<crate::schema_capnp::annotation::Owned> as crate::introspect::Introspect>::introspect(),
872                6 => <() as crate::introspect::Introspect>::introspect(),
873                7 => <crate::schema_capnp::node::struct_::Owned as crate::introspect::Introspect>::introspect(),
874                8 => <crate::schema_capnp::node::enum_::Owned as crate::introspect::Introspect>::introspect(),
875                9 => <crate::schema_capnp::node::interface::Owned as crate::introspect::Introspect>::introspect(),
876                10 => <crate::schema_capnp::node::const_::Owned as crate::introspect::Introspect>::introspect(),
877                11 => <crate::schema_capnp::node::annotation::Owned as crate::introspect::Introspect>::introspect(),
878                12 => <crate::struct_list::Owned<crate::schema_capnp::node::parameter::Owned> as crate::introspect::Introspect>::introspect(),
879                13 => <bool as crate::introspect::Introspect>::introspect(),
880                14 => <u32 as crate::introspect::Introspect>::introspect(),
881                15 => <u32 as crate::introspect::Introspect>::introspect(),
882                16 => <crate::schema_capnp::type_::Owned as crate::introspect::Introspect>::introspect(),
883                _ => crate::introspect::panic_invalid_field_index(index),
884            }
885        }
886        pub(crate) fn get_annotation_types(
887            child_index: Option<u16>,
888            index: u32,
889        ) -> crate::introspect::Type {
890            crate::introspect::panic_invalid_annotation_indices(child_index, index)
891        }
892        pub(crate) static ARENA: crate::private::arena::GeneratedCodeArena =
893            crate::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
894        pub(crate) static RAW_SCHEMA: crate::introspect::RawStructSchema =
895            crate::introspect::RawStructSchema::new(
896                &ARENA,
897                NONUNION_MEMBERS,
898                MEMBERS_BY_DISCRIMINANT,
899                MEMBERS_BY_NAME,
900            );
901        pub(crate) static NONUNION_MEMBERS: &[u16] = &[0, 1, 2, 3, 4, 5, 12, 13, 14, 15];
902        pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[6, 7, 8, 9, 10, 11, 16];
903        pub(crate) static MEMBERS_BY_NAME: &[u16] =
904            &[11, 5, 10, 1, 2, 15, 8, 6, 0, 9, 13, 4, 12, 3, 14, 7, 16];
905        pub(crate) const TYPE_ID: u64 = 0xe682_ab4c_f923_a417;
906    }
907    pub enum Which<A0, A1, A2, A3, A4, A5> {
908        File(()),
909        Struct(A0),
910        Enum(A1),
911        Interface(A2),
912        Const(A3),
913        Annotation(A4),
914        Type(A5),
915    }
916    pub type WhichReader<'a> = Which<
917        crate::schema_capnp::node::struct_::Reader<'a>,
918        crate::schema_capnp::node::enum_::Reader<'a>,
919        crate::schema_capnp::node::interface::Reader<'a>,
920        crate::schema_capnp::node::const_::Reader<'a>,
921        crate::schema_capnp::node::annotation::Reader<'a>,
922        crate::Result<crate::schema_capnp::type_::Reader<'a>>,
923    >;
924    pub type WhichBuilder<'a> = Which<
925        crate::schema_capnp::node::struct_::Builder<'a>,
926        crate::schema_capnp::node::enum_::Builder<'a>,
927        crate::schema_capnp::node::interface::Builder<'a>,
928        crate::schema_capnp::node::const_::Builder<'a>,
929        crate::schema_capnp::node::annotation::Builder<'a>,
930        crate::Result<crate::schema_capnp::type_::Builder<'a>>,
931    >;
932
933    pub mod parameter {
934        #[derive(Copy, Clone)]
935        pub struct Owned(());
936        impl crate::introspect::Introspect for Owned {
937            fn introspect() -> crate::introspect::Type {
938                crate::introspect::TypeVariant::Struct(crate::introspect::RawBrandedStructSchema {
939                    generic: &_private::RAW_SCHEMA,
940                    field_types: _private::get_field_types,
941                    annotation_types: _private::get_annotation_types,
942                    type_id: ::core::any::TypeId::of::<Owned>(),
943                })
944                .into()
945            }
946        }
947        impl crate::traits::Owned for Owned {
948            type Reader<'a> = Reader<'a>;
949            type Builder<'a> = Builder<'a>;
950        }
951        impl crate::traits::OwnedStruct for Owned {
952            type Reader<'a> = Reader<'a>;
953            type Builder<'a> = Builder<'a>;
954        }
955        impl crate::traits::Pipelined for Owned {
956            type Pipeline = Pipeline;
957        }
958
959        pub struct Reader<'a> {
960            reader: crate::private::layout::StructReader<'a>,
961        }
962        impl ::core::marker::Copy for Reader<'_> {}
963        impl ::core::clone::Clone for Reader<'_> {
964            fn clone(&self) -> Self {
965                *self
966            }
967        }
968
969        impl crate::traits::HasTypeId for Reader<'_> {
970            const TYPE_ID: u64 = _private::TYPE_ID;
971        }
972        impl<'a> ::core::convert::From<crate::private::layout::StructReader<'a>> for Reader<'a> {
973            fn from(reader: crate::private::layout::StructReader<'a>) -> Self {
974                Self { reader }
975            }
976        }
977
978        impl<'a> ::core::convert::From<Reader<'a>> for crate::dynamic_value::Reader<'a> {
979            fn from(reader: Reader<'a>) -> Self {
980                Self::Struct(crate::dynamic_struct::Reader::new(
981                    reader.reader,
982                    crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
983                        generic: &_private::RAW_SCHEMA,
984                        field_types: _private::get_field_types,
985                        annotation_types: _private::get_annotation_types,
986                        type_id: ::core::any::TypeId::of::<Owned>(),
987                    }),
988                ))
989            }
990        }
991
992        impl ::core::fmt::Debug for Reader<'_> {
993            fn fmt(
994                &self,
995                f: &mut ::core::fmt::Formatter<'_>,
996            ) -> ::core::result::Result<(), ::core::fmt::Error> {
997                core::fmt::Debug::fmt(
998                    &::core::convert::Into::<crate::dynamic_value::Reader<'_>>::into(*self),
999                    f,
1000                )
1001            }
1002        }
1003
1004        impl<'a> crate::traits::FromPointerReader<'a> for Reader<'a> {
1005            fn get_from_pointer(
1006                reader: &crate::private::layout::PointerReader<'a>,
1007                default: ::core::option::Option<&'a [crate::Word]>,
1008            ) -> crate::Result<Self> {
1009                ::core::result::Result::Ok(reader.get_struct(default)?.into())
1010            }
1011        }
1012
1013        impl<'a> crate::traits::IntoInternalStructReader<'a> for Reader<'a> {
1014            fn into_internal_struct_reader(self) -> crate::private::layout::StructReader<'a> {
1015                self.reader
1016            }
1017        }
1018
1019        impl<'a> crate::traits::Imbue<'a> for Reader<'a> {
1020            fn imbue(&mut self, cap_table: &'a crate::private::layout::CapTable) {
1021                self.reader
1022                    .imbue(crate::private::layout::CapTableReader::from_ref(cap_table))
1023            }
1024        }
1025
1026        impl<'a> Reader<'a> {
1027            pub fn reborrow(&self) -> Reader<'_> {
1028                Self { ..*self }
1029            }
1030
1031            pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
1032                self.reader.total_size()
1033            }
1034            #[inline]
1035            pub fn get_name(self) -> crate::Result<crate::text::Reader<'a>> {
1036                crate::traits::FromPointerReader::get_from_pointer(
1037                    &self.reader.get_pointer_field(0),
1038                    ::core::option::Option::None,
1039                )
1040            }
1041            #[inline]
1042            pub fn has_name(&self) -> bool {
1043                !self.reader.get_pointer_field(0).is_null()
1044            }
1045        }
1046
1047        pub struct Builder<'a> {
1048            builder: crate::private::layout::StructBuilder<'a>,
1049        }
1050        impl crate::traits::HasStructSize for Builder<'_> {
1051            const STRUCT_SIZE: crate::private::layout::StructSize =
1052                crate::private::layout::StructSize {
1053                    data: 0,
1054                    pointers: 1,
1055                };
1056        }
1057        impl crate::traits::HasTypeId for Builder<'_> {
1058            const TYPE_ID: u64 = _private::TYPE_ID;
1059        }
1060        impl<'a> ::core::convert::From<crate::private::layout::StructBuilder<'a>> for Builder<'a> {
1061            fn from(builder: crate::private::layout::StructBuilder<'a>) -> Self {
1062                Self { builder }
1063            }
1064        }
1065
1066        impl<'a> crate::traits::IntoInternalStructBuilder<'a> for Builder<'a> {
1067            fn into_internal_struct_builder(self) -> crate::private::layout::StructBuilder<'a> {
1068                self.builder
1069            }
1070        }
1071
1072        impl<'a> ::core::convert::From<Builder<'a>> for crate::dynamic_value::Builder<'a> {
1073            fn from(builder: Builder<'a>) -> Self {
1074                Self::Struct(crate::dynamic_struct::Builder::new(
1075                    builder.builder,
1076                    crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
1077                        generic: &_private::RAW_SCHEMA,
1078                        field_types: _private::get_field_types,
1079                        annotation_types: _private::get_annotation_types,
1080                        type_id: ::core::any::TypeId::of::<Owned>(),
1081                    }),
1082                ))
1083            }
1084        }
1085
1086        impl<'a> crate::traits::ImbueMut<'a> for Builder<'a> {
1087            fn imbue_mut(&mut self, cap_table: &'a mut crate::private::layout::CapTable) {
1088                self.builder
1089                    .imbue(crate::private::layout::CapTableBuilder::from_ref(cap_table))
1090            }
1091        }
1092
1093        impl<'a> crate::traits::FromPointerBuilder<'a> for Builder<'a> {
1094            fn init_pointer(
1095                builder: crate::private::layout::PointerBuilder<'a>,
1096                _size: u32,
1097            ) -> Self {
1098                builder
1099                    .init_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE)
1100                    .into()
1101            }
1102            fn get_from_pointer(
1103                builder: crate::private::layout::PointerBuilder<'a>,
1104                default: ::core::option::Option<&'a [crate::Word]>,
1105            ) -> crate::Result<Self> {
1106                ::core::result::Result::Ok(
1107                    builder
1108                        .get_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE, default)?
1109                        .into(),
1110                )
1111            }
1112        }
1113
1114        impl crate::traits::SetterInput<Owned> for Reader<'_> {
1115            fn set_pointer_builder(
1116                mut pointer: crate::private::layout::PointerBuilder<'_>,
1117                value: Self,
1118                canonicalize: bool,
1119            ) -> crate::Result<()> {
1120                pointer.set_struct(&value.reader, canonicalize)
1121            }
1122        }
1123
1124        impl<'a> Builder<'a> {
1125            pub fn into_reader(self) -> Reader<'a> {
1126                self.builder.into_reader().into()
1127            }
1128            pub fn reborrow(&mut self) -> Builder<'_> {
1129                Builder {
1130                    builder: self.builder.reborrow(),
1131                }
1132            }
1133            pub fn reborrow_as_reader(&self) -> Reader<'_> {
1134                self.builder.as_reader().into()
1135            }
1136
1137            pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
1138                self.builder.as_reader().total_size()
1139            }
1140            #[inline]
1141            pub fn get_name(self) -> crate::Result<crate::text::Builder<'a>> {
1142                crate::traits::FromPointerBuilder::get_from_pointer(
1143                    self.builder.get_pointer_field(0),
1144                    ::core::option::Option::None,
1145                )
1146            }
1147            #[inline]
1148            pub fn set_name(&mut self, value: impl crate::traits::SetterInput<crate::text::Owned>) {
1149                crate::traits::SetterInput::set_pointer_builder(
1150                    self.builder.reborrow().get_pointer_field(0),
1151                    value,
1152                    false,
1153                )
1154                .unwrap()
1155            }
1156            #[inline]
1157            pub fn init_name(self, size: u32) -> crate::text::Builder<'a> {
1158                self.builder.get_pointer_field(0).init_text(size)
1159            }
1160            #[inline]
1161            pub fn has_name(&self) -> bool {
1162                !self.builder.is_pointer_field_null(0)
1163            }
1164        }
1165
1166        pub struct Pipeline {
1167            _typeless: crate::any_pointer::Pipeline,
1168        }
1169        impl crate::capability::FromTypelessPipeline for Pipeline {
1170            fn new(typeless: crate::any_pointer::Pipeline) -> Self {
1171                Self {
1172                    _typeless: typeless,
1173                }
1174            }
1175        }
1176        impl Pipeline {}
1177        mod _private {
1178            pub(crate) static ENCODED_NODE: [crate::Word; 34] = [
1179                crate::word(0, 0, 0, 0, 6, 0, 6, 0),
1180                crate::word(177, 163, 15, 241, 204, 27, 82, 185),
1181                crate::word(18, 0, 0, 0, 1, 0, 0, 0),
1182                crate::word(23, 164, 35, 249, 76, 171, 130, 230),
1183                crate::word(1, 0, 7, 0, 0, 0, 0, 0),
1184                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1185                crate::word(33, 10, 0, 0, 129, 10, 0, 0),
1186                crate::word(21, 0, 0, 0, 226, 0, 0, 0),
1187                crate::word(33, 0, 0, 0, 7, 0, 0, 0),
1188                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1189                crate::word(29, 0, 0, 0, 63, 0, 0, 0),
1190                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1191                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1192                crate::word(115, 99, 104, 101, 109, 97, 46, 99),
1193                crate::word(97, 112, 110, 112, 58, 78, 111, 100),
1194                crate::word(101, 46, 80, 97, 114, 97, 109, 101),
1195                crate::word(116, 101, 114, 0, 0, 0, 0, 0),
1196                crate::word(0, 0, 0, 0, 1, 0, 1, 0),
1197                crate::word(4, 0, 0, 0, 3, 0, 4, 0),
1198                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1199                crate::word(0, 0, 1, 0, 0, 0, 0, 0),
1200                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1201                crate::word(13, 0, 0, 0, 42, 0, 0, 0),
1202                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1203                crate::word(8, 0, 0, 0, 3, 0, 1, 0),
1204                crate::word(20, 0, 0, 0, 2, 0, 1, 0),
1205                crate::word(110, 97, 109, 101, 0, 0, 0, 0),
1206                crate::word(12, 0, 0, 0, 0, 0, 0, 0),
1207                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1208                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1209                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1210                crate::word(12, 0, 0, 0, 0, 0, 0, 0),
1211                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1212                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1213            ];
1214            pub(crate) fn get_field_types(index: u16) -> crate::introspect::Type {
1215                match index {
1216                    0 => <crate::text::Owned as crate::introspect::Introspect>::introspect(),
1217                    _ => crate::introspect::panic_invalid_field_index(index),
1218                }
1219            }
1220            pub(crate) fn get_annotation_types(
1221                child_index: Option<u16>,
1222                index: u32,
1223            ) -> crate::introspect::Type {
1224                crate::introspect::panic_invalid_annotation_indices(child_index, index)
1225            }
1226            pub(crate) static ARENA: crate::private::arena::GeneratedCodeArena =
1227                crate::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
1228            pub(crate) static RAW_SCHEMA: crate::introspect::RawStructSchema =
1229                crate::introspect::RawStructSchema::new(
1230                    &ARENA,
1231                    NONUNION_MEMBERS,
1232                    MEMBERS_BY_DISCRIMINANT,
1233                    MEMBERS_BY_NAME,
1234                );
1235            pub(crate) static NONUNION_MEMBERS: &[u16] = &[0];
1236            pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[];
1237            pub(crate) static MEMBERS_BY_NAME: &[u16] = &[0];
1238            pub(crate) const TYPE_ID: u64 = 0xb952_1bcc_f10f_a3b1;
1239        }
1240    }
1241
1242    pub mod nested_node {
1243        #[derive(Copy, Clone)]
1244        pub struct Owned(());
1245        impl crate::introspect::Introspect for Owned {
1246            fn introspect() -> crate::introspect::Type {
1247                crate::introspect::TypeVariant::Struct(crate::introspect::RawBrandedStructSchema {
1248                    generic: &_private::RAW_SCHEMA,
1249                    field_types: _private::get_field_types,
1250                    annotation_types: _private::get_annotation_types,
1251                    type_id: ::core::any::TypeId::of::<Owned>(),
1252                })
1253                .into()
1254            }
1255        }
1256        impl crate::traits::Owned for Owned {
1257            type Reader<'a> = Reader<'a>;
1258            type Builder<'a> = Builder<'a>;
1259        }
1260        impl crate::traits::OwnedStruct for Owned {
1261            type Reader<'a> = Reader<'a>;
1262            type Builder<'a> = Builder<'a>;
1263        }
1264        impl crate::traits::Pipelined for Owned {
1265            type Pipeline = Pipeline;
1266        }
1267
1268        pub struct Reader<'a> {
1269            reader: crate::private::layout::StructReader<'a>,
1270        }
1271        impl ::core::marker::Copy for Reader<'_> {}
1272        impl ::core::clone::Clone for Reader<'_> {
1273            fn clone(&self) -> Self {
1274                *self
1275            }
1276        }
1277
1278        impl crate::traits::HasTypeId for Reader<'_> {
1279            const TYPE_ID: u64 = _private::TYPE_ID;
1280        }
1281        impl<'a> ::core::convert::From<crate::private::layout::StructReader<'a>> for Reader<'a> {
1282            fn from(reader: crate::private::layout::StructReader<'a>) -> Self {
1283                Self { reader }
1284            }
1285        }
1286
1287        impl<'a> ::core::convert::From<Reader<'a>> for crate::dynamic_value::Reader<'a> {
1288            fn from(reader: Reader<'a>) -> Self {
1289                Self::Struct(crate::dynamic_struct::Reader::new(
1290                    reader.reader,
1291                    crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
1292                        generic: &_private::RAW_SCHEMA,
1293                        field_types: _private::get_field_types,
1294                        annotation_types: _private::get_annotation_types,
1295                        type_id: ::core::any::TypeId::of::<Owned>(),
1296                    }),
1297                ))
1298            }
1299        }
1300
1301        impl ::core::fmt::Debug for Reader<'_> {
1302            fn fmt(
1303                &self,
1304                f: &mut ::core::fmt::Formatter<'_>,
1305            ) -> ::core::result::Result<(), ::core::fmt::Error> {
1306                core::fmt::Debug::fmt(
1307                    &::core::convert::Into::<crate::dynamic_value::Reader<'_>>::into(*self),
1308                    f,
1309                )
1310            }
1311        }
1312
1313        impl<'a> crate::traits::FromPointerReader<'a> for Reader<'a> {
1314            fn get_from_pointer(
1315                reader: &crate::private::layout::PointerReader<'a>,
1316                default: ::core::option::Option<&'a [crate::Word]>,
1317            ) -> crate::Result<Self> {
1318                ::core::result::Result::Ok(reader.get_struct(default)?.into())
1319            }
1320        }
1321
1322        impl<'a> crate::traits::IntoInternalStructReader<'a> for Reader<'a> {
1323            fn into_internal_struct_reader(self) -> crate::private::layout::StructReader<'a> {
1324                self.reader
1325            }
1326        }
1327
1328        impl<'a> crate::traits::Imbue<'a> for Reader<'a> {
1329            fn imbue(&mut self, cap_table: &'a crate::private::layout::CapTable) {
1330                self.reader
1331                    .imbue(crate::private::layout::CapTableReader::from_ref(cap_table))
1332            }
1333        }
1334
1335        impl<'a> Reader<'a> {
1336            pub fn reborrow(&self) -> Reader<'_> {
1337                Self { ..*self }
1338            }
1339
1340            pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
1341                self.reader.total_size()
1342            }
1343            #[inline]
1344            pub fn get_name(self) -> crate::Result<crate::text::Reader<'a>> {
1345                crate::traits::FromPointerReader::get_from_pointer(
1346                    &self.reader.get_pointer_field(0),
1347                    ::core::option::Option::None,
1348                )
1349            }
1350            #[inline]
1351            pub fn has_name(&self) -> bool {
1352                !self.reader.get_pointer_field(0).is_null()
1353            }
1354            #[inline]
1355            pub fn get_id(self) -> u64 {
1356                self.reader.get_data_field::<u64>(0)
1357            }
1358        }
1359
1360        pub struct Builder<'a> {
1361            builder: crate::private::layout::StructBuilder<'a>,
1362        }
1363        impl crate::traits::HasStructSize for Builder<'_> {
1364            const STRUCT_SIZE: crate::private::layout::StructSize =
1365                crate::private::layout::StructSize {
1366                    data: 1,
1367                    pointers: 1,
1368                };
1369        }
1370        impl crate::traits::HasTypeId for Builder<'_> {
1371            const TYPE_ID: u64 = _private::TYPE_ID;
1372        }
1373        impl<'a> ::core::convert::From<crate::private::layout::StructBuilder<'a>> for Builder<'a> {
1374            fn from(builder: crate::private::layout::StructBuilder<'a>) -> Self {
1375                Self { builder }
1376            }
1377        }
1378
1379        impl<'a> crate::traits::IntoInternalStructBuilder<'a> for Builder<'a> {
1380            fn into_internal_struct_builder(self) -> crate::private::layout::StructBuilder<'a> {
1381                self.builder
1382            }
1383        }
1384
1385        impl<'a> ::core::convert::From<Builder<'a>> for crate::dynamic_value::Builder<'a> {
1386            fn from(builder: Builder<'a>) -> Self {
1387                Self::Struct(crate::dynamic_struct::Builder::new(
1388                    builder.builder,
1389                    crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
1390                        generic: &_private::RAW_SCHEMA,
1391                        field_types: _private::get_field_types,
1392                        annotation_types: _private::get_annotation_types,
1393                        type_id: ::core::any::TypeId::of::<Owned>(),
1394                    }),
1395                ))
1396            }
1397        }
1398
1399        impl<'a> crate::traits::ImbueMut<'a> for Builder<'a> {
1400            fn imbue_mut(&mut self, cap_table: &'a mut crate::private::layout::CapTable) {
1401                self.builder
1402                    .imbue(crate::private::layout::CapTableBuilder::from_ref(cap_table))
1403            }
1404        }
1405
1406        impl<'a> crate::traits::FromPointerBuilder<'a> for Builder<'a> {
1407            fn init_pointer(
1408                builder: crate::private::layout::PointerBuilder<'a>,
1409                _size: u32,
1410            ) -> Self {
1411                builder
1412                    .init_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE)
1413                    .into()
1414            }
1415            fn get_from_pointer(
1416                builder: crate::private::layout::PointerBuilder<'a>,
1417                default: ::core::option::Option<&'a [crate::Word]>,
1418            ) -> crate::Result<Self> {
1419                ::core::result::Result::Ok(
1420                    builder
1421                        .get_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE, default)?
1422                        .into(),
1423                )
1424            }
1425        }
1426
1427        impl crate::traits::SetterInput<Owned> for Reader<'_> {
1428            fn set_pointer_builder(
1429                mut pointer: crate::private::layout::PointerBuilder<'_>,
1430                value: Self,
1431                canonicalize: bool,
1432            ) -> crate::Result<()> {
1433                pointer.set_struct(&value.reader, canonicalize)
1434            }
1435        }
1436
1437        impl<'a> Builder<'a> {
1438            pub fn into_reader(self) -> Reader<'a> {
1439                self.builder.into_reader().into()
1440            }
1441            pub fn reborrow(&mut self) -> Builder<'_> {
1442                Builder {
1443                    builder: self.builder.reborrow(),
1444                }
1445            }
1446            pub fn reborrow_as_reader(&self) -> Reader<'_> {
1447                self.builder.as_reader().into()
1448            }
1449
1450            pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
1451                self.builder.as_reader().total_size()
1452            }
1453            #[inline]
1454            pub fn get_name(self) -> crate::Result<crate::text::Builder<'a>> {
1455                crate::traits::FromPointerBuilder::get_from_pointer(
1456                    self.builder.get_pointer_field(0),
1457                    ::core::option::Option::None,
1458                )
1459            }
1460            #[inline]
1461            pub fn set_name(&mut self, value: impl crate::traits::SetterInput<crate::text::Owned>) {
1462                crate::traits::SetterInput::set_pointer_builder(
1463                    self.builder.reborrow().get_pointer_field(0),
1464                    value,
1465                    false,
1466                )
1467                .unwrap()
1468            }
1469            #[inline]
1470            pub fn init_name(self, size: u32) -> crate::text::Builder<'a> {
1471                self.builder.get_pointer_field(0).init_text(size)
1472            }
1473            #[inline]
1474            pub fn has_name(&self) -> bool {
1475                !self.builder.is_pointer_field_null(0)
1476            }
1477            #[inline]
1478            pub fn get_id(self) -> u64 {
1479                self.builder.get_data_field::<u64>(0)
1480            }
1481            #[inline]
1482            pub fn set_id(&mut self, value: u64) {
1483                self.builder.set_data_field::<u64>(0, value);
1484            }
1485        }
1486
1487        pub struct Pipeline {
1488            _typeless: crate::any_pointer::Pipeline,
1489        }
1490        impl crate::capability::FromTypelessPipeline for Pipeline {
1491            fn new(typeless: crate::any_pointer::Pipeline) -> Self {
1492                Self {
1493                    _typeless: typeless,
1494                }
1495            }
1496        }
1497        impl Pipeline {}
1498        mod _private {
1499            pub(crate) static ENCODED_NODE: [crate::Word; 49] = [
1500                crate::word(0, 0, 0, 0, 6, 0, 6, 0),
1501                crate::word(66, 194, 15, 250, 187, 85, 191, 222),
1502                crate::word(18, 0, 0, 0, 1, 0, 1, 0),
1503                crate::word(23, 164, 35, 249, 76, 171, 130, 230),
1504                crate::word(1, 0, 7, 0, 0, 0, 0, 0),
1505                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1506                crate::word(10, 11, 0, 0, 144, 12, 0, 0),
1507                crate::word(21, 0, 0, 0, 234, 0, 0, 0),
1508                crate::word(33, 0, 0, 0, 7, 0, 0, 0),
1509                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1510                crate::word(29, 0, 0, 0, 119, 0, 0, 0),
1511                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1512                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1513                crate::word(115, 99, 104, 101, 109, 97, 46, 99),
1514                crate::word(97, 112, 110, 112, 58, 78, 111, 100),
1515                crate::word(101, 46, 78, 101, 115, 116, 101, 100),
1516                crate::word(78, 111, 100, 101, 0, 0, 0, 0),
1517                crate::word(0, 0, 0, 0, 1, 0, 1, 0),
1518                crate::word(8, 0, 0, 0, 3, 0, 4, 0),
1519                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1520                crate::word(0, 0, 1, 0, 0, 0, 0, 0),
1521                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1522                crate::word(41, 0, 0, 0, 42, 0, 0, 0),
1523                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1524                crate::word(36, 0, 0, 0, 3, 0, 1, 0),
1525                crate::word(48, 0, 0, 0, 2, 0, 1, 0),
1526                crate::word(1, 0, 0, 0, 0, 0, 0, 0),
1527                crate::word(0, 0, 1, 0, 1, 0, 0, 0),
1528                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1529                crate::word(45, 0, 0, 0, 26, 0, 0, 0),
1530                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1531                crate::word(40, 0, 0, 0, 3, 0, 1, 0),
1532                crate::word(52, 0, 0, 0, 2, 0, 1, 0),
1533                crate::word(110, 97, 109, 101, 0, 0, 0, 0),
1534                crate::word(12, 0, 0, 0, 0, 0, 0, 0),
1535                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1536                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1537                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1538                crate::word(12, 0, 0, 0, 0, 0, 0, 0),
1539                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1540                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1541                crate::word(105, 100, 0, 0, 0, 0, 0, 0),
1542                crate::word(9, 0, 0, 0, 0, 0, 0, 0),
1543                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1544                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1545                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1546                crate::word(9, 0, 0, 0, 0, 0, 0, 0),
1547                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1548                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1549            ];
1550            pub(crate) fn get_field_types(index: u16) -> crate::introspect::Type {
1551                match index {
1552                    0 => <crate::text::Owned as crate::introspect::Introspect>::introspect(),
1553                    1 => <u64 as crate::introspect::Introspect>::introspect(),
1554                    _ => crate::introspect::panic_invalid_field_index(index),
1555                }
1556            }
1557            pub(crate) fn get_annotation_types(
1558                child_index: Option<u16>,
1559                index: u32,
1560            ) -> crate::introspect::Type {
1561                crate::introspect::panic_invalid_annotation_indices(child_index, index)
1562            }
1563            pub(crate) static ARENA: crate::private::arena::GeneratedCodeArena =
1564                crate::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
1565            pub(crate) static RAW_SCHEMA: crate::introspect::RawStructSchema =
1566                crate::introspect::RawStructSchema::new(
1567                    &ARENA,
1568                    NONUNION_MEMBERS,
1569                    MEMBERS_BY_DISCRIMINANT,
1570                    MEMBERS_BY_NAME,
1571                );
1572            pub(crate) static NONUNION_MEMBERS: &[u16] = &[0, 1];
1573            pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[];
1574            pub(crate) static MEMBERS_BY_NAME: &[u16] = &[1, 0];
1575            pub(crate) const TYPE_ID: u64 = 0xdebf_55bb_fa0f_c242;
1576        }
1577    }
1578
1579    pub mod source_info {
1580        #[derive(Copy, Clone)]
1581        pub struct Owned(());
1582        impl crate::introspect::Introspect for Owned {
1583            fn introspect() -> crate::introspect::Type {
1584                crate::introspect::TypeVariant::Struct(crate::introspect::RawBrandedStructSchema {
1585                    generic: &_private::RAW_SCHEMA,
1586                    field_types: _private::get_field_types,
1587                    annotation_types: _private::get_annotation_types,
1588                    type_id: ::core::any::TypeId::of::<Owned>(),
1589                })
1590                .into()
1591            }
1592        }
1593        impl crate::traits::Owned for Owned {
1594            type Reader<'a> = Reader<'a>;
1595            type Builder<'a> = Builder<'a>;
1596        }
1597        impl crate::traits::OwnedStruct for Owned {
1598            type Reader<'a> = Reader<'a>;
1599            type Builder<'a> = Builder<'a>;
1600        }
1601        impl crate::traits::Pipelined for Owned {
1602            type Pipeline = Pipeline;
1603        }
1604
1605        pub struct Reader<'a> {
1606            reader: crate::private::layout::StructReader<'a>,
1607        }
1608        impl ::core::marker::Copy for Reader<'_> {}
1609        impl ::core::clone::Clone for Reader<'_> {
1610            fn clone(&self) -> Self {
1611                *self
1612            }
1613        }
1614
1615        impl crate::traits::HasTypeId for Reader<'_> {
1616            const TYPE_ID: u64 = _private::TYPE_ID;
1617        }
1618        impl<'a> ::core::convert::From<crate::private::layout::StructReader<'a>> for Reader<'a> {
1619            fn from(reader: crate::private::layout::StructReader<'a>) -> Self {
1620                Self { reader }
1621            }
1622        }
1623
1624        impl<'a> ::core::convert::From<Reader<'a>> for crate::dynamic_value::Reader<'a> {
1625            fn from(reader: Reader<'a>) -> Self {
1626                Self::Struct(crate::dynamic_struct::Reader::new(
1627                    reader.reader,
1628                    crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
1629                        generic: &_private::RAW_SCHEMA,
1630                        field_types: _private::get_field_types,
1631                        annotation_types: _private::get_annotation_types,
1632                        type_id: ::core::any::TypeId::of::<Owned>(),
1633                    }),
1634                ))
1635            }
1636        }
1637
1638        impl ::core::fmt::Debug for Reader<'_> {
1639            fn fmt(
1640                &self,
1641                f: &mut ::core::fmt::Formatter<'_>,
1642            ) -> ::core::result::Result<(), ::core::fmt::Error> {
1643                core::fmt::Debug::fmt(
1644                    &::core::convert::Into::<crate::dynamic_value::Reader<'_>>::into(*self),
1645                    f,
1646                )
1647            }
1648        }
1649
1650        impl<'a> crate::traits::FromPointerReader<'a> for Reader<'a> {
1651            fn get_from_pointer(
1652                reader: &crate::private::layout::PointerReader<'a>,
1653                default: ::core::option::Option<&'a [crate::Word]>,
1654            ) -> crate::Result<Self> {
1655                ::core::result::Result::Ok(reader.get_struct(default)?.into())
1656            }
1657        }
1658
1659        impl<'a> crate::traits::IntoInternalStructReader<'a> for Reader<'a> {
1660            fn into_internal_struct_reader(self) -> crate::private::layout::StructReader<'a> {
1661                self.reader
1662            }
1663        }
1664
1665        impl<'a> crate::traits::Imbue<'a> for Reader<'a> {
1666            fn imbue(&mut self, cap_table: &'a crate::private::layout::CapTable) {
1667                self.reader
1668                    .imbue(crate::private::layout::CapTableReader::from_ref(cap_table))
1669            }
1670        }
1671
1672        impl<'a> Reader<'a> {
1673            pub fn reborrow(&self) -> Reader<'_> {
1674                Self { ..*self }
1675            }
1676
1677            pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
1678                self.reader.total_size()
1679            }
1680            #[inline]
1681            pub fn get_id(self) -> u64 {
1682                self.reader.get_data_field::<u64>(0)
1683            }
1684            #[inline]
1685            pub fn get_doc_comment(self) -> crate::Result<crate::text::Reader<'a>> {
1686                crate::traits::FromPointerReader::get_from_pointer(
1687                    &self.reader.get_pointer_field(0),
1688                    ::core::option::Option::None,
1689                )
1690            }
1691            #[inline]
1692            pub fn has_doc_comment(&self) -> bool {
1693                !self.reader.get_pointer_field(0).is_null()
1694            }
1695            #[inline]
1696            pub fn get_members(
1697                self,
1698            ) -> crate::Result<
1699                crate::struct_list::Reader<
1700                    'a,
1701                    crate::schema_capnp::node::source_info::member::Owned,
1702                >,
1703            > {
1704                crate::traits::FromPointerReader::get_from_pointer(
1705                    &self.reader.get_pointer_field(1),
1706                    ::core::option::Option::None,
1707                )
1708            }
1709            #[inline]
1710            pub fn has_members(&self) -> bool {
1711                !self.reader.get_pointer_field(1).is_null()
1712            }
1713            #[inline]
1714            pub fn get_start_byte(self) -> u32 {
1715                self.reader.get_data_field::<u32>(2)
1716            }
1717            #[inline]
1718            pub fn get_end_byte(self) -> u32 {
1719                self.reader.get_data_field::<u32>(3)
1720            }
1721        }
1722
1723        pub struct Builder<'a> {
1724            builder: crate::private::layout::StructBuilder<'a>,
1725        }
1726        impl crate::traits::HasStructSize for Builder<'_> {
1727            const STRUCT_SIZE: crate::private::layout::StructSize =
1728                crate::private::layout::StructSize {
1729                    data: 2,
1730                    pointers: 2,
1731                };
1732        }
1733        impl crate::traits::HasTypeId for Builder<'_> {
1734            const TYPE_ID: u64 = _private::TYPE_ID;
1735        }
1736        impl<'a> ::core::convert::From<crate::private::layout::StructBuilder<'a>> for Builder<'a> {
1737            fn from(builder: crate::private::layout::StructBuilder<'a>) -> Self {
1738                Self { builder }
1739            }
1740        }
1741
1742        impl<'a> crate::traits::IntoInternalStructBuilder<'a> for Builder<'a> {
1743            fn into_internal_struct_builder(self) -> crate::private::layout::StructBuilder<'a> {
1744                self.builder
1745            }
1746        }
1747
1748        impl<'a> ::core::convert::From<Builder<'a>> for crate::dynamic_value::Builder<'a> {
1749            fn from(builder: Builder<'a>) -> Self {
1750                Self::Struct(crate::dynamic_struct::Builder::new(
1751                    builder.builder,
1752                    crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
1753                        generic: &_private::RAW_SCHEMA,
1754                        field_types: _private::get_field_types,
1755                        annotation_types: _private::get_annotation_types,
1756                        type_id: ::core::any::TypeId::of::<Owned>(),
1757                    }),
1758                ))
1759            }
1760        }
1761
1762        impl<'a> crate::traits::ImbueMut<'a> for Builder<'a> {
1763            fn imbue_mut(&mut self, cap_table: &'a mut crate::private::layout::CapTable) {
1764                self.builder
1765                    .imbue(crate::private::layout::CapTableBuilder::from_ref(cap_table))
1766            }
1767        }
1768
1769        impl<'a> crate::traits::FromPointerBuilder<'a> for Builder<'a> {
1770            fn init_pointer(
1771                builder: crate::private::layout::PointerBuilder<'a>,
1772                _size: u32,
1773            ) -> Self {
1774                builder
1775                    .init_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE)
1776                    .into()
1777            }
1778            fn get_from_pointer(
1779                builder: crate::private::layout::PointerBuilder<'a>,
1780                default: ::core::option::Option<&'a [crate::Word]>,
1781            ) -> crate::Result<Self> {
1782                ::core::result::Result::Ok(
1783                    builder
1784                        .get_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE, default)?
1785                        .into(),
1786                )
1787            }
1788        }
1789
1790        impl crate::traits::SetterInput<Owned> for Reader<'_> {
1791            fn set_pointer_builder(
1792                mut pointer: crate::private::layout::PointerBuilder<'_>,
1793                value: Self,
1794                canonicalize: bool,
1795            ) -> crate::Result<()> {
1796                pointer.set_struct(&value.reader, canonicalize)
1797            }
1798        }
1799
1800        impl<'a> Builder<'a> {
1801            pub fn into_reader(self) -> Reader<'a> {
1802                self.builder.into_reader().into()
1803            }
1804            pub fn reborrow(&mut self) -> Builder<'_> {
1805                Builder {
1806                    builder: self.builder.reborrow(),
1807                }
1808            }
1809            pub fn reborrow_as_reader(&self) -> Reader<'_> {
1810                self.builder.as_reader().into()
1811            }
1812
1813            pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
1814                self.builder.as_reader().total_size()
1815            }
1816            #[inline]
1817            pub fn get_id(self) -> u64 {
1818                self.builder.get_data_field::<u64>(0)
1819            }
1820            #[inline]
1821            pub fn set_id(&mut self, value: u64) {
1822                self.builder.set_data_field::<u64>(0, value);
1823            }
1824            #[inline]
1825            pub fn get_doc_comment(self) -> crate::Result<crate::text::Builder<'a>> {
1826                crate::traits::FromPointerBuilder::get_from_pointer(
1827                    self.builder.get_pointer_field(0),
1828                    ::core::option::Option::None,
1829                )
1830            }
1831            #[inline]
1832            pub fn set_doc_comment(
1833                &mut self,
1834                value: impl crate::traits::SetterInput<crate::text::Owned>,
1835            ) {
1836                crate::traits::SetterInput::set_pointer_builder(
1837                    self.builder.reborrow().get_pointer_field(0),
1838                    value,
1839                    false,
1840                )
1841                .unwrap()
1842            }
1843            #[inline]
1844            pub fn init_doc_comment(self, size: u32) -> crate::text::Builder<'a> {
1845                self.builder.get_pointer_field(0).init_text(size)
1846            }
1847            #[inline]
1848            pub fn has_doc_comment(&self) -> bool {
1849                !self.builder.is_pointer_field_null(0)
1850            }
1851            #[inline]
1852            pub fn get_members(
1853                self,
1854            ) -> crate::Result<
1855                crate::struct_list::Builder<
1856                    'a,
1857                    crate::schema_capnp::node::source_info::member::Owned,
1858                >,
1859            > {
1860                crate::traits::FromPointerBuilder::get_from_pointer(
1861                    self.builder.get_pointer_field(1),
1862                    ::core::option::Option::None,
1863                )
1864            }
1865            #[inline]
1866            pub fn set_members(
1867                &mut self,
1868                value: crate::struct_list::Reader<
1869                    '_,
1870                    crate::schema_capnp::node::source_info::member::Owned,
1871                >,
1872            ) -> crate::Result<()> {
1873                crate::traits::SetterInput::set_pointer_builder(
1874                    self.builder.reborrow().get_pointer_field(1),
1875                    value,
1876                    false,
1877                )
1878            }
1879            #[inline]
1880            pub fn init_members(
1881                self,
1882                size: u32,
1883            ) -> crate::struct_list::Builder<
1884                'a,
1885                crate::schema_capnp::node::source_info::member::Owned,
1886            > {
1887                crate::traits::FromPointerBuilder::init_pointer(
1888                    self.builder.get_pointer_field(1),
1889                    size,
1890                )
1891            }
1892            #[inline]
1893            pub fn has_members(&self) -> bool {
1894                !self.builder.is_pointer_field_null(1)
1895            }
1896            #[inline]
1897            pub fn get_start_byte(self) -> u32 {
1898                self.builder.get_data_field::<u32>(2)
1899            }
1900            #[inline]
1901            pub fn set_start_byte(&mut self, value: u32) {
1902                self.builder.set_data_field::<u32>(2, value);
1903            }
1904            #[inline]
1905            pub fn get_end_byte(self) -> u32 {
1906                self.builder.get_data_field::<u32>(3)
1907            }
1908            #[inline]
1909            pub fn set_end_byte(&mut self, value: u32) {
1910                self.builder.set_data_field::<u32>(3, value);
1911            }
1912        }
1913
1914        pub struct Pipeline {
1915            _typeless: crate::any_pointer::Pipeline,
1916        }
1917        impl crate::capability::FromTypelessPipeline for Pipeline {
1918            fn new(typeless: crate::any_pointer::Pipeline) -> Self {
1919                Self {
1920                    _typeless: typeless,
1921                }
1922            }
1923        }
1924        impl Pipeline {}
1925        mod _private {
1926            pub(crate) static ENCODED_NODE: [crate::Word; 103] = [
1927                crate::word(0, 0, 0, 0, 6, 0, 6, 0),
1928                crate::word(174, 87, 19, 4, 227, 29, 142, 243),
1929                crate::word(18, 0, 0, 0, 1, 0, 2, 0),
1930                crate::word(23, 164, 35, 249, 76, 171, 130, 230),
1931                crate::word(2, 0, 7, 0, 0, 0, 0, 0),
1932                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1933                crate::word(124, 29, 0, 0, 70, 33, 0, 0),
1934                crate::word(21, 0, 0, 0, 234, 0, 0, 0),
1935                crate::word(33, 0, 0, 0, 23, 0, 0, 0),
1936                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1937                crate::word(41, 0, 0, 0, 31, 1, 0, 0),
1938                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1939                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1940                crate::word(115, 99, 104, 101, 109, 97, 46, 99),
1941                crate::word(97, 112, 110, 112, 58, 78, 111, 100),
1942                crate::word(101, 46, 83, 111, 117, 114, 99, 101),
1943                crate::word(73, 110, 102, 111, 0, 0, 0, 0),
1944                crate::word(4, 0, 0, 0, 1, 0, 1, 0),
1945                crate::word(162, 31, 142, 137, 56, 144, 186, 194),
1946                crate::word(1, 0, 0, 0, 58, 0, 0, 0),
1947                crate::word(77, 101, 109, 98, 101, 114, 0, 0),
1948                crate::word(20, 0, 0, 0, 3, 0, 4, 0),
1949                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1950                crate::word(0, 0, 1, 0, 0, 0, 0, 0),
1951                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1952                crate::word(125, 0, 0, 0, 26, 0, 0, 0),
1953                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1954                crate::word(120, 0, 0, 0, 3, 0, 1, 0),
1955                crate::word(132, 0, 0, 0, 2, 0, 1, 0),
1956                crate::word(1, 0, 0, 0, 0, 0, 0, 0),
1957                crate::word(0, 0, 1, 0, 1, 0, 0, 0),
1958                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1959                crate::word(129, 0, 0, 0, 90, 0, 0, 0),
1960                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1961                crate::word(128, 0, 0, 0, 3, 0, 1, 0),
1962                crate::word(140, 0, 0, 0, 2, 0, 1, 0),
1963                crate::word(2, 0, 0, 0, 1, 0, 0, 0),
1964                crate::word(0, 0, 1, 0, 2, 0, 0, 0),
1965                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1966                crate::word(137, 0, 0, 0, 66, 0, 0, 0),
1967                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1968                crate::word(132, 0, 0, 0, 3, 0, 1, 0),
1969                crate::word(160, 0, 0, 0, 2, 0, 1, 0),
1970                crate::word(3, 0, 0, 0, 2, 0, 0, 0),
1971                crate::word(0, 0, 1, 0, 3, 0, 0, 0),
1972                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1973                crate::word(157, 0, 0, 0, 82, 0, 0, 0),
1974                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1975                crate::word(156, 0, 0, 0, 3, 0, 1, 0),
1976                crate::word(168, 0, 0, 0, 2, 0, 1, 0),
1977                crate::word(4, 0, 0, 0, 3, 0, 0, 0),
1978                crate::word(0, 0, 1, 0, 4, 0, 0, 0),
1979                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1980                crate::word(165, 0, 0, 0, 66, 0, 0, 0),
1981                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1982                crate::word(160, 0, 0, 0, 3, 0, 1, 0),
1983                crate::word(172, 0, 0, 0, 2, 0, 1, 0),
1984                crate::word(105, 100, 0, 0, 0, 0, 0, 0),
1985                crate::word(9, 0, 0, 0, 0, 0, 0, 0),
1986                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1987                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1988                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1989                crate::word(9, 0, 0, 0, 0, 0, 0, 0),
1990                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1991                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1992                crate::word(100, 111, 99, 67, 111, 109, 109, 101),
1993                crate::word(110, 116, 0, 0, 0, 0, 0, 0),
1994                crate::word(12, 0, 0, 0, 0, 0, 0, 0),
1995                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1996                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1997                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
1998                crate::word(12, 0, 0, 0, 0, 0, 0, 0),
1999                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2000                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2001                crate::word(109, 101, 109, 98, 101, 114, 115, 0),
2002                crate::word(14, 0, 0, 0, 0, 0, 0, 0),
2003                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2004                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2005                crate::word(0, 0, 0, 0, 3, 0, 1, 0),
2006                crate::word(16, 0, 0, 0, 0, 0, 0, 0),
2007                crate::word(162, 31, 142, 137, 56, 144, 186, 194),
2008                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2009                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2010                crate::word(14, 0, 0, 0, 0, 0, 0, 0),
2011                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2012                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2013                crate::word(115, 116, 97, 114, 116, 66, 121, 116),
2014                crate::word(101, 0, 0, 0, 0, 0, 0, 0),
2015                crate::word(8, 0, 0, 0, 0, 0, 0, 0),
2016                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2017                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2018                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2019                crate::word(8, 0, 0, 0, 0, 0, 0, 0),
2020                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2021                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2022                crate::word(101, 110, 100, 66, 121, 116, 101, 0),
2023                crate::word(8, 0, 0, 0, 0, 0, 0, 0),
2024                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2025                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2026                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2027                crate::word(8, 0, 0, 0, 0, 0, 0, 0),
2028                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2029                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2030            ];
2031            pub(crate) fn get_field_types(index: u16) -> crate::introspect::Type {
2032                match index {
2033                    0 => <u64 as crate::introspect::Introspect>::introspect(),
2034                    1 => <crate::text::Owned as crate::introspect::Introspect>::introspect(),
2035                    2 => <crate::struct_list::Owned<
2036                        crate::schema_capnp::node::source_info::member::Owned,
2037                    > as crate::introspect::Introspect>::introspect(),
2038                    3 => <u32 as crate::introspect::Introspect>::introspect(),
2039                    4 => <u32 as crate::introspect::Introspect>::introspect(),
2040                    _ => crate::introspect::panic_invalid_field_index(index),
2041                }
2042            }
2043            pub(crate) fn get_annotation_types(
2044                child_index: Option<u16>,
2045                index: u32,
2046            ) -> crate::introspect::Type {
2047                crate::introspect::panic_invalid_annotation_indices(child_index, index)
2048            }
2049            pub(crate) static ARENA: crate::private::arena::GeneratedCodeArena =
2050                crate::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
2051            pub(crate) static RAW_SCHEMA: crate::introspect::RawStructSchema =
2052                crate::introspect::RawStructSchema::new(
2053                    &ARENA,
2054                    NONUNION_MEMBERS,
2055                    MEMBERS_BY_DISCRIMINANT,
2056                    MEMBERS_BY_NAME,
2057                );
2058            pub(crate) static NONUNION_MEMBERS: &[u16] = &[0, 1, 2, 3, 4];
2059            pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[];
2060            pub(crate) static MEMBERS_BY_NAME: &[u16] = &[1, 4, 0, 2, 3];
2061            pub(crate) const TYPE_ID: u64 = 0xf38e_1de3_0413_57ae;
2062        }
2063
2064        pub mod member {
2065            #[derive(Copy, Clone)]
2066            pub struct Owned(());
2067            impl crate::introspect::Introspect for Owned {
2068                fn introspect() -> crate::introspect::Type {
2069                    crate::introspect::TypeVariant::Struct(
2070                        crate::introspect::RawBrandedStructSchema {
2071                            generic: &_private::RAW_SCHEMA,
2072                            field_types: _private::get_field_types,
2073                            annotation_types: _private::get_annotation_types,
2074                            type_id: ::core::any::TypeId::of::<Owned>(),
2075                        },
2076                    )
2077                    .into()
2078                }
2079            }
2080            impl crate::traits::Owned for Owned {
2081                type Reader<'a> = Reader<'a>;
2082                type Builder<'a> = Builder<'a>;
2083            }
2084            impl crate::traits::OwnedStruct for Owned {
2085                type Reader<'a> = Reader<'a>;
2086                type Builder<'a> = Builder<'a>;
2087            }
2088            impl crate::traits::Pipelined for Owned {
2089                type Pipeline = Pipeline;
2090            }
2091
2092            pub struct Reader<'a> {
2093                reader: crate::private::layout::StructReader<'a>,
2094            }
2095            impl ::core::marker::Copy for Reader<'_> {}
2096            impl ::core::clone::Clone for Reader<'_> {
2097                fn clone(&self) -> Self {
2098                    *self
2099                }
2100            }
2101
2102            impl crate::traits::HasTypeId for Reader<'_> {
2103                const TYPE_ID: u64 = _private::TYPE_ID;
2104            }
2105            impl<'a> ::core::convert::From<crate::private::layout::StructReader<'a>> for Reader<'a> {
2106                fn from(reader: crate::private::layout::StructReader<'a>) -> Self {
2107                    Self { reader }
2108                }
2109            }
2110
2111            impl<'a> ::core::convert::From<Reader<'a>> for crate::dynamic_value::Reader<'a> {
2112                fn from(reader: Reader<'a>) -> Self {
2113                    Self::Struct(crate::dynamic_struct::Reader::new(
2114                        reader.reader,
2115                        crate::schema::StructSchema::new(
2116                            crate::introspect::RawBrandedStructSchema {
2117                                generic: &_private::RAW_SCHEMA,
2118                                field_types: _private::get_field_types,
2119                                annotation_types: _private::get_annotation_types,
2120                                type_id: ::core::any::TypeId::of::<Owned>(),
2121                            },
2122                        ),
2123                    ))
2124                }
2125            }
2126
2127            impl ::core::fmt::Debug for Reader<'_> {
2128                fn fmt(
2129                    &self,
2130                    f: &mut ::core::fmt::Formatter<'_>,
2131                ) -> ::core::result::Result<(), ::core::fmt::Error> {
2132                    core::fmt::Debug::fmt(
2133                        &::core::convert::Into::<crate::dynamic_value::Reader<'_>>::into(*self),
2134                        f,
2135                    )
2136                }
2137            }
2138
2139            impl<'a> crate::traits::FromPointerReader<'a> for Reader<'a> {
2140                fn get_from_pointer(
2141                    reader: &crate::private::layout::PointerReader<'a>,
2142                    default: ::core::option::Option<&'a [crate::Word]>,
2143                ) -> crate::Result<Self> {
2144                    ::core::result::Result::Ok(reader.get_struct(default)?.into())
2145                }
2146            }
2147
2148            impl<'a> crate::traits::IntoInternalStructReader<'a> for Reader<'a> {
2149                fn into_internal_struct_reader(self) -> crate::private::layout::StructReader<'a> {
2150                    self.reader
2151                }
2152            }
2153
2154            impl<'a> crate::traits::Imbue<'a> for Reader<'a> {
2155                fn imbue(&mut self, cap_table: &'a crate::private::layout::CapTable) {
2156                    self.reader
2157                        .imbue(crate::private::layout::CapTableReader::from_ref(cap_table))
2158                }
2159            }
2160
2161            impl<'a> Reader<'a> {
2162                pub fn reborrow(&self) -> Reader<'_> {
2163                    Self { ..*self }
2164                }
2165
2166                pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
2167                    self.reader.total_size()
2168                }
2169                #[inline]
2170                pub fn get_doc_comment(self) -> crate::Result<crate::text::Reader<'a>> {
2171                    crate::traits::FromPointerReader::get_from_pointer(
2172                        &self.reader.get_pointer_field(0),
2173                        ::core::option::Option::None,
2174                    )
2175                }
2176                #[inline]
2177                pub fn has_doc_comment(&self) -> bool {
2178                    !self.reader.get_pointer_field(0).is_null()
2179                }
2180            }
2181
2182            pub struct Builder<'a> {
2183                builder: crate::private::layout::StructBuilder<'a>,
2184            }
2185            impl crate::traits::HasStructSize for Builder<'_> {
2186                const STRUCT_SIZE: crate::private::layout::StructSize =
2187                    crate::private::layout::StructSize {
2188                        data: 0,
2189                        pointers: 1,
2190                    };
2191            }
2192            impl crate::traits::HasTypeId for Builder<'_> {
2193                const TYPE_ID: u64 = _private::TYPE_ID;
2194            }
2195            impl<'a> ::core::convert::From<crate::private::layout::StructBuilder<'a>> for Builder<'a> {
2196                fn from(builder: crate::private::layout::StructBuilder<'a>) -> Self {
2197                    Self { builder }
2198                }
2199            }
2200
2201            impl<'a> crate::traits::IntoInternalStructBuilder<'a> for Builder<'a> {
2202                fn into_internal_struct_builder(self) -> crate::private::layout::StructBuilder<'a> {
2203                    self.builder
2204                }
2205            }
2206
2207            impl<'a> ::core::convert::From<Builder<'a>> for crate::dynamic_value::Builder<'a> {
2208                fn from(builder: Builder<'a>) -> Self {
2209                    Self::Struct(crate::dynamic_struct::Builder::new(
2210                        builder.builder,
2211                        crate::schema::StructSchema::new(
2212                            crate::introspect::RawBrandedStructSchema {
2213                                generic: &_private::RAW_SCHEMA,
2214                                field_types: _private::get_field_types,
2215                                annotation_types: _private::get_annotation_types,
2216                                type_id: ::core::any::TypeId::of::<Owned>(),
2217                            },
2218                        ),
2219                    ))
2220                }
2221            }
2222
2223            impl<'a> crate::traits::ImbueMut<'a> for Builder<'a> {
2224                fn imbue_mut(&mut self, cap_table: &'a mut crate::private::layout::CapTable) {
2225                    self.builder
2226                        .imbue(crate::private::layout::CapTableBuilder::from_ref(cap_table))
2227                }
2228            }
2229
2230            impl<'a> crate::traits::FromPointerBuilder<'a> for Builder<'a> {
2231                fn init_pointer(
2232                    builder: crate::private::layout::PointerBuilder<'a>,
2233                    _size: u32,
2234                ) -> Self {
2235                    builder
2236                        .init_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE)
2237                        .into()
2238                }
2239                fn get_from_pointer(
2240                    builder: crate::private::layout::PointerBuilder<'a>,
2241                    default: ::core::option::Option<&'a [crate::Word]>,
2242                ) -> crate::Result<Self> {
2243                    ::core::result::Result::Ok(
2244                        builder
2245                            .get_struct(
2246                                <Self as crate::traits::HasStructSize>::STRUCT_SIZE,
2247                                default,
2248                            )?
2249                            .into(),
2250                    )
2251                }
2252            }
2253
2254            impl crate::traits::SetterInput<Owned> for Reader<'_> {
2255                fn set_pointer_builder(
2256                    mut pointer: crate::private::layout::PointerBuilder<'_>,
2257                    value: Self,
2258                    canonicalize: bool,
2259                ) -> crate::Result<()> {
2260                    pointer.set_struct(&value.reader, canonicalize)
2261                }
2262            }
2263
2264            impl<'a> Builder<'a> {
2265                pub fn into_reader(self) -> Reader<'a> {
2266                    self.builder.into_reader().into()
2267                }
2268                pub fn reborrow(&mut self) -> Builder<'_> {
2269                    Builder {
2270                        builder: self.builder.reborrow(),
2271                    }
2272                }
2273                pub fn reborrow_as_reader(&self) -> Reader<'_> {
2274                    self.builder.as_reader().into()
2275                }
2276
2277                pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
2278                    self.builder.as_reader().total_size()
2279                }
2280                #[inline]
2281                pub fn get_doc_comment(self) -> crate::Result<crate::text::Builder<'a>> {
2282                    crate::traits::FromPointerBuilder::get_from_pointer(
2283                        self.builder.get_pointer_field(0),
2284                        ::core::option::Option::None,
2285                    )
2286                }
2287                #[inline]
2288                pub fn set_doc_comment(
2289                    &mut self,
2290                    value: impl crate::traits::SetterInput<crate::text::Owned>,
2291                ) {
2292                    crate::traits::SetterInput::set_pointer_builder(
2293                        self.builder.reborrow().get_pointer_field(0),
2294                        value,
2295                        false,
2296                    )
2297                    .unwrap()
2298                }
2299                #[inline]
2300                pub fn init_doc_comment(self, size: u32) -> crate::text::Builder<'a> {
2301                    self.builder.get_pointer_field(0).init_text(size)
2302                }
2303                #[inline]
2304                pub fn has_doc_comment(&self) -> bool {
2305                    !self.builder.is_pointer_field_null(0)
2306                }
2307            }
2308
2309            pub struct Pipeline {
2310                _typeless: crate::any_pointer::Pipeline,
2311            }
2312            impl crate::capability::FromTypelessPipeline for Pipeline {
2313                fn new(typeless: crate::any_pointer::Pipeline) -> Self {
2314                    Self {
2315                        _typeless: typeless,
2316                    }
2317                }
2318            }
2319            impl Pipeline {}
2320            mod _private {
2321                pub(crate) static ENCODED_NODE: [crate::Word; 36] = [
2322                    crate::word(0, 0, 0, 0, 6, 0, 6, 0),
2323                    crate::word(162, 31, 142, 137, 56, 144, 186, 194),
2324                    crate::word(29, 0, 0, 0, 1, 0, 0, 0),
2325                    crate::word(174, 87, 19, 4, 227, 29, 142, 243),
2326                    crate::word(1, 0, 7, 0, 0, 0, 0, 0),
2327                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2328                    crate::word(188, 32, 0, 0, 15, 33, 0, 0),
2329                    crate::word(21, 0, 0, 0, 34, 1, 0, 0),
2330                    crate::word(37, 0, 0, 0, 7, 0, 0, 0),
2331                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2332                    crate::word(33, 0, 0, 0, 63, 0, 0, 0),
2333                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2334                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2335                    crate::word(115, 99, 104, 101, 109, 97, 46, 99),
2336                    crate::word(97, 112, 110, 112, 58, 78, 111, 100),
2337                    crate::word(101, 46, 83, 111, 117, 114, 99, 101),
2338                    crate::word(73, 110, 102, 111, 46, 77, 101, 109),
2339                    crate::word(98, 101, 114, 0, 0, 0, 0, 0),
2340                    crate::word(0, 0, 0, 0, 1, 0, 1, 0),
2341                    crate::word(4, 0, 0, 0, 3, 0, 4, 0),
2342                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2343                    crate::word(0, 0, 1, 0, 0, 0, 0, 0),
2344                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2345                    crate::word(13, 0, 0, 0, 90, 0, 0, 0),
2346                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2347                    crate::word(12, 0, 0, 0, 3, 0, 1, 0),
2348                    crate::word(24, 0, 0, 0, 2, 0, 1, 0),
2349                    crate::word(100, 111, 99, 67, 111, 109, 109, 101),
2350                    crate::word(110, 116, 0, 0, 0, 0, 0, 0),
2351                    crate::word(12, 0, 0, 0, 0, 0, 0, 0),
2352                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2353                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2354                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2355                    crate::word(12, 0, 0, 0, 0, 0, 0, 0),
2356                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2357                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2358                ];
2359                pub(crate) fn get_field_types(index: u16) -> crate::introspect::Type {
2360                    match index {
2361                        0 => <crate::text::Owned as crate::introspect::Introspect>::introspect(),
2362                        _ => crate::introspect::panic_invalid_field_index(index),
2363                    }
2364                }
2365                pub(crate) fn get_annotation_types(
2366                    child_index: Option<u16>,
2367                    index: u32,
2368                ) -> crate::introspect::Type {
2369                    crate::introspect::panic_invalid_annotation_indices(child_index, index)
2370                }
2371                pub(crate) static ARENA: crate::private::arena::GeneratedCodeArena =
2372                    crate::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
2373                pub(crate) static RAW_SCHEMA: crate::introspect::RawStructSchema =
2374                    crate::introspect::RawStructSchema::new(
2375                        &ARENA,
2376                        NONUNION_MEMBERS,
2377                        MEMBERS_BY_DISCRIMINANT,
2378                        MEMBERS_BY_NAME,
2379                    );
2380                pub(crate) static NONUNION_MEMBERS: &[u16] = &[0];
2381                pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[];
2382                pub(crate) static MEMBERS_BY_NAME: &[u16] = &[0];
2383                pub(crate) const TYPE_ID: u64 = 0xc2ba_9038_898e_1fa2;
2384            }
2385        }
2386    }
2387
2388    pub mod struct_ {
2389        #[derive(Copy, Clone)]
2390        pub struct Owned(());
2391        impl crate::introspect::Introspect for Owned {
2392            fn introspect() -> crate::introspect::Type {
2393                crate::introspect::TypeVariant::Struct(crate::introspect::RawBrandedStructSchema {
2394                    generic: &_private::RAW_SCHEMA,
2395                    field_types: _private::get_field_types,
2396                    annotation_types: _private::get_annotation_types,
2397                    type_id: ::core::any::TypeId::of::<Owned>(),
2398                })
2399                .into()
2400            }
2401        }
2402        impl crate::traits::Owned for Owned {
2403            type Reader<'a> = Reader<'a>;
2404            type Builder<'a> = Builder<'a>;
2405        }
2406        impl crate::traits::OwnedStruct for Owned {
2407            type Reader<'a> = Reader<'a>;
2408            type Builder<'a> = Builder<'a>;
2409        }
2410        impl crate::traits::Pipelined for Owned {
2411            type Pipeline = Pipeline;
2412        }
2413
2414        pub struct Reader<'a> {
2415            reader: crate::private::layout::StructReader<'a>,
2416        }
2417        impl ::core::marker::Copy for Reader<'_> {}
2418        impl ::core::clone::Clone for Reader<'_> {
2419            fn clone(&self) -> Self {
2420                *self
2421            }
2422        }
2423
2424        impl crate::traits::HasTypeId for Reader<'_> {
2425            const TYPE_ID: u64 = _private::TYPE_ID;
2426        }
2427        impl<'a> ::core::convert::From<crate::private::layout::StructReader<'a>> for Reader<'a> {
2428            fn from(reader: crate::private::layout::StructReader<'a>) -> Self {
2429                Self { reader }
2430            }
2431        }
2432
2433        impl<'a> ::core::convert::From<Reader<'a>> for crate::dynamic_value::Reader<'a> {
2434            fn from(reader: Reader<'a>) -> Self {
2435                Self::Struct(crate::dynamic_struct::Reader::new(
2436                    reader.reader,
2437                    crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
2438                        generic: &_private::RAW_SCHEMA,
2439                        field_types: _private::get_field_types,
2440                        annotation_types: _private::get_annotation_types,
2441                        type_id: ::core::any::TypeId::of::<Owned>(),
2442                    }),
2443                ))
2444            }
2445        }
2446
2447        impl ::core::fmt::Debug for Reader<'_> {
2448            fn fmt(
2449                &self,
2450                f: &mut ::core::fmt::Formatter<'_>,
2451            ) -> ::core::result::Result<(), ::core::fmt::Error> {
2452                core::fmt::Debug::fmt(
2453                    &::core::convert::Into::<crate::dynamic_value::Reader<'_>>::into(*self),
2454                    f,
2455                )
2456            }
2457        }
2458
2459        impl<'a> crate::traits::FromPointerReader<'a> for Reader<'a> {
2460            fn get_from_pointer(
2461                reader: &crate::private::layout::PointerReader<'a>,
2462                default: ::core::option::Option<&'a [crate::Word]>,
2463            ) -> crate::Result<Self> {
2464                ::core::result::Result::Ok(reader.get_struct(default)?.into())
2465            }
2466        }
2467
2468        impl<'a> crate::traits::IntoInternalStructReader<'a> for Reader<'a> {
2469            fn into_internal_struct_reader(self) -> crate::private::layout::StructReader<'a> {
2470                self.reader
2471            }
2472        }
2473
2474        impl<'a> crate::traits::Imbue<'a> for Reader<'a> {
2475            fn imbue(&mut self, cap_table: &'a crate::private::layout::CapTable) {
2476                self.reader
2477                    .imbue(crate::private::layout::CapTableReader::from_ref(cap_table))
2478            }
2479        }
2480
2481        impl<'a> Reader<'a> {
2482            pub fn reborrow(&self) -> Reader<'_> {
2483                Self { ..*self }
2484            }
2485
2486            pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
2487                self.reader.total_size()
2488            }
2489            #[inline]
2490            pub fn get_data_word_count(self) -> u16 {
2491                self.reader.get_data_field::<u16>(7)
2492            }
2493            #[inline]
2494            pub fn get_pointer_count(self) -> u16 {
2495                self.reader.get_data_field::<u16>(12)
2496            }
2497            #[inline]
2498            pub fn get_preferred_list_encoding(
2499                self,
2500            ) -> ::core::result::Result<crate::schema_capnp::ElementSize, crate::NotInSchema>
2501            {
2502                ::core::convert::TryFrom::try_from(self.reader.get_data_field::<u16>(13))
2503            }
2504            #[inline]
2505            pub fn get_is_group(self) -> bool {
2506                self.reader.get_bool_field(224)
2507            }
2508            #[inline]
2509            pub fn get_discriminant_count(self) -> u16 {
2510                self.reader.get_data_field::<u16>(15)
2511            }
2512            #[inline]
2513            pub fn get_discriminant_offset(self) -> u32 {
2514                self.reader.get_data_field::<u32>(8)
2515            }
2516            #[inline]
2517            pub fn get_fields(
2518                self,
2519            ) -> crate::Result<crate::struct_list::Reader<'a, crate::schema_capnp::field::Owned>>
2520            {
2521                crate::traits::FromPointerReader::get_from_pointer(
2522                    &self.reader.get_pointer_field(3),
2523                    ::core::option::Option::None,
2524                )
2525            }
2526            #[inline]
2527            pub fn has_fields(&self) -> bool {
2528                !self.reader.get_pointer_field(3).is_null()
2529            }
2530        }
2531
2532        pub struct Builder<'a> {
2533            builder: crate::private::layout::StructBuilder<'a>,
2534        }
2535        impl crate::traits::HasStructSize for Builder<'_> {
2536            const STRUCT_SIZE: crate::private::layout::StructSize =
2537                crate::private::layout::StructSize {
2538                    data: 6,
2539                    pointers: 6,
2540                };
2541        }
2542        impl crate::traits::HasTypeId for Builder<'_> {
2543            const TYPE_ID: u64 = _private::TYPE_ID;
2544        }
2545        impl<'a> ::core::convert::From<crate::private::layout::StructBuilder<'a>> for Builder<'a> {
2546            fn from(builder: crate::private::layout::StructBuilder<'a>) -> Self {
2547                Self { builder }
2548            }
2549        }
2550
2551        impl<'a> crate::traits::IntoInternalStructBuilder<'a> for Builder<'a> {
2552            fn into_internal_struct_builder(self) -> crate::private::layout::StructBuilder<'a> {
2553                self.builder
2554            }
2555        }
2556
2557        impl<'a> ::core::convert::From<Builder<'a>> for crate::dynamic_value::Builder<'a> {
2558            fn from(builder: Builder<'a>) -> Self {
2559                Self::Struct(crate::dynamic_struct::Builder::new(
2560                    builder.builder,
2561                    crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
2562                        generic: &_private::RAW_SCHEMA,
2563                        field_types: _private::get_field_types,
2564                        annotation_types: _private::get_annotation_types,
2565                        type_id: ::core::any::TypeId::of::<Owned>(),
2566                    }),
2567                ))
2568            }
2569        }
2570
2571        impl<'a> crate::traits::ImbueMut<'a> for Builder<'a> {
2572            fn imbue_mut(&mut self, cap_table: &'a mut crate::private::layout::CapTable) {
2573                self.builder
2574                    .imbue(crate::private::layout::CapTableBuilder::from_ref(cap_table))
2575            }
2576        }
2577
2578        impl<'a> crate::traits::FromPointerBuilder<'a> for Builder<'a> {
2579            fn init_pointer(
2580                builder: crate::private::layout::PointerBuilder<'a>,
2581                _size: u32,
2582            ) -> Self {
2583                builder
2584                    .init_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE)
2585                    .into()
2586            }
2587            fn get_from_pointer(
2588                builder: crate::private::layout::PointerBuilder<'a>,
2589                default: ::core::option::Option<&'a [crate::Word]>,
2590            ) -> crate::Result<Self> {
2591                ::core::result::Result::Ok(
2592                    builder
2593                        .get_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE, default)?
2594                        .into(),
2595                )
2596            }
2597        }
2598
2599        impl crate::traits::SetterInput<Owned> for Reader<'_> {
2600            fn set_pointer_builder(
2601                mut pointer: crate::private::layout::PointerBuilder<'_>,
2602                value: Self,
2603                canonicalize: bool,
2604            ) -> crate::Result<()> {
2605                pointer.set_struct(&value.reader, canonicalize)
2606            }
2607        }
2608
2609        impl<'a> Builder<'a> {
2610            pub fn into_reader(self) -> Reader<'a> {
2611                self.builder.into_reader().into()
2612            }
2613            pub fn reborrow(&mut self) -> Builder<'_> {
2614                Builder {
2615                    builder: self.builder.reborrow(),
2616                }
2617            }
2618            pub fn reborrow_as_reader(&self) -> Reader<'_> {
2619                self.builder.as_reader().into()
2620            }
2621
2622            pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
2623                self.builder.as_reader().total_size()
2624            }
2625            #[inline]
2626            pub fn get_data_word_count(self) -> u16 {
2627                self.builder.get_data_field::<u16>(7)
2628            }
2629            #[inline]
2630            pub fn set_data_word_count(&mut self, value: u16) {
2631                self.builder.set_data_field::<u16>(7, value);
2632            }
2633            #[inline]
2634            pub fn get_pointer_count(self) -> u16 {
2635                self.builder.get_data_field::<u16>(12)
2636            }
2637            #[inline]
2638            pub fn set_pointer_count(&mut self, value: u16) {
2639                self.builder.set_data_field::<u16>(12, value);
2640            }
2641            #[inline]
2642            pub fn get_preferred_list_encoding(
2643                self,
2644            ) -> ::core::result::Result<crate::schema_capnp::ElementSize, crate::NotInSchema>
2645            {
2646                ::core::convert::TryFrom::try_from(self.builder.get_data_field::<u16>(13))
2647            }
2648            #[inline]
2649            pub fn set_preferred_list_encoding(&mut self, value: crate::schema_capnp::ElementSize) {
2650                self.builder.set_data_field::<u16>(13, value as u16);
2651            }
2652            #[inline]
2653            pub fn get_is_group(self) -> bool {
2654                self.builder.get_bool_field(224)
2655            }
2656            #[inline]
2657            pub fn set_is_group(&mut self, value: bool) {
2658                self.builder.set_bool_field(224, value);
2659            }
2660            #[inline]
2661            pub fn get_discriminant_count(self) -> u16 {
2662                self.builder.get_data_field::<u16>(15)
2663            }
2664            #[inline]
2665            pub fn set_discriminant_count(&mut self, value: u16) {
2666                self.builder.set_data_field::<u16>(15, value);
2667            }
2668            #[inline]
2669            pub fn get_discriminant_offset(self) -> u32 {
2670                self.builder.get_data_field::<u32>(8)
2671            }
2672            #[inline]
2673            pub fn set_discriminant_offset(&mut self, value: u32) {
2674                self.builder.set_data_field::<u32>(8, value);
2675            }
2676            #[inline]
2677            pub fn get_fields(
2678                self,
2679            ) -> crate::Result<crate::struct_list::Builder<'a, crate::schema_capnp::field::Owned>>
2680            {
2681                crate::traits::FromPointerBuilder::get_from_pointer(
2682                    self.builder.get_pointer_field(3),
2683                    ::core::option::Option::None,
2684                )
2685            }
2686            #[inline]
2687            pub fn set_fields(
2688                &mut self,
2689                value: crate::struct_list::Reader<'_, crate::schema_capnp::field::Owned>,
2690            ) -> crate::Result<()> {
2691                crate::traits::SetterInput::set_pointer_builder(
2692                    self.builder.reborrow().get_pointer_field(3),
2693                    value,
2694                    false,
2695                )
2696            }
2697            #[inline]
2698            pub fn init_fields(
2699                self,
2700                size: u32,
2701            ) -> crate::struct_list::Builder<'a, crate::schema_capnp::field::Owned> {
2702                crate::traits::FromPointerBuilder::init_pointer(
2703                    self.builder.get_pointer_field(3),
2704                    size,
2705                )
2706            }
2707            #[inline]
2708            pub fn has_fields(&self) -> bool {
2709                !self.builder.is_pointer_field_null(3)
2710            }
2711        }
2712
2713        pub struct Pipeline {
2714            _typeless: crate::any_pointer::Pipeline,
2715        }
2716        impl crate::capability::FromTypelessPipeline for Pipeline {
2717            fn new(typeless: crate::any_pointer::Pipeline) -> Self {
2718                Self {
2719                    _typeless: typeless,
2720                }
2721            }
2722        }
2723        impl Pipeline {}
2724        mod _private {
2725            pub(crate) static ENCODED_NODE: [crate::Word; 135] = [
2726                crate::word(0, 0, 0, 0, 6, 0, 6, 0),
2727                crate::word(53, 68, 251, 55, 155, 177, 160, 158),
2728                crate::word(18, 0, 0, 0, 1, 0, 6, 0),
2729                crate::word(23, 164, 35, 249, 76, 171, 130, 230),
2730                crate::word(6, 0, 7, 0, 1, 0, 0, 0),
2731                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2732                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2733                crate::word(21, 0, 0, 0, 202, 0, 0, 0),
2734                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2735                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2736                crate::word(25, 0, 0, 0, 143, 1, 0, 0),
2737                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2738                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2739                crate::word(115, 99, 104, 101, 109, 97, 46, 99),
2740                crate::word(97, 112, 110, 112, 58, 78, 111, 100),
2741                crate::word(101, 46, 115, 116, 114, 117, 99, 116),
2742                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2743                crate::word(28, 0, 0, 0, 3, 0, 4, 0),
2744                crate::word(0, 0, 0, 0, 7, 0, 0, 0),
2745                crate::word(0, 0, 1, 0, 7, 0, 0, 0),
2746                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2747                crate::word(181, 0, 0, 0, 114, 0, 0, 0),
2748                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2749                crate::word(180, 0, 0, 0, 3, 0, 1, 0),
2750                crate::word(192, 0, 0, 0, 2, 0, 1, 0),
2751                crate::word(1, 0, 0, 0, 12, 0, 0, 0),
2752                crate::word(0, 0, 1, 0, 8, 0, 0, 0),
2753                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2754                crate::word(189, 0, 0, 0, 106, 0, 0, 0),
2755                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2756                crate::word(188, 0, 0, 0, 3, 0, 1, 0),
2757                crate::word(200, 0, 0, 0, 2, 0, 1, 0),
2758                crate::word(2, 0, 0, 0, 13, 0, 0, 0),
2759                crate::word(0, 0, 1, 0, 9, 0, 0, 0),
2760                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2761                crate::word(197, 0, 0, 0, 178, 0, 0, 0),
2762                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2763                crate::word(200, 0, 0, 0, 3, 0, 1, 0),
2764                crate::word(212, 0, 0, 0, 2, 0, 1, 0),
2765                crate::word(3, 0, 0, 0, 224, 0, 0, 0),
2766                crate::word(0, 0, 1, 0, 10, 0, 0, 0),
2767                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2768                crate::word(209, 0, 0, 0, 66, 0, 0, 0),
2769                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2770                crate::word(204, 0, 0, 0, 3, 0, 1, 0),
2771                crate::word(216, 0, 0, 0, 2, 0, 1, 0),
2772                crate::word(4, 0, 0, 0, 15, 0, 0, 0),
2773                crate::word(0, 0, 1, 0, 11, 0, 0, 0),
2774                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2775                crate::word(213, 0, 0, 0, 146, 0, 0, 0),
2776                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2777                crate::word(216, 0, 0, 0, 3, 0, 1, 0),
2778                crate::word(228, 0, 0, 0, 2, 0, 1, 0),
2779                crate::word(5, 0, 0, 0, 8, 0, 0, 0),
2780                crate::word(0, 0, 1, 0, 12, 0, 0, 0),
2781                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2782                crate::word(225, 0, 0, 0, 154, 0, 0, 0),
2783                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2784                crate::word(228, 0, 0, 0, 3, 0, 1, 0),
2785                crate::word(240, 0, 0, 0, 2, 0, 1, 0),
2786                crate::word(6, 0, 0, 0, 3, 0, 0, 0),
2787                crate::word(0, 0, 1, 0, 13, 0, 0, 0),
2788                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2789                crate::word(237, 0, 0, 0, 58, 0, 0, 0),
2790                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2791                crate::word(232, 0, 0, 0, 3, 0, 1, 0),
2792                crate::word(4, 1, 0, 0, 2, 0, 1, 0),
2793                crate::word(100, 97, 116, 97, 87, 111, 114, 100),
2794                crate::word(67, 111, 117, 110, 116, 0, 0, 0),
2795                crate::word(7, 0, 0, 0, 0, 0, 0, 0),
2796                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2797                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2798                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2799                crate::word(7, 0, 0, 0, 0, 0, 0, 0),
2800                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2801                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2802                crate::word(112, 111, 105, 110, 116, 101, 114, 67),
2803                crate::word(111, 117, 110, 116, 0, 0, 0, 0),
2804                crate::word(7, 0, 0, 0, 0, 0, 0, 0),
2805                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2806                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2807                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2808                crate::word(7, 0, 0, 0, 0, 0, 0, 0),
2809                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2810                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2811                crate::word(112, 114, 101, 102, 101, 114, 114, 101),
2812                crate::word(100, 76, 105, 115, 116, 69, 110, 99),
2813                crate::word(111, 100, 105, 110, 103, 0, 0, 0),
2814                crate::word(15, 0, 0, 0, 0, 0, 0, 0),
2815                crate::word(38, 25, 82, 186, 125, 143, 149, 209),
2816                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2817                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2818                crate::word(15, 0, 0, 0, 0, 0, 0, 0),
2819                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2820                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2821                crate::word(105, 115, 71, 114, 111, 117, 112, 0),
2822                crate::word(1, 0, 0, 0, 0, 0, 0, 0),
2823                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2824                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2825                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2826                crate::word(1, 0, 0, 0, 0, 0, 0, 0),
2827                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2828                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2829                crate::word(100, 105, 115, 99, 114, 105, 109, 105),
2830                crate::word(110, 97, 110, 116, 67, 111, 117, 110),
2831                crate::word(116, 0, 0, 0, 0, 0, 0, 0),
2832                crate::word(7, 0, 0, 0, 0, 0, 0, 0),
2833                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2834                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2835                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2836                crate::word(7, 0, 0, 0, 0, 0, 0, 0),
2837                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2838                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2839                crate::word(100, 105, 115, 99, 114, 105, 109, 105),
2840                crate::word(110, 97, 110, 116, 79, 102, 102, 115),
2841                crate::word(101, 116, 0, 0, 0, 0, 0, 0),
2842                crate::word(8, 0, 0, 0, 0, 0, 0, 0),
2843                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2844                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2845                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2846                crate::word(8, 0, 0, 0, 0, 0, 0, 0),
2847                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2848                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2849                crate::word(102, 105, 101, 108, 100, 115, 0, 0),
2850                crate::word(14, 0, 0, 0, 0, 0, 0, 0),
2851                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2852                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2853                crate::word(0, 0, 0, 0, 3, 0, 1, 0),
2854                crate::word(16, 0, 0, 0, 0, 0, 0, 0),
2855                crate::word(95, 244, 74, 31, 164, 80, 173, 154),
2856                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2857                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2858                crate::word(14, 0, 0, 0, 0, 0, 0, 0),
2859                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2860                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
2861            ];
2862            pub(crate) fn get_field_types(index: u16) -> crate::introspect::Type {
2863                match index {
2864                    0 => <u16 as crate::introspect::Introspect>::introspect(),
2865                    1 => <u16 as crate::introspect::Introspect>::introspect(),
2866                    2 => <crate::schema_capnp::ElementSize as crate::introspect::Introspect>::introspect(),
2867                    3 => <bool as crate::introspect::Introspect>::introspect(),
2868                    4 => <u16 as crate::introspect::Introspect>::introspect(),
2869                    5 => <u32 as crate::introspect::Introspect>::introspect(),
2870                    6 => <crate::struct_list::Owned<crate::schema_capnp::field::Owned> as crate::introspect::Introspect>::introspect(),
2871                    _ => crate::introspect::panic_invalid_field_index(index),
2872                }
2873            }
2874            pub(crate) fn get_annotation_types(
2875                child_index: Option<u16>,
2876                index: u32,
2877            ) -> crate::introspect::Type {
2878                crate::introspect::panic_invalid_annotation_indices(child_index, index)
2879            }
2880            pub(crate) static ARENA: crate::private::arena::GeneratedCodeArena =
2881                crate::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
2882            pub(crate) static RAW_SCHEMA: crate::introspect::RawStructSchema =
2883                crate::introspect::RawStructSchema::new(
2884                    &ARENA,
2885                    NONUNION_MEMBERS,
2886                    MEMBERS_BY_DISCRIMINANT,
2887                    MEMBERS_BY_NAME,
2888                );
2889            pub(crate) static NONUNION_MEMBERS: &[u16] = &[0, 1, 2, 3, 4, 5, 6];
2890            pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[];
2891            pub(crate) static MEMBERS_BY_NAME: &[u16] = &[0, 4, 5, 6, 3, 1, 2];
2892            pub(crate) const TYPE_ID: u64 = 0x9ea0_b19b_37fb_4435;
2893        }
2894    }
2895
2896    pub mod enum_ {
2897        #[derive(Copy, Clone)]
2898        pub struct Owned(());
2899        impl crate::introspect::Introspect for Owned {
2900            fn introspect() -> crate::introspect::Type {
2901                crate::introspect::TypeVariant::Struct(crate::introspect::RawBrandedStructSchema {
2902                    generic: &_private::RAW_SCHEMA,
2903                    field_types: _private::get_field_types,
2904                    annotation_types: _private::get_annotation_types,
2905                    type_id: ::core::any::TypeId::of::<Owned>(),
2906                })
2907                .into()
2908            }
2909        }
2910        impl crate::traits::Owned for Owned {
2911            type Reader<'a> = Reader<'a>;
2912            type Builder<'a> = Builder<'a>;
2913        }
2914        impl crate::traits::OwnedStruct for Owned {
2915            type Reader<'a> = Reader<'a>;
2916            type Builder<'a> = Builder<'a>;
2917        }
2918        impl crate::traits::Pipelined for Owned {
2919            type Pipeline = Pipeline;
2920        }
2921
2922        pub struct Reader<'a> {
2923            reader: crate::private::layout::StructReader<'a>,
2924        }
2925        impl ::core::marker::Copy for Reader<'_> {}
2926        impl ::core::clone::Clone for Reader<'_> {
2927            fn clone(&self) -> Self {
2928                *self
2929            }
2930        }
2931
2932        impl crate::traits::HasTypeId for Reader<'_> {
2933            const TYPE_ID: u64 = _private::TYPE_ID;
2934        }
2935        impl<'a> ::core::convert::From<crate::private::layout::StructReader<'a>> for Reader<'a> {
2936            fn from(reader: crate::private::layout::StructReader<'a>) -> Self {
2937                Self { reader }
2938            }
2939        }
2940
2941        impl<'a> ::core::convert::From<Reader<'a>> for crate::dynamic_value::Reader<'a> {
2942            fn from(reader: Reader<'a>) -> Self {
2943                Self::Struct(crate::dynamic_struct::Reader::new(
2944                    reader.reader,
2945                    crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
2946                        generic: &_private::RAW_SCHEMA,
2947                        field_types: _private::get_field_types,
2948                        annotation_types: _private::get_annotation_types,
2949                        type_id: ::core::any::TypeId::of::<Owned>(),
2950                    }),
2951                ))
2952            }
2953        }
2954
2955        impl ::core::fmt::Debug for Reader<'_> {
2956            fn fmt(
2957                &self,
2958                f: &mut ::core::fmt::Formatter<'_>,
2959            ) -> ::core::result::Result<(), ::core::fmt::Error> {
2960                core::fmt::Debug::fmt(
2961                    &::core::convert::Into::<crate::dynamic_value::Reader<'_>>::into(*self),
2962                    f,
2963                )
2964            }
2965        }
2966
2967        impl<'a> crate::traits::FromPointerReader<'a> for Reader<'a> {
2968            fn get_from_pointer(
2969                reader: &crate::private::layout::PointerReader<'a>,
2970                default: ::core::option::Option<&'a [crate::Word]>,
2971            ) -> crate::Result<Self> {
2972                ::core::result::Result::Ok(reader.get_struct(default)?.into())
2973            }
2974        }
2975
2976        impl<'a> crate::traits::IntoInternalStructReader<'a> for Reader<'a> {
2977            fn into_internal_struct_reader(self) -> crate::private::layout::StructReader<'a> {
2978                self.reader
2979            }
2980        }
2981
2982        impl<'a> crate::traits::Imbue<'a> for Reader<'a> {
2983            fn imbue(&mut self, cap_table: &'a crate::private::layout::CapTable) {
2984                self.reader
2985                    .imbue(crate::private::layout::CapTableReader::from_ref(cap_table))
2986            }
2987        }
2988
2989        impl<'a> Reader<'a> {
2990            pub fn reborrow(&self) -> Reader<'_> {
2991                Self { ..*self }
2992            }
2993
2994            pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
2995                self.reader.total_size()
2996            }
2997            #[inline]
2998            pub fn get_enumerants(
2999                self,
3000            ) -> crate::Result<crate::struct_list::Reader<'a, crate::schema_capnp::enumerant::Owned>>
3001            {
3002                crate::traits::FromPointerReader::get_from_pointer(
3003                    &self.reader.get_pointer_field(3),
3004                    ::core::option::Option::None,
3005                )
3006            }
3007            #[inline]
3008            pub fn has_enumerants(&self) -> bool {
3009                !self.reader.get_pointer_field(3).is_null()
3010            }
3011        }
3012
3013        pub struct Builder<'a> {
3014            builder: crate::private::layout::StructBuilder<'a>,
3015        }
3016        impl crate::traits::HasStructSize for Builder<'_> {
3017            const STRUCT_SIZE: crate::private::layout::StructSize =
3018                crate::private::layout::StructSize {
3019                    data: 6,
3020                    pointers: 6,
3021                };
3022        }
3023        impl crate::traits::HasTypeId for Builder<'_> {
3024            const TYPE_ID: u64 = _private::TYPE_ID;
3025        }
3026        impl<'a> ::core::convert::From<crate::private::layout::StructBuilder<'a>> for Builder<'a> {
3027            fn from(builder: crate::private::layout::StructBuilder<'a>) -> Self {
3028                Self { builder }
3029            }
3030        }
3031
3032        impl<'a> crate::traits::IntoInternalStructBuilder<'a> for Builder<'a> {
3033            fn into_internal_struct_builder(self) -> crate::private::layout::StructBuilder<'a> {
3034                self.builder
3035            }
3036        }
3037
3038        impl<'a> ::core::convert::From<Builder<'a>> for crate::dynamic_value::Builder<'a> {
3039            fn from(builder: Builder<'a>) -> Self {
3040                Self::Struct(crate::dynamic_struct::Builder::new(
3041                    builder.builder,
3042                    crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
3043                        generic: &_private::RAW_SCHEMA,
3044                        field_types: _private::get_field_types,
3045                        annotation_types: _private::get_annotation_types,
3046                        type_id: ::core::any::TypeId::of::<Owned>(),
3047                    }),
3048                ))
3049            }
3050        }
3051
3052        impl<'a> crate::traits::ImbueMut<'a> for Builder<'a> {
3053            fn imbue_mut(&mut self, cap_table: &'a mut crate::private::layout::CapTable) {
3054                self.builder
3055                    .imbue(crate::private::layout::CapTableBuilder::from_ref(cap_table))
3056            }
3057        }
3058
3059        impl<'a> crate::traits::FromPointerBuilder<'a> for Builder<'a> {
3060            fn init_pointer(
3061                builder: crate::private::layout::PointerBuilder<'a>,
3062                _size: u32,
3063            ) -> Self {
3064                builder
3065                    .init_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE)
3066                    .into()
3067            }
3068            fn get_from_pointer(
3069                builder: crate::private::layout::PointerBuilder<'a>,
3070                default: ::core::option::Option<&'a [crate::Word]>,
3071            ) -> crate::Result<Self> {
3072                ::core::result::Result::Ok(
3073                    builder
3074                        .get_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE, default)?
3075                        .into(),
3076                )
3077            }
3078        }
3079
3080        impl crate::traits::SetterInput<Owned> for Reader<'_> {
3081            fn set_pointer_builder(
3082                mut pointer: crate::private::layout::PointerBuilder<'_>,
3083                value: Self,
3084                canonicalize: bool,
3085            ) -> crate::Result<()> {
3086                pointer.set_struct(&value.reader, canonicalize)
3087            }
3088        }
3089
3090        impl<'a> Builder<'a> {
3091            pub fn into_reader(self) -> Reader<'a> {
3092                self.builder.into_reader().into()
3093            }
3094            pub fn reborrow(&mut self) -> Builder<'_> {
3095                Builder {
3096                    builder: self.builder.reborrow(),
3097                }
3098            }
3099            pub fn reborrow_as_reader(&self) -> Reader<'_> {
3100                self.builder.as_reader().into()
3101            }
3102
3103            pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
3104                self.builder.as_reader().total_size()
3105            }
3106            #[inline]
3107            pub fn get_enumerants(
3108                self,
3109            ) -> crate::Result<crate::struct_list::Builder<'a, crate::schema_capnp::enumerant::Owned>>
3110            {
3111                crate::traits::FromPointerBuilder::get_from_pointer(
3112                    self.builder.get_pointer_field(3),
3113                    ::core::option::Option::None,
3114                )
3115            }
3116            #[inline]
3117            pub fn set_enumerants(
3118                &mut self,
3119                value: crate::struct_list::Reader<'_, crate::schema_capnp::enumerant::Owned>,
3120            ) -> crate::Result<()> {
3121                crate::traits::SetterInput::set_pointer_builder(
3122                    self.builder.reborrow().get_pointer_field(3),
3123                    value,
3124                    false,
3125                )
3126            }
3127            #[inline]
3128            pub fn init_enumerants(
3129                self,
3130                size: u32,
3131            ) -> crate::struct_list::Builder<'a, crate::schema_capnp::enumerant::Owned>
3132            {
3133                crate::traits::FromPointerBuilder::init_pointer(
3134                    self.builder.get_pointer_field(3),
3135                    size,
3136                )
3137            }
3138            #[inline]
3139            pub fn has_enumerants(&self) -> bool {
3140                !self.builder.is_pointer_field_null(3)
3141            }
3142        }
3143
3144        pub struct Pipeline {
3145            _typeless: crate::any_pointer::Pipeline,
3146        }
3147        impl crate::capability::FromTypelessPipeline for Pipeline {
3148            fn new(typeless: crate::any_pointer::Pipeline) -> Self {
3149                Self {
3150                    _typeless: typeless,
3151                }
3152            }
3153        }
3154        impl Pipeline {}
3155        mod _private {
3156            pub(crate) static ENCODED_NODE: [crate::Word; 37] = [
3157                crate::word(0, 0, 0, 0, 6, 0, 6, 0),
3158                crate::word(152, 245, 51, 67, 54, 179, 74, 181),
3159                crate::word(18, 0, 0, 0, 1, 0, 6, 0),
3160                crate::word(23, 164, 35, 249, 76, 171, 130, 230),
3161                crate::word(6, 0, 7, 0, 1, 0, 0, 0),
3162                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3163                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3164                crate::word(21, 0, 0, 0, 186, 0, 0, 0),
3165                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3166                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3167                crate::word(21, 0, 0, 0, 63, 0, 0, 0),
3168                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3169                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3170                crate::word(115, 99, 104, 101, 109, 97, 46, 99),
3171                crate::word(97, 112, 110, 112, 58, 78, 111, 100),
3172                crate::word(101, 46, 101, 110, 117, 109, 0, 0),
3173                crate::word(4, 0, 0, 0, 3, 0, 4, 0),
3174                crate::word(0, 0, 0, 0, 3, 0, 0, 0),
3175                crate::word(0, 0, 1, 0, 14, 0, 0, 0),
3176                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3177                crate::word(13, 0, 0, 0, 90, 0, 0, 0),
3178                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3179                crate::word(12, 0, 0, 0, 3, 0, 1, 0),
3180                crate::word(40, 0, 0, 0, 2, 0, 1, 0),
3181                crate::word(101, 110, 117, 109, 101, 114, 97, 110),
3182                crate::word(116, 115, 0, 0, 0, 0, 0, 0),
3183                crate::word(14, 0, 0, 0, 0, 0, 0, 0),
3184                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3185                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3186                crate::word(0, 0, 0, 0, 3, 0, 1, 0),
3187                crate::word(16, 0, 0, 0, 0, 0, 0, 0),
3188                crate::word(77, 154, 84, 220, 235, 124, 138, 151),
3189                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3190                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3191                crate::word(14, 0, 0, 0, 0, 0, 0, 0),
3192                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3193                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3194            ];
3195            pub(crate) fn get_field_types(index: u16) -> crate::introspect::Type {
3196                match index {
3197                    0 => <crate::struct_list::Owned<crate::schema_capnp::enumerant::Owned> as crate::introspect::Introspect>::introspect(),
3198                    _ => crate::introspect::panic_invalid_field_index(index),
3199                }
3200            }
3201            pub(crate) fn get_annotation_types(
3202                child_index: Option<u16>,
3203                index: u32,
3204            ) -> crate::introspect::Type {
3205                crate::introspect::panic_invalid_annotation_indices(child_index, index)
3206            }
3207            pub(crate) static ARENA: crate::private::arena::GeneratedCodeArena =
3208                crate::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
3209            pub(crate) static RAW_SCHEMA: crate::introspect::RawStructSchema =
3210                crate::introspect::RawStructSchema::new(
3211                    &ARENA,
3212                    NONUNION_MEMBERS,
3213                    MEMBERS_BY_DISCRIMINANT,
3214                    MEMBERS_BY_NAME,
3215                );
3216            pub(crate) static NONUNION_MEMBERS: &[u16] = &[0];
3217            pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[];
3218            pub(crate) static MEMBERS_BY_NAME: &[u16] = &[0];
3219            pub(crate) const TYPE_ID: u64 = 0xb54a_b336_4333_f598;
3220        }
3221    }
3222
3223    pub mod interface {
3224        #[derive(Copy, Clone)]
3225        pub struct Owned(());
3226        impl crate::introspect::Introspect for Owned {
3227            fn introspect() -> crate::introspect::Type {
3228                crate::introspect::TypeVariant::Struct(crate::introspect::RawBrandedStructSchema {
3229                    generic: &_private::RAW_SCHEMA,
3230                    field_types: _private::get_field_types,
3231                    annotation_types: _private::get_annotation_types,
3232                    type_id: ::core::any::TypeId::of::<Owned>(),
3233                })
3234                .into()
3235            }
3236        }
3237        impl crate::traits::Owned for Owned {
3238            type Reader<'a> = Reader<'a>;
3239            type Builder<'a> = Builder<'a>;
3240        }
3241        impl crate::traits::OwnedStruct for Owned {
3242            type Reader<'a> = Reader<'a>;
3243            type Builder<'a> = Builder<'a>;
3244        }
3245        impl crate::traits::Pipelined for Owned {
3246            type Pipeline = Pipeline;
3247        }
3248
3249        pub struct Reader<'a> {
3250            reader: crate::private::layout::StructReader<'a>,
3251        }
3252        impl ::core::marker::Copy for Reader<'_> {}
3253        impl ::core::clone::Clone for Reader<'_> {
3254            fn clone(&self) -> Self {
3255                *self
3256            }
3257        }
3258
3259        impl crate::traits::HasTypeId for Reader<'_> {
3260            const TYPE_ID: u64 = _private::TYPE_ID;
3261        }
3262        impl<'a> ::core::convert::From<crate::private::layout::StructReader<'a>> for Reader<'a> {
3263            fn from(reader: crate::private::layout::StructReader<'a>) -> Self {
3264                Self { reader }
3265            }
3266        }
3267
3268        impl<'a> ::core::convert::From<Reader<'a>> for crate::dynamic_value::Reader<'a> {
3269            fn from(reader: Reader<'a>) -> Self {
3270                Self::Struct(crate::dynamic_struct::Reader::new(
3271                    reader.reader,
3272                    crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
3273                        generic: &_private::RAW_SCHEMA,
3274                        field_types: _private::get_field_types,
3275                        annotation_types: _private::get_annotation_types,
3276                        type_id: ::core::any::TypeId::of::<Owned>(),
3277                    }),
3278                ))
3279            }
3280        }
3281
3282        impl ::core::fmt::Debug for Reader<'_> {
3283            fn fmt(
3284                &self,
3285                f: &mut ::core::fmt::Formatter<'_>,
3286            ) -> ::core::result::Result<(), ::core::fmt::Error> {
3287                core::fmt::Debug::fmt(
3288                    &::core::convert::Into::<crate::dynamic_value::Reader<'_>>::into(*self),
3289                    f,
3290                )
3291            }
3292        }
3293
3294        impl<'a> crate::traits::FromPointerReader<'a> for Reader<'a> {
3295            fn get_from_pointer(
3296                reader: &crate::private::layout::PointerReader<'a>,
3297                default: ::core::option::Option<&'a [crate::Word]>,
3298            ) -> crate::Result<Self> {
3299                ::core::result::Result::Ok(reader.get_struct(default)?.into())
3300            }
3301        }
3302
3303        impl<'a> crate::traits::IntoInternalStructReader<'a> for Reader<'a> {
3304            fn into_internal_struct_reader(self) -> crate::private::layout::StructReader<'a> {
3305                self.reader
3306            }
3307        }
3308
3309        impl<'a> crate::traits::Imbue<'a> for Reader<'a> {
3310            fn imbue(&mut self, cap_table: &'a crate::private::layout::CapTable) {
3311                self.reader
3312                    .imbue(crate::private::layout::CapTableReader::from_ref(cap_table))
3313            }
3314        }
3315
3316        impl<'a> Reader<'a> {
3317            pub fn reborrow(&self) -> Reader<'_> {
3318                Self { ..*self }
3319            }
3320
3321            pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
3322                self.reader.total_size()
3323            }
3324            #[inline]
3325            pub fn get_methods(
3326                self,
3327            ) -> crate::Result<crate::struct_list::Reader<'a, crate::schema_capnp::method::Owned>>
3328            {
3329                crate::traits::FromPointerReader::get_from_pointer(
3330                    &self.reader.get_pointer_field(3),
3331                    ::core::option::Option::None,
3332                )
3333            }
3334            #[inline]
3335            pub fn has_methods(&self) -> bool {
3336                !self.reader.get_pointer_field(3).is_null()
3337            }
3338            #[inline]
3339            pub fn get_superclasses(
3340                self,
3341            ) -> crate::Result<crate::struct_list::Reader<'a, crate::schema_capnp::superclass::Owned>>
3342            {
3343                crate::traits::FromPointerReader::get_from_pointer(
3344                    &self.reader.get_pointer_field(4),
3345                    ::core::option::Option::None,
3346                )
3347            }
3348            #[inline]
3349            pub fn has_superclasses(&self) -> bool {
3350                !self.reader.get_pointer_field(4).is_null()
3351            }
3352        }
3353
3354        pub struct Builder<'a> {
3355            builder: crate::private::layout::StructBuilder<'a>,
3356        }
3357        impl crate::traits::HasStructSize for Builder<'_> {
3358            const STRUCT_SIZE: crate::private::layout::StructSize =
3359                crate::private::layout::StructSize {
3360                    data: 6,
3361                    pointers: 6,
3362                };
3363        }
3364        impl crate::traits::HasTypeId for Builder<'_> {
3365            const TYPE_ID: u64 = _private::TYPE_ID;
3366        }
3367        impl<'a> ::core::convert::From<crate::private::layout::StructBuilder<'a>> for Builder<'a> {
3368            fn from(builder: crate::private::layout::StructBuilder<'a>) -> Self {
3369                Self { builder }
3370            }
3371        }
3372
3373        impl<'a> crate::traits::IntoInternalStructBuilder<'a> for Builder<'a> {
3374            fn into_internal_struct_builder(self) -> crate::private::layout::StructBuilder<'a> {
3375                self.builder
3376            }
3377        }
3378
3379        impl<'a> ::core::convert::From<Builder<'a>> for crate::dynamic_value::Builder<'a> {
3380            fn from(builder: Builder<'a>) -> Self {
3381                Self::Struct(crate::dynamic_struct::Builder::new(
3382                    builder.builder,
3383                    crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
3384                        generic: &_private::RAW_SCHEMA,
3385                        field_types: _private::get_field_types,
3386                        annotation_types: _private::get_annotation_types,
3387                        type_id: ::core::any::TypeId::of::<Owned>(),
3388                    }),
3389                ))
3390            }
3391        }
3392
3393        impl<'a> crate::traits::ImbueMut<'a> for Builder<'a> {
3394            fn imbue_mut(&mut self, cap_table: &'a mut crate::private::layout::CapTable) {
3395                self.builder
3396                    .imbue(crate::private::layout::CapTableBuilder::from_ref(cap_table))
3397            }
3398        }
3399
3400        impl<'a> crate::traits::FromPointerBuilder<'a> for Builder<'a> {
3401            fn init_pointer(
3402                builder: crate::private::layout::PointerBuilder<'a>,
3403                _size: u32,
3404            ) -> Self {
3405                builder
3406                    .init_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE)
3407                    .into()
3408            }
3409            fn get_from_pointer(
3410                builder: crate::private::layout::PointerBuilder<'a>,
3411                default: ::core::option::Option<&'a [crate::Word]>,
3412            ) -> crate::Result<Self> {
3413                ::core::result::Result::Ok(
3414                    builder
3415                        .get_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE, default)?
3416                        .into(),
3417                )
3418            }
3419        }
3420
3421        impl crate::traits::SetterInput<Owned> for Reader<'_> {
3422            fn set_pointer_builder(
3423                mut pointer: crate::private::layout::PointerBuilder<'_>,
3424                value: Self,
3425                canonicalize: bool,
3426            ) -> crate::Result<()> {
3427                pointer.set_struct(&value.reader, canonicalize)
3428            }
3429        }
3430
3431        impl<'a> Builder<'a> {
3432            pub fn into_reader(self) -> Reader<'a> {
3433                self.builder.into_reader().into()
3434            }
3435            pub fn reborrow(&mut self) -> Builder<'_> {
3436                Builder {
3437                    builder: self.builder.reborrow(),
3438                }
3439            }
3440            pub fn reborrow_as_reader(&self) -> Reader<'_> {
3441                self.builder.as_reader().into()
3442            }
3443
3444            pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
3445                self.builder.as_reader().total_size()
3446            }
3447            #[inline]
3448            pub fn get_methods(
3449                self,
3450            ) -> crate::Result<crate::struct_list::Builder<'a, crate::schema_capnp::method::Owned>>
3451            {
3452                crate::traits::FromPointerBuilder::get_from_pointer(
3453                    self.builder.get_pointer_field(3),
3454                    ::core::option::Option::None,
3455                )
3456            }
3457            #[inline]
3458            pub fn set_methods(
3459                &mut self,
3460                value: crate::struct_list::Reader<'_, crate::schema_capnp::method::Owned>,
3461            ) -> crate::Result<()> {
3462                crate::traits::SetterInput::set_pointer_builder(
3463                    self.builder.reborrow().get_pointer_field(3),
3464                    value,
3465                    false,
3466                )
3467            }
3468            #[inline]
3469            pub fn init_methods(
3470                self,
3471                size: u32,
3472            ) -> crate::struct_list::Builder<'a, crate::schema_capnp::method::Owned> {
3473                crate::traits::FromPointerBuilder::init_pointer(
3474                    self.builder.get_pointer_field(3),
3475                    size,
3476                )
3477            }
3478            #[inline]
3479            pub fn has_methods(&self) -> bool {
3480                !self.builder.is_pointer_field_null(3)
3481            }
3482            #[inline]
3483            pub fn get_superclasses(
3484                self,
3485            ) -> crate::Result<
3486                crate::struct_list::Builder<'a, crate::schema_capnp::superclass::Owned>,
3487            > {
3488                crate::traits::FromPointerBuilder::get_from_pointer(
3489                    self.builder.get_pointer_field(4),
3490                    ::core::option::Option::None,
3491                )
3492            }
3493            #[inline]
3494            pub fn set_superclasses(
3495                &mut self,
3496                value: crate::struct_list::Reader<'_, crate::schema_capnp::superclass::Owned>,
3497            ) -> crate::Result<()> {
3498                crate::traits::SetterInput::set_pointer_builder(
3499                    self.builder.reborrow().get_pointer_field(4),
3500                    value,
3501                    false,
3502                )
3503            }
3504            #[inline]
3505            pub fn init_superclasses(
3506                self,
3507                size: u32,
3508            ) -> crate::struct_list::Builder<'a, crate::schema_capnp::superclass::Owned>
3509            {
3510                crate::traits::FromPointerBuilder::init_pointer(
3511                    self.builder.get_pointer_field(4),
3512                    size,
3513                )
3514            }
3515            #[inline]
3516            pub fn has_superclasses(&self) -> bool {
3517                !self.builder.is_pointer_field_null(4)
3518            }
3519        }
3520
3521        pub struct Pipeline {
3522            _typeless: crate::any_pointer::Pipeline,
3523        }
3524        impl crate::capability::FromTypelessPipeline for Pipeline {
3525            fn new(typeless: crate::any_pointer::Pipeline) -> Self {
3526                Self {
3527                    _typeless: typeless,
3528                }
3529            }
3530        }
3531        impl Pipeline {}
3532        mod _private {
3533            pub(crate) static ENCODED_NODE: [crate::Word; 57] = [
3534                crate::word(0, 0, 0, 0, 6, 0, 6, 0),
3535                crate::word(143, 33, 194, 240, 207, 83, 39, 232),
3536                crate::word(18, 0, 0, 0, 1, 0, 6, 0),
3537                crate::word(23, 164, 35, 249, 76, 171, 130, 230),
3538                crate::word(6, 0, 7, 0, 1, 0, 0, 0),
3539                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3540                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3541                crate::word(21, 0, 0, 0, 226, 0, 0, 0),
3542                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3543                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3544                crate::word(25, 0, 0, 0, 119, 0, 0, 0),
3545                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3546                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3547                crate::word(115, 99, 104, 101, 109, 97, 46, 99),
3548                crate::word(97, 112, 110, 112, 58, 78, 111, 100),
3549                crate::word(101, 46, 105, 110, 116, 101, 114, 102),
3550                crate::word(97, 99, 101, 0, 0, 0, 0, 0),
3551                crate::word(8, 0, 0, 0, 3, 0, 4, 0),
3552                crate::word(0, 0, 0, 0, 3, 0, 0, 0),
3553                crate::word(0, 0, 1, 0, 15, 0, 0, 0),
3554                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3555                crate::word(41, 0, 0, 0, 66, 0, 0, 0),
3556                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3557                crate::word(36, 0, 0, 0, 3, 0, 1, 0),
3558                crate::word(64, 0, 0, 0, 2, 0, 1, 0),
3559                crate::word(1, 0, 0, 0, 4, 0, 0, 0),
3560                crate::word(0, 0, 1, 0, 31, 0, 0, 0),
3561                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3562                crate::word(61, 0, 0, 0, 106, 0, 0, 0),
3563                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3564                crate::word(60, 0, 0, 0, 3, 0, 1, 0),
3565                crate::word(88, 0, 0, 0, 2, 0, 1, 0),
3566                crate::word(109, 101, 116, 104, 111, 100, 115, 0),
3567                crate::word(14, 0, 0, 0, 0, 0, 0, 0),
3568                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3569                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3570                crate::word(0, 0, 0, 0, 3, 0, 1, 0),
3571                crate::word(16, 0, 0, 0, 0, 0, 0, 0),
3572                crate::word(128, 77, 51, 59, 226, 204, 0, 149),
3573                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3574                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3575                crate::word(14, 0, 0, 0, 0, 0, 0, 0),
3576                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3577                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3578                crate::word(115, 117, 112, 101, 114, 99, 108, 97),
3579                crate::word(115, 115, 101, 115, 0, 0, 0, 0),
3580                crate::word(14, 0, 0, 0, 0, 0, 0, 0),
3581                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3582                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3583                crate::word(0, 0, 0, 0, 3, 0, 1, 0),
3584                crate::word(16, 0, 0, 0, 0, 0, 0, 0),
3585                crate::word(248, 215, 164, 208, 158, 42, 150, 169),
3586                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3587                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3588                crate::word(14, 0, 0, 0, 0, 0, 0, 0),
3589                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3590                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3591            ];
3592            pub(crate) fn get_field_types(index: u16) -> crate::introspect::Type {
3593                match index {
3594                    0 => <crate::struct_list::Owned<crate::schema_capnp::method::Owned> as crate::introspect::Introspect>::introspect(),
3595                    1 => <crate::struct_list::Owned<crate::schema_capnp::superclass::Owned> as crate::introspect::Introspect>::introspect(),
3596                    _ => crate::introspect::panic_invalid_field_index(index),
3597                }
3598            }
3599            pub(crate) fn get_annotation_types(
3600                child_index: Option<u16>,
3601                index: u32,
3602            ) -> crate::introspect::Type {
3603                crate::introspect::panic_invalid_annotation_indices(child_index, index)
3604            }
3605            pub(crate) static ARENA: crate::private::arena::GeneratedCodeArena =
3606                crate::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
3607            pub(crate) static RAW_SCHEMA: crate::introspect::RawStructSchema =
3608                crate::introspect::RawStructSchema::new(
3609                    &ARENA,
3610                    NONUNION_MEMBERS,
3611                    MEMBERS_BY_DISCRIMINANT,
3612                    MEMBERS_BY_NAME,
3613                );
3614            pub(crate) static NONUNION_MEMBERS: &[u16] = &[0, 1];
3615            pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[];
3616            pub(crate) static MEMBERS_BY_NAME: &[u16] = &[0, 1];
3617            pub(crate) const TYPE_ID: u64 = 0xe827_53cf_f0c2_218f;
3618        }
3619    }
3620
3621    pub mod const_ {
3622        #[derive(Copy, Clone)]
3623        pub struct Owned(());
3624        impl crate::introspect::Introspect for Owned {
3625            fn introspect() -> crate::introspect::Type {
3626                crate::introspect::TypeVariant::Struct(crate::introspect::RawBrandedStructSchema {
3627                    generic: &_private::RAW_SCHEMA,
3628                    field_types: _private::get_field_types,
3629                    annotation_types: _private::get_annotation_types,
3630                    type_id: ::core::any::TypeId::of::<Owned>(),
3631                })
3632                .into()
3633            }
3634        }
3635        impl crate::traits::Owned for Owned {
3636            type Reader<'a> = Reader<'a>;
3637            type Builder<'a> = Builder<'a>;
3638        }
3639        impl crate::traits::OwnedStruct for Owned {
3640            type Reader<'a> = Reader<'a>;
3641            type Builder<'a> = Builder<'a>;
3642        }
3643        impl crate::traits::Pipelined for Owned {
3644            type Pipeline = Pipeline;
3645        }
3646
3647        pub struct Reader<'a> {
3648            reader: crate::private::layout::StructReader<'a>,
3649        }
3650        impl ::core::marker::Copy for Reader<'_> {}
3651        impl ::core::clone::Clone for Reader<'_> {
3652            fn clone(&self) -> Self {
3653                *self
3654            }
3655        }
3656
3657        impl crate::traits::HasTypeId for Reader<'_> {
3658            const TYPE_ID: u64 = _private::TYPE_ID;
3659        }
3660        impl<'a> ::core::convert::From<crate::private::layout::StructReader<'a>> for Reader<'a> {
3661            fn from(reader: crate::private::layout::StructReader<'a>) -> Self {
3662                Self { reader }
3663            }
3664        }
3665
3666        impl<'a> ::core::convert::From<Reader<'a>> for crate::dynamic_value::Reader<'a> {
3667            fn from(reader: Reader<'a>) -> Self {
3668                Self::Struct(crate::dynamic_struct::Reader::new(
3669                    reader.reader,
3670                    crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
3671                        generic: &_private::RAW_SCHEMA,
3672                        field_types: _private::get_field_types,
3673                        annotation_types: _private::get_annotation_types,
3674                        type_id: ::core::any::TypeId::of::<Owned>(),
3675                    }),
3676                ))
3677            }
3678        }
3679
3680        impl ::core::fmt::Debug for Reader<'_> {
3681            fn fmt(
3682                &self,
3683                f: &mut ::core::fmt::Formatter<'_>,
3684            ) -> ::core::result::Result<(), ::core::fmt::Error> {
3685                core::fmt::Debug::fmt(
3686                    &::core::convert::Into::<crate::dynamic_value::Reader<'_>>::into(*self),
3687                    f,
3688                )
3689            }
3690        }
3691
3692        impl<'a> crate::traits::FromPointerReader<'a> for Reader<'a> {
3693            fn get_from_pointer(
3694                reader: &crate::private::layout::PointerReader<'a>,
3695                default: ::core::option::Option<&'a [crate::Word]>,
3696            ) -> crate::Result<Self> {
3697                ::core::result::Result::Ok(reader.get_struct(default)?.into())
3698            }
3699        }
3700
3701        impl<'a> crate::traits::IntoInternalStructReader<'a> for Reader<'a> {
3702            fn into_internal_struct_reader(self) -> crate::private::layout::StructReader<'a> {
3703                self.reader
3704            }
3705        }
3706
3707        impl<'a> crate::traits::Imbue<'a> for Reader<'a> {
3708            fn imbue(&mut self, cap_table: &'a crate::private::layout::CapTable) {
3709                self.reader
3710                    .imbue(crate::private::layout::CapTableReader::from_ref(cap_table))
3711            }
3712        }
3713
3714        impl<'a> Reader<'a> {
3715            pub fn reborrow(&self) -> Reader<'_> {
3716                Self { ..*self }
3717            }
3718
3719            pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
3720                self.reader.total_size()
3721            }
3722            #[inline]
3723            pub fn get_type(self) -> crate::Result<crate::schema_capnp::type_::Reader<'a>> {
3724                crate::traits::FromPointerReader::get_from_pointer(
3725                    &self.reader.get_pointer_field(3),
3726                    ::core::option::Option::None,
3727                )
3728            }
3729            #[inline]
3730            pub fn has_type(&self) -> bool {
3731                !self.reader.get_pointer_field(3).is_null()
3732            }
3733            #[inline]
3734            pub fn get_value(self) -> crate::Result<crate::schema_capnp::value::Reader<'a>> {
3735                crate::traits::FromPointerReader::get_from_pointer(
3736                    &self.reader.get_pointer_field(4),
3737                    ::core::option::Option::None,
3738                )
3739            }
3740            #[inline]
3741            pub fn has_value(&self) -> bool {
3742                !self.reader.get_pointer_field(4).is_null()
3743            }
3744        }
3745
3746        pub struct Builder<'a> {
3747            builder: crate::private::layout::StructBuilder<'a>,
3748        }
3749        impl crate::traits::HasStructSize for Builder<'_> {
3750            const STRUCT_SIZE: crate::private::layout::StructSize =
3751                crate::private::layout::StructSize {
3752                    data: 6,
3753                    pointers: 6,
3754                };
3755        }
3756        impl crate::traits::HasTypeId for Builder<'_> {
3757            const TYPE_ID: u64 = _private::TYPE_ID;
3758        }
3759        impl<'a> ::core::convert::From<crate::private::layout::StructBuilder<'a>> for Builder<'a> {
3760            fn from(builder: crate::private::layout::StructBuilder<'a>) -> Self {
3761                Self { builder }
3762            }
3763        }
3764
3765        impl<'a> crate::traits::IntoInternalStructBuilder<'a> for Builder<'a> {
3766            fn into_internal_struct_builder(self) -> crate::private::layout::StructBuilder<'a> {
3767                self.builder
3768            }
3769        }
3770
3771        impl<'a> ::core::convert::From<Builder<'a>> for crate::dynamic_value::Builder<'a> {
3772            fn from(builder: Builder<'a>) -> Self {
3773                Self::Struct(crate::dynamic_struct::Builder::new(
3774                    builder.builder,
3775                    crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
3776                        generic: &_private::RAW_SCHEMA,
3777                        field_types: _private::get_field_types,
3778                        annotation_types: _private::get_annotation_types,
3779                        type_id: ::core::any::TypeId::of::<Owned>(),
3780                    }),
3781                ))
3782            }
3783        }
3784
3785        impl<'a> crate::traits::ImbueMut<'a> for Builder<'a> {
3786            fn imbue_mut(&mut self, cap_table: &'a mut crate::private::layout::CapTable) {
3787                self.builder
3788                    .imbue(crate::private::layout::CapTableBuilder::from_ref(cap_table))
3789            }
3790        }
3791
3792        impl<'a> crate::traits::FromPointerBuilder<'a> for Builder<'a> {
3793            fn init_pointer(
3794                builder: crate::private::layout::PointerBuilder<'a>,
3795                _size: u32,
3796            ) -> Self {
3797                builder
3798                    .init_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE)
3799                    .into()
3800            }
3801            fn get_from_pointer(
3802                builder: crate::private::layout::PointerBuilder<'a>,
3803                default: ::core::option::Option<&'a [crate::Word]>,
3804            ) -> crate::Result<Self> {
3805                ::core::result::Result::Ok(
3806                    builder
3807                        .get_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE, default)?
3808                        .into(),
3809                )
3810            }
3811        }
3812
3813        impl crate::traits::SetterInput<Owned> for Reader<'_> {
3814            fn set_pointer_builder(
3815                mut pointer: crate::private::layout::PointerBuilder<'_>,
3816                value: Self,
3817                canonicalize: bool,
3818            ) -> crate::Result<()> {
3819                pointer.set_struct(&value.reader, canonicalize)
3820            }
3821        }
3822
3823        impl<'a> Builder<'a> {
3824            pub fn into_reader(self) -> Reader<'a> {
3825                self.builder.into_reader().into()
3826            }
3827            pub fn reborrow(&mut self) -> Builder<'_> {
3828                Builder {
3829                    builder: self.builder.reborrow(),
3830                }
3831            }
3832            pub fn reborrow_as_reader(&self) -> Reader<'_> {
3833                self.builder.as_reader().into()
3834            }
3835
3836            pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
3837                self.builder.as_reader().total_size()
3838            }
3839            #[inline]
3840            pub fn get_type(self) -> crate::Result<crate::schema_capnp::type_::Builder<'a>> {
3841                crate::traits::FromPointerBuilder::get_from_pointer(
3842                    self.builder.get_pointer_field(3),
3843                    ::core::option::Option::None,
3844                )
3845            }
3846            #[inline]
3847            pub fn set_type(
3848                &mut self,
3849                value: crate::schema_capnp::type_::Reader<'_>,
3850            ) -> crate::Result<()> {
3851                crate::traits::SetterInput::set_pointer_builder(
3852                    self.builder.reborrow().get_pointer_field(3),
3853                    value,
3854                    false,
3855                )
3856            }
3857            #[inline]
3858            pub fn init_type(self) -> crate::schema_capnp::type_::Builder<'a> {
3859                crate::traits::FromPointerBuilder::init_pointer(
3860                    self.builder.get_pointer_field(3),
3861                    0,
3862                )
3863            }
3864            #[inline]
3865            pub fn has_type(&self) -> bool {
3866                !self.builder.is_pointer_field_null(3)
3867            }
3868            #[inline]
3869            pub fn get_value(self) -> crate::Result<crate::schema_capnp::value::Builder<'a>> {
3870                crate::traits::FromPointerBuilder::get_from_pointer(
3871                    self.builder.get_pointer_field(4),
3872                    ::core::option::Option::None,
3873                )
3874            }
3875            #[inline]
3876            pub fn set_value(
3877                &mut self,
3878                value: crate::schema_capnp::value::Reader<'_>,
3879            ) -> crate::Result<()> {
3880                crate::traits::SetterInput::set_pointer_builder(
3881                    self.builder.reborrow().get_pointer_field(4),
3882                    value,
3883                    false,
3884                )
3885            }
3886            #[inline]
3887            pub fn init_value(self) -> crate::schema_capnp::value::Builder<'a> {
3888                crate::traits::FromPointerBuilder::init_pointer(
3889                    self.builder.get_pointer_field(4),
3890                    0,
3891                )
3892            }
3893            #[inline]
3894            pub fn has_value(&self) -> bool {
3895                !self.builder.is_pointer_field_null(4)
3896            }
3897        }
3898
3899        pub struct Pipeline {
3900            _typeless: crate::any_pointer::Pipeline,
3901        }
3902        impl crate::capability::FromTypelessPipeline for Pipeline {
3903            fn new(typeless: crate::any_pointer::Pipeline) -> Self {
3904                Self {
3905                    _typeless: typeless,
3906                }
3907            }
3908        }
3909        impl Pipeline {
3910            pub fn get_type(&self) -> crate::schema_capnp::type_::Pipeline {
3911                crate::capability::FromTypelessPipeline::new(self._typeless.get_pointer_field(3))
3912            }
3913            pub fn get_value(&self) -> crate::schema_capnp::value::Pipeline {
3914                crate::capability::FromTypelessPipeline::new(self._typeless.get_pointer_field(4))
3915            }
3916        }
3917        mod _private {
3918            pub(crate) static ENCODED_NODE: [crate::Word; 47] = [
3919                crate::word(0, 0, 0, 0, 6, 0, 6, 0),
3920                crate::word(32, 148, 13, 122, 172, 165, 138, 177),
3921                crate::word(18, 0, 0, 0, 1, 0, 6, 0),
3922                crate::word(23, 164, 35, 249, 76, 171, 130, 230),
3923                crate::word(6, 0, 7, 0, 1, 0, 0, 0),
3924                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3925                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3926                crate::word(21, 0, 0, 0, 194, 0, 0, 0),
3927                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3928                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3929                crate::word(21, 0, 0, 0, 119, 0, 0, 0),
3930                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3931                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3932                crate::word(115, 99, 104, 101, 109, 97, 46, 99),
3933                crate::word(97, 112, 110, 112, 58, 78, 111, 100),
3934                crate::word(101, 46, 99, 111, 110, 115, 116, 0),
3935                crate::word(8, 0, 0, 0, 3, 0, 4, 0),
3936                crate::word(0, 0, 0, 0, 3, 0, 0, 0),
3937                crate::word(0, 0, 1, 0, 16, 0, 0, 0),
3938                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3939                crate::word(41, 0, 0, 0, 42, 0, 0, 0),
3940                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3941                crate::word(36, 0, 0, 0, 3, 0, 1, 0),
3942                crate::word(48, 0, 0, 0, 2, 0, 1, 0),
3943                crate::word(1, 0, 0, 0, 4, 0, 0, 0),
3944                crate::word(0, 0, 1, 0, 17, 0, 0, 0),
3945                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3946                crate::word(45, 0, 0, 0, 50, 0, 0, 0),
3947                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3948                crate::word(40, 0, 0, 0, 3, 0, 1, 0),
3949                crate::word(52, 0, 0, 0, 2, 0, 1, 0),
3950                crate::word(116, 121, 112, 101, 0, 0, 0, 0),
3951                crate::word(16, 0, 0, 0, 0, 0, 0, 0),
3952                crate::word(96, 204, 249, 225, 237, 120, 115, 208),
3953                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3954                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3955                crate::word(16, 0, 0, 0, 0, 0, 0, 0),
3956                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3957                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3958                crate::word(118, 97, 108, 117, 101, 0, 0, 0),
3959                crate::word(16, 0, 0, 0, 0, 0, 0, 0),
3960                crate::word(155, 12, 176, 215, 210, 220, 35, 206),
3961                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3962                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3963                crate::word(16, 0, 0, 0, 0, 0, 0, 0),
3964                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3965                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
3966            ];
3967            pub(crate) fn get_field_types(index: u16) -> crate::introspect::Type {
3968                match index {
3969                    0 => <crate::schema_capnp::type_::Owned as crate::introspect::Introspect>::introspect(),
3970                    1 => <crate::schema_capnp::value::Owned as crate::introspect::Introspect>::introspect(),
3971                    _ => crate::introspect::panic_invalid_field_index(index),
3972                }
3973            }
3974            pub(crate) fn get_annotation_types(
3975                child_index: Option<u16>,
3976                index: u32,
3977            ) -> crate::introspect::Type {
3978                crate::introspect::panic_invalid_annotation_indices(child_index, index)
3979            }
3980            pub(crate) static ARENA: crate::private::arena::GeneratedCodeArena =
3981                crate::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
3982            pub(crate) static RAW_SCHEMA: crate::introspect::RawStructSchema =
3983                crate::introspect::RawStructSchema::new(
3984                    &ARENA,
3985                    NONUNION_MEMBERS,
3986                    MEMBERS_BY_DISCRIMINANT,
3987                    MEMBERS_BY_NAME,
3988                );
3989            pub(crate) static NONUNION_MEMBERS: &[u16] = &[0, 1];
3990            pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[];
3991            pub(crate) static MEMBERS_BY_NAME: &[u16] = &[0, 1];
3992            pub(crate) const TYPE_ID: u64 = 0xb18a_a5ac_7a0d_9420;
3993        }
3994    }
3995
3996    pub mod annotation {
3997        #[derive(Copy, Clone)]
3998        pub struct Owned(());
3999        impl crate::introspect::Introspect for Owned {
4000            fn introspect() -> crate::introspect::Type {
4001                crate::introspect::TypeVariant::Struct(crate::introspect::RawBrandedStructSchema {
4002                    generic: &_private::RAW_SCHEMA,
4003                    field_types: _private::get_field_types,
4004                    annotation_types: _private::get_annotation_types,
4005                    type_id: ::core::any::TypeId::of::<Owned>(),
4006                })
4007                .into()
4008            }
4009        }
4010        impl crate::traits::Owned for Owned {
4011            type Reader<'a> = Reader<'a>;
4012            type Builder<'a> = Builder<'a>;
4013        }
4014        impl crate::traits::OwnedStruct for Owned {
4015            type Reader<'a> = Reader<'a>;
4016            type Builder<'a> = Builder<'a>;
4017        }
4018        impl crate::traits::Pipelined for Owned {
4019            type Pipeline = Pipeline;
4020        }
4021
4022        pub struct Reader<'a> {
4023            reader: crate::private::layout::StructReader<'a>,
4024        }
4025        impl ::core::marker::Copy for Reader<'_> {}
4026        impl ::core::clone::Clone for Reader<'_> {
4027            fn clone(&self) -> Self {
4028                *self
4029            }
4030        }
4031
4032        impl crate::traits::HasTypeId for Reader<'_> {
4033            const TYPE_ID: u64 = _private::TYPE_ID;
4034        }
4035        impl<'a> ::core::convert::From<crate::private::layout::StructReader<'a>> for Reader<'a> {
4036            fn from(reader: crate::private::layout::StructReader<'a>) -> Self {
4037                Self { reader }
4038            }
4039        }
4040
4041        impl<'a> ::core::convert::From<Reader<'a>> for crate::dynamic_value::Reader<'a> {
4042            fn from(reader: Reader<'a>) -> Self {
4043                Self::Struct(crate::dynamic_struct::Reader::new(
4044                    reader.reader,
4045                    crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
4046                        generic: &_private::RAW_SCHEMA,
4047                        field_types: _private::get_field_types,
4048                        annotation_types: _private::get_annotation_types,
4049                        type_id: ::core::any::TypeId::of::<Owned>(),
4050                    }),
4051                ))
4052            }
4053        }
4054
4055        impl ::core::fmt::Debug for Reader<'_> {
4056            fn fmt(
4057                &self,
4058                f: &mut ::core::fmt::Formatter<'_>,
4059            ) -> ::core::result::Result<(), ::core::fmt::Error> {
4060                core::fmt::Debug::fmt(
4061                    &::core::convert::Into::<crate::dynamic_value::Reader<'_>>::into(*self),
4062                    f,
4063                )
4064            }
4065        }
4066
4067        impl<'a> crate::traits::FromPointerReader<'a> for Reader<'a> {
4068            fn get_from_pointer(
4069                reader: &crate::private::layout::PointerReader<'a>,
4070                default: ::core::option::Option<&'a [crate::Word]>,
4071            ) -> crate::Result<Self> {
4072                ::core::result::Result::Ok(reader.get_struct(default)?.into())
4073            }
4074        }
4075
4076        impl<'a> crate::traits::IntoInternalStructReader<'a> for Reader<'a> {
4077            fn into_internal_struct_reader(self) -> crate::private::layout::StructReader<'a> {
4078                self.reader
4079            }
4080        }
4081
4082        impl<'a> crate::traits::Imbue<'a> for Reader<'a> {
4083            fn imbue(&mut self, cap_table: &'a crate::private::layout::CapTable) {
4084                self.reader
4085                    .imbue(crate::private::layout::CapTableReader::from_ref(cap_table))
4086            }
4087        }
4088
4089        impl<'a> Reader<'a> {
4090            pub fn reborrow(&self) -> Reader<'_> {
4091                Self { ..*self }
4092            }
4093
4094            pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
4095                self.reader.total_size()
4096            }
4097            #[inline]
4098            pub fn get_type(self) -> crate::Result<crate::schema_capnp::type_::Reader<'a>> {
4099                crate::traits::FromPointerReader::get_from_pointer(
4100                    &self.reader.get_pointer_field(3),
4101                    ::core::option::Option::None,
4102                )
4103            }
4104            #[inline]
4105            pub fn has_type(&self) -> bool {
4106                !self.reader.get_pointer_field(3).is_null()
4107            }
4108            #[inline]
4109            pub fn get_targets_file(self) -> bool {
4110                self.reader.get_bool_field(112)
4111            }
4112            #[inline]
4113            pub fn get_targets_const(self) -> bool {
4114                self.reader.get_bool_field(113)
4115            }
4116            #[inline]
4117            pub fn get_targets_enum(self) -> bool {
4118                self.reader.get_bool_field(114)
4119            }
4120            #[inline]
4121            pub fn get_targets_enumerant(self) -> bool {
4122                self.reader.get_bool_field(115)
4123            }
4124            #[inline]
4125            pub fn get_targets_struct(self) -> bool {
4126                self.reader.get_bool_field(116)
4127            }
4128            #[inline]
4129            pub fn get_targets_field(self) -> bool {
4130                self.reader.get_bool_field(117)
4131            }
4132            #[inline]
4133            pub fn get_targets_union(self) -> bool {
4134                self.reader.get_bool_field(118)
4135            }
4136            #[inline]
4137            pub fn get_targets_group(self) -> bool {
4138                self.reader.get_bool_field(119)
4139            }
4140            #[inline]
4141            pub fn get_targets_interface(self) -> bool {
4142                self.reader.get_bool_field(120)
4143            }
4144            #[inline]
4145            pub fn get_targets_method(self) -> bool {
4146                self.reader.get_bool_field(121)
4147            }
4148            #[inline]
4149            pub fn get_targets_param(self) -> bool {
4150                self.reader.get_bool_field(122)
4151            }
4152            #[inline]
4153            pub fn get_targets_annotation(self) -> bool {
4154                self.reader.get_bool_field(123)
4155            }
4156        }
4157
4158        pub struct Builder<'a> {
4159            builder: crate::private::layout::StructBuilder<'a>,
4160        }
4161        impl crate::traits::HasStructSize for Builder<'_> {
4162            const STRUCT_SIZE: crate::private::layout::StructSize =
4163                crate::private::layout::StructSize {
4164                    data: 6,
4165                    pointers: 6,
4166                };
4167        }
4168        impl crate::traits::HasTypeId for Builder<'_> {
4169            const TYPE_ID: u64 = _private::TYPE_ID;
4170        }
4171        impl<'a> ::core::convert::From<crate::private::layout::StructBuilder<'a>> for Builder<'a> {
4172            fn from(builder: crate::private::layout::StructBuilder<'a>) -> Self {
4173                Self { builder }
4174            }
4175        }
4176
4177        impl<'a> crate::traits::IntoInternalStructBuilder<'a> for Builder<'a> {
4178            fn into_internal_struct_builder(self) -> crate::private::layout::StructBuilder<'a> {
4179                self.builder
4180            }
4181        }
4182
4183        impl<'a> ::core::convert::From<Builder<'a>> for crate::dynamic_value::Builder<'a> {
4184            fn from(builder: Builder<'a>) -> Self {
4185                Self::Struct(crate::dynamic_struct::Builder::new(
4186                    builder.builder,
4187                    crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
4188                        generic: &_private::RAW_SCHEMA,
4189                        field_types: _private::get_field_types,
4190                        annotation_types: _private::get_annotation_types,
4191                        type_id: ::core::any::TypeId::of::<Owned>(),
4192                    }),
4193                ))
4194            }
4195        }
4196
4197        impl<'a> crate::traits::ImbueMut<'a> for Builder<'a> {
4198            fn imbue_mut(&mut self, cap_table: &'a mut crate::private::layout::CapTable) {
4199                self.builder
4200                    .imbue(crate::private::layout::CapTableBuilder::from_ref(cap_table))
4201            }
4202        }
4203
4204        impl<'a> crate::traits::FromPointerBuilder<'a> for Builder<'a> {
4205            fn init_pointer(
4206                builder: crate::private::layout::PointerBuilder<'a>,
4207                _size: u32,
4208            ) -> Self {
4209                builder
4210                    .init_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE)
4211                    .into()
4212            }
4213            fn get_from_pointer(
4214                builder: crate::private::layout::PointerBuilder<'a>,
4215                default: ::core::option::Option<&'a [crate::Word]>,
4216            ) -> crate::Result<Self> {
4217                ::core::result::Result::Ok(
4218                    builder
4219                        .get_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE, default)?
4220                        .into(),
4221                )
4222            }
4223        }
4224
4225        impl crate::traits::SetterInput<Owned> for Reader<'_> {
4226            fn set_pointer_builder(
4227                mut pointer: crate::private::layout::PointerBuilder<'_>,
4228                value: Self,
4229                canonicalize: bool,
4230            ) -> crate::Result<()> {
4231                pointer.set_struct(&value.reader, canonicalize)
4232            }
4233        }
4234
4235        impl<'a> Builder<'a> {
4236            pub fn into_reader(self) -> Reader<'a> {
4237                self.builder.into_reader().into()
4238            }
4239            pub fn reborrow(&mut self) -> Builder<'_> {
4240                Builder {
4241                    builder: self.builder.reborrow(),
4242                }
4243            }
4244            pub fn reborrow_as_reader(&self) -> Reader<'_> {
4245                self.builder.as_reader().into()
4246            }
4247
4248            pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
4249                self.builder.as_reader().total_size()
4250            }
4251            #[inline]
4252            pub fn get_type(self) -> crate::Result<crate::schema_capnp::type_::Builder<'a>> {
4253                crate::traits::FromPointerBuilder::get_from_pointer(
4254                    self.builder.get_pointer_field(3),
4255                    ::core::option::Option::None,
4256                )
4257            }
4258            #[inline]
4259            pub fn set_type(
4260                &mut self,
4261                value: crate::schema_capnp::type_::Reader<'_>,
4262            ) -> crate::Result<()> {
4263                crate::traits::SetterInput::set_pointer_builder(
4264                    self.builder.reborrow().get_pointer_field(3),
4265                    value,
4266                    false,
4267                )
4268            }
4269            #[inline]
4270            pub fn init_type(self) -> crate::schema_capnp::type_::Builder<'a> {
4271                crate::traits::FromPointerBuilder::init_pointer(
4272                    self.builder.get_pointer_field(3),
4273                    0,
4274                )
4275            }
4276            #[inline]
4277            pub fn has_type(&self) -> bool {
4278                !self.builder.is_pointer_field_null(3)
4279            }
4280            #[inline]
4281            pub fn get_targets_file(self) -> bool {
4282                self.builder.get_bool_field(112)
4283            }
4284            #[inline]
4285            pub fn set_targets_file(&mut self, value: bool) {
4286                self.builder.set_bool_field(112, value);
4287            }
4288            #[inline]
4289            pub fn get_targets_const(self) -> bool {
4290                self.builder.get_bool_field(113)
4291            }
4292            #[inline]
4293            pub fn set_targets_const(&mut self, value: bool) {
4294                self.builder.set_bool_field(113, value);
4295            }
4296            #[inline]
4297            pub fn get_targets_enum(self) -> bool {
4298                self.builder.get_bool_field(114)
4299            }
4300            #[inline]
4301            pub fn set_targets_enum(&mut self, value: bool) {
4302                self.builder.set_bool_field(114, value);
4303            }
4304            #[inline]
4305            pub fn get_targets_enumerant(self) -> bool {
4306                self.builder.get_bool_field(115)
4307            }
4308            #[inline]
4309            pub fn set_targets_enumerant(&mut self, value: bool) {
4310                self.builder.set_bool_field(115, value);
4311            }
4312            #[inline]
4313            pub fn get_targets_struct(self) -> bool {
4314                self.builder.get_bool_field(116)
4315            }
4316            #[inline]
4317            pub fn set_targets_struct(&mut self, value: bool) {
4318                self.builder.set_bool_field(116, value);
4319            }
4320            #[inline]
4321            pub fn get_targets_field(self) -> bool {
4322                self.builder.get_bool_field(117)
4323            }
4324            #[inline]
4325            pub fn set_targets_field(&mut self, value: bool) {
4326                self.builder.set_bool_field(117, value);
4327            }
4328            #[inline]
4329            pub fn get_targets_union(self) -> bool {
4330                self.builder.get_bool_field(118)
4331            }
4332            #[inline]
4333            pub fn set_targets_union(&mut self, value: bool) {
4334                self.builder.set_bool_field(118, value);
4335            }
4336            #[inline]
4337            pub fn get_targets_group(self) -> bool {
4338                self.builder.get_bool_field(119)
4339            }
4340            #[inline]
4341            pub fn set_targets_group(&mut self, value: bool) {
4342                self.builder.set_bool_field(119, value);
4343            }
4344            #[inline]
4345            pub fn get_targets_interface(self) -> bool {
4346                self.builder.get_bool_field(120)
4347            }
4348            #[inline]
4349            pub fn set_targets_interface(&mut self, value: bool) {
4350                self.builder.set_bool_field(120, value);
4351            }
4352            #[inline]
4353            pub fn get_targets_method(self) -> bool {
4354                self.builder.get_bool_field(121)
4355            }
4356            #[inline]
4357            pub fn set_targets_method(&mut self, value: bool) {
4358                self.builder.set_bool_field(121, value);
4359            }
4360            #[inline]
4361            pub fn get_targets_param(self) -> bool {
4362                self.builder.get_bool_field(122)
4363            }
4364            #[inline]
4365            pub fn set_targets_param(&mut self, value: bool) {
4366                self.builder.set_bool_field(122, value);
4367            }
4368            #[inline]
4369            pub fn get_targets_annotation(self) -> bool {
4370                self.builder.get_bool_field(123)
4371            }
4372            #[inline]
4373            pub fn set_targets_annotation(&mut self, value: bool) {
4374                self.builder.set_bool_field(123, value);
4375            }
4376        }
4377
4378        pub struct Pipeline {
4379            _typeless: crate::any_pointer::Pipeline,
4380        }
4381        impl crate::capability::FromTypelessPipeline for Pipeline {
4382            fn new(typeless: crate::any_pointer::Pipeline) -> Self {
4383                Self {
4384                    _typeless: typeless,
4385                }
4386            }
4387        }
4388        impl Pipeline {
4389            pub fn get_type(&self) -> crate::schema_capnp::type_::Pipeline {
4390                crate::capability::FromTypelessPipeline::new(self._typeless.get_pointer_field(3))
4391            }
4392        }
4393        mod _private {
4394            pub(crate) static ENCODED_NODE: [crate::Word; 228] = [
4395                crate::word(0, 0, 0, 0, 6, 0, 6, 0),
4396                crate::word(144, 2, 10, 64, 212, 25, 22, 236),
4397                crate::word(18, 0, 0, 0, 1, 0, 6, 0),
4398                crate::word(23, 164, 35, 249, 76, 171, 130, 230),
4399                crate::word(6, 0, 7, 0, 1, 0, 0, 0),
4400                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4401                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4402                crate::word(21, 0, 0, 0, 234, 0, 0, 0),
4403                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4404                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4405                crate::word(25, 0, 0, 0, 223, 2, 0, 0),
4406                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4407                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4408                crate::word(115, 99, 104, 101, 109, 97, 46, 99),
4409                crate::word(97, 112, 110, 112, 58, 78, 111, 100),
4410                crate::word(101, 46, 97, 110, 110, 111, 116, 97),
4411                crate::word(116, 105, 111, 110, 0, 0, 0, 0),
4412                crate::word(52, 0, 0, 0, 3, 0, 4, 0),
4413                crate::word(0, 0, 0, 0, 3, 0, 0, 0),
4414                crate::word(0, 0, 1, 0, 18, 0, 0, 0),
4415                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4416                crate::word(93, 1, 0, 0, 42, 0, 0, 0),
4417                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4418                crate::word(88, 1, 0, 0, 3, 0, 1, 0),
4419                crate::word(100, 1, 0, 0, 2, 0, 1, 0),
4420                crate::word(1, 0, 0, 0, 112, 0, 0, 0),
4421                crate::word(0, 0, 1, 0, 19, 0, 0, 0),
4422                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4423                crate::word(97, 1, 0, 0, 98, 0, 0, 0),
4424                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4425                crate::word(96, 1, 0, 0, 3, 0, 1, 0),
4426                crate::word(108, 1, 0, 0, 2, 0, 1, 0),
4427                crate::word(2, 0, 0, 0, 113, 0, 0, 0),
4428                crate::word(0, 0, 1, 0, 20, 0, 0, 0),
4429                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4430                crate::word(105, 1, 0, 0, 106, 0, 0, 0),
4431                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4432                crate::word(104, 1, 0, 0, 3, 0, 1, 0),
4433                crate::word(116, 1, 0, 0, 2, 0, 1, 0),
4434                crate::word(3, 0, 0, 0, 114, 0, 0, 0),
4435                crate::word(0, 0, 1, 0, 21, 0, 0, 0),
4436                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4437                crate::word(113, 1, 0, 0, 98, 0, 0, 0),
4438                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4439                crate::word(112, 1, 0, 0, 3, 0, 1, 0),
4440                crate::word(124, 1, 0, 0, 2, 0, 1, 0),
4441                crate::word(4, 0, 0, 0, 115, 0, 0, 0),
4442                crate::word(0, 0, 1, 0, 22, 0, 0, 0),
4443                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4444                crate::word(121, 1, 0, 0, 138, 0, 0, 0),
4445                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4446                crate::word(124, 1, 0, 0, 3, 0, 1, 0),
4447                crate::word(136, 1, 0, 0, 2, 0, 1, 0),
4448                crate::word(5, 0, 0, 0, 116, 0, 0, 0),
4449                crate::word(0, 0, 1, 0, 23, 0, 0, 0),
4450                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4451                crate::word(133, 1, 0, 0, 114, 0, 0, 0),
4452                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4453                crate::word(132, 1, 0, 0, 3, 0, 1, 0),
4454                crate::word(144, 1, 0, 0, 2, 0, 1, 0),
4455                crate::word(6, 0, 0, 0, 117, 0, 0, 0),
4456                crate::word(0, 0, 1, 0, 24, 0, 0, 0),
4457                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4458                crate::word(141, 1, 0, 0, 106, 0, 0, 0),
4459                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4460                crate::word(140, 1, 0, 0, 3, 0, 1, 0),
4461                crate::word(152, 1, 0, 0, 2, 0, 1, 0),
4462                crate::word(7, 0, 0, 0, 118, 0, 0, 0),
4463                crate::word(0, 0, 1, 0, 25, 0, 0, 0),
4464                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4465                crate::word(149, 1, 0, 0, 106, 0, 0, 0),
4466                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4467                crate::word(148, 1, 0, 0, 3, 0, 1, 0),
4468                crate::word(160, 1, 0, 0, 2, 0, 1, 0),
4469                crate::word(8, 0, 0, 0, 119, 0, 0, 0),
4470                crate::word(0, 0, 1, 0, 26, 0, 0, 0),
4471                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4472                crate::word(157, 1, 0, 0, 106, 0, 0, 0),
4473                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4474                crate::word(156, 1, 0, 0, 3, 0, 1, 0),
4475                crate::word(168, 1, 0, 0, 2, 0, 1, 0),
4476                crate::word(9, 0, 0, 0, 120, 0, 0, 0),
4477                crate::word(0, 0, 1, 0, 27, 0, 0, 0),
4478                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4479                crate::word(165, 1, 0, 0, 138, 0, 0, 0),
4480                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4481                crate::word(168, 1, 0, 0, 3, 0, 1, 0),
4482                crate::word(180, 1, 0, 0, 2, 0, 1, 0),
4483                crate::word(10, 0, 0, 0, 121, 0, 0, 0),
4484                crate::word(0, 0, 1, 0, 28, 0, 0, 0),
4485                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4486                crate::word(177, 1, 0, 0, 114, 0, 0, 0),
4487                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4488                crate::word(176, 1, 0, 0, 3, 0, 1, 0),
4489                crate::word(188, 1, 0, 0, 2, 0, 1, 0),
4490                crate::word(11, 0, 0, 0, 122, 0, 0, 0),
4491                crate::word(0, 0, 1, 0, 29, 0, 0, 0),
4492                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4493                crate::word(185, 1, 0, 0, 106, 0, 0, 0),
4494                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4495                crate::word(184, 1, 0, 0, 3, 0, 1, 0),
4496                crate::word(196, 1, 0, 0, 2, 0, 1, 0),
4497                crate::word(12, 0, 0, 0, 123, 0, 0, 0),
4498                crate::word(0, 0, 1, 0, 30, 0, 0, 0),
4499                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4500                crate::word(193, 1, 0, 0, 146, 0, 0, 0),
4501                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4502                crate::word(196, 1, 0, 0, 3, 0, 1, 0),
4503                crate::word(208, 1, 0, 0, 2, 0, 1, 0),
4504                crate::word(116, 121, 112, 101, 0, 0, 0, 0),
4505                crate::word(16, 0, 0, 0, 0, 0, 0, 0),
4506                crate::word(96, 204, 249, 225, 237, 120, 115, 208),
4507                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4508                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4509                crate::word(16, 0, 0, 0, 0, 0, 0, 0),
4510                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4511                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4512                crate::word(116, 97, 114, 103, 101, 116, 115, 70),
4513                crate::word(105, 108, 101, 0, 0, 0, 0, 0),
4514                crate::word(1, 0, 0, 0, 0, 0, 0, 0),
4515                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4516                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4517                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4518                crate::word(1, 0, 0, 0, 0, 0, 0, 0),
4519                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4520                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4521                crate::word(116, 97, 114, 103, 101, 116, 115, 67),
4522                crate::word(111, 110, 115, 116, 0, 0, 0, 0),
4523                crate::word(1, 0, 0, 0, 0, 0, 0, 0),
4524                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4525                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4526                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4527                crate::word(1, 0, 0, 0, 0, 0, 0, 0),
4528                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4529                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4530                crate::word(116, 97, 114, 103, 101, 116, 115, 69),
4531                crate::word(110, 117, 109, 0, 0, 0, 0, 0),
4532                crate::word(1, 0, 0, 0, 0, 0, 0, 0),
4533                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4534                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4535                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4536                crate::word(1, 0, 0, 0, 0, 0, 0, 0),
4537                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4538                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4539                crate::word(116, 97, 114, 103, 101, 116, 115, 69),
4540                crate::word(110, 117, 109, 101, 114, 97, 110, 116),
4541                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4542                crate::word(1, 0, 0, 0, 0, 0, 0, 0),
4543                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4544                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4545                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4546                crate::word(1, 0, 0, 0, 0, 0, 0, 0),
4547                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4548                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4549                crate::word(116, 97, 114, 103, 101, 116, 115, 83),
4550                crate::word(116, 114, 117, 99, 116, 0, 0, 0),
4551                crate::word(1, 0, 0, 0, 0, 0, 0, 0),
4552                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4553                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4554                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4555                crate::word(1, 0, 0, 0, 0, 0, 0, 0),
4556                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4557                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4558                crate::word(116, 97, 114, 103, 101, 116, 115, 70),
4559                crate::word(105, 101, 108, 100, 0, 0, 0, 0),
4560                crate::word(1, 0, 0, 0, 0, 0, 0, 0),
4561                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4562                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4563                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4564                crate::word(1, 0, 0, 0, 0, 0, 0, 0),
4565                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4566                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4567                crate::word(116, 97, 114, 103, 101, 116, 115, 85),
4568                crate::word(110, 105, 111, 110, 0, 0, 0, 0),
4569                crate::word(1, 0, 0, 0, 0, 0, 0, 0),
4570                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4571                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4572                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4573                crate::word(1, 0, 0, 0, 0, 0, 0, 0),
4574                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4575                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4576                crate::word(116, 97, 114, 103, 101, 116, 115, 71),
4577                crate::word(114, 111, 117, 112, 0, 0, 0, 0),
4578                crate::word(1, 0, 0, 0, 0, 0, 0, 0),
4579                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4580                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4581                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4582                crate::word(1, 0, 0, 0, 0, 0, 0, 0),
4583                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4584                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4585                crate::word(116, 97, 114, 103, 101, 116, 115, 73),
4586                crate::word(110, 116, 101, 114, 102, 97, 99, 101),
4587                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4588                crate::word(1, 0, 0, 0, 0, 0, 0, 0),
4589                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4590                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4591                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4592                crate::word(1, 0, 0, 0, 0, 0, 0, 0),
4593                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4594                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4595                crate::word(116, 97, 114, 103, 101, 116, 115, 77),
4596                crate::word(101, 116, 104, 111, 100, 0, 0, 0),
4597                crate::word(1, 0, 0, 0, 0, 0, 0, 0),
4598                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4599                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4600                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4601                crate::word(1, 0, 0, 0, 0, 0, 0, 0),
4602                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4603                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4604                crate::word(116, 97, 114, 103, 101, 116, 115, 80),
4605                crate::word(97, 114, 97, 109, 0, 0, 0, 0),
4606                crate::word(1, 0, 0, 0, 0, 0, 0, 0),
4607                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4608                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4609                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4610                crate::word(1, 0, 0, 0, 0, 0, 0, 0),
4611                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4612                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4613                crate::word(116, 97, 114, 103, 101, 116, 115, 65),
4614                crate::word(110, 110, 111, 116, 97, 116, 105, 111),
4615                crate::word(110, 0, 0, 0, 0, 0, 0, 0),
4616                crate::word(1, 0, 0, 0, 0, 0, 0, 0),
4617                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4618                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4619                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4620                crate::word(1, 0, 0, 0, 0, 0, 0, 0),
4621                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4622                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
4623            ];
4624            pub(crate) fn get_field_types(index: u16) -> crate::introspect::Type {
4625                match index {
4626                    0 => <crate::schema_capnp::type_::Owned as crate::introspect::Introspect>::introspect(),
4627                    1 => <bool as crate::introspect::Introspect>::introspect(),
4628                    2 => <bool as crate::introspect::Introspect>::introspect(),
4629                    3 => <bool as crate::introspect::Introspect>::introspect(),
4630                    4 => <bool as crate::introspect::Introspect>::introspect(),
4631                    5 => <bool as crate::introspect::Introspect>::introspect(),
4632                    6 => <bool as crate::introspect::Introspect>::introspect(),
4633                    7 => <bool as crate::introspect::Introspect>::introspect(),
4634                    8 => <bool as crate::introspect::Introspect>::introspect(),
4635                    9 => <bool as crate::introspect::Introspect>::introspect(),
4636                    10 => <bool as crate::introspect::Introspect>::introspect(),
4637                    11 => <bool as crate::introspect::Introspect>::introspect(),
4638                    12 => <bool as crate::introspect::Introspect>::introspect(),
4639                    _ => crate::introspect::panic_invalid_field_index(index),
4640                }
4641            }
4642            pub(crate) fn get_annotation_types(
4643                child_index: Option<u16>,
4644                index: u32,
4645            ) -> crate::introspect::Type {
4646                crate::introspect::panic_invalid_annotation_indices(child_index, index)
4647            }
4648            pub(crate) static ARENA: crate::private::arena::GeneratedCodeArena =
4649                crate::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
4650            pub(crate) static RAW_SCHEMA: crate::introspect::RawStructSchema =
4651                crate::introspect::RawStructSchema::new(
4652                    &ARENA,
4653                    NONUNION_MEMBERS,
4654                    MEMBERS_BY_DISCRIMINANT,
4655                    MEMBERS_BY_NAME,
4656                );
4657            pub(crate) static NONUNION_MEMBERS: &[u16] =
4658                &[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
4659            pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[];
4660            pub(crate) static MEMBERS_BY_NAME: &[u16] = &[12, 2, 3, 4, 6, 1, 8, 9, 10, 11, 5, 7, 0];
4661            pub(crate) const TYPE_ID: u64 = 0xec16_19d4_400a_0290;
4662        }
4663    }
4664}
4665
4666pub mod field {
4667    pub use self::Which::{Group, Slot};
4668
4669    #[derive(Copy, Clone)]
4670    pub struct Owned(());
4671    impl crate::introspect::Introspect for Owned {
4672        fn introspect() -> crate::introspect::Type {
4673            crate::introspect::TypeVariant::Struct(crate::introspect::RawBrandedStructSchema {
4674                generic: &_private::RAW_SCHEMA,
4675                field_types: _private::get_field_types,
4676                annotation_types: _private::get_annotation_types,
4677                type_id: ::core::any::TypeId::of::<Owned>(),
4678            })
4679            .into()
4680        }
4681    }
4682    impl crate::traits::Owned for Owned {
4683        type Reader<'a> = Reader<'a>;
4684        type Builder<'a> = Builder<'a>;
4685    }
4686    impl crate::traits::OwnedStruct for Owned {
4687        type Reader<'a> = Reader<'a>;
4688        type Builder<'a> = Builder<'a>;
4689    }
4690    impl crate::traits::Pipelined for Owned {
4691        type Pipeline = Pipeline;
4692    }
4693
4694    pub struct Reader<'a> {
4695        reader: crate::private::layout::StructReader<'a>,
4696    }
4697    impl ::core::marker::Copy for Reader<'_> {}
4698    impl ::core::clone::Clone for Reader<'_> {
4699        fn clone(&self) -> Self {
4700            *self
4701        }
4702    }
4703
4704    impl crate::traits::HasTypeId for Reader<'_> {
4705        const TYPE_ID: u64 = _private::TYPE_ID;
4706    }
4707    impl<'a> ::core::convert::From<crate::private::layout::StructReader<'a>> for Reader<'a> {
4708        fn from(reader: crate::private::layout::StructReader<'a>) -> Self {
4709            Self { reader }
4710        }
4711    }
4712
4713    impl<'a> ::core::convert::From<Reader<'a>> for crate::dynamic_value::Reader<'a> {
4714        fn from(reader: Reader<'a>) -> Self {
4715            Self::Struct(crate::dynamic_struct::Reader::new(
4716                reader.reader,
4717                crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
4718                    generic: &_private::RAW_SCHEMA,
4719                    field_types: _private::get_field_types,
4720                    annotation_types: _private::get_annotation_types,
4721                    type_id: ::core::any::TypeId::of::<Owned>(),
4722                }),
4723            ))
4724        }
4725    }
4726
4727    impl ::core::fmt::Debug for Reader<'_> {
4728        fn fmt(
4729            &self,
4730            f: &mut ::core::fmt::Formatter<'_>,
4731        ) -> ::core::result::Result<(), ::core::fmt::Error> {
4732            core::fmt::Debug::fmt(
4733                &::core::convert::Into::<crate::dynamic_value::Reader<'_>>::into(*self),
4734                f,
4735            )
4736        }
4737    }
4738
4739    impl<'a> crate::traits::FromPointerReader<'a> for Reader<'a> {
4740        fn get_from_pointer(
4741            reader: &crate::private::layout::PointerReader<'a>,
4742            default: ::core::option::Option<&'a [crate::Word]>,
4743        ) -> crate::Result<Self> {
4744            ::core::result::Result::Ok(reader.get_struct(default)?.into())
4745        }
4746    }
4747
4748    impl<'a> crate::traits::IntoInternalStructReader<'a> for Reader<'a> {
4749        fn into_internal_struct_reader(self) -> crate::private::layout::StructReader<'a> {
4750            self.reader
4751        }
4752    }
4753
4754    impl<'a> crate::traits::Imbue<'a> for Reader<'a> {
4755        fn imbue(&mut self, cap_table: &'a crate::private::layout::CapTable) {
4756            self.reader
4757                .imbue(crate::private::layout::CapTableReader::from_ref(cap_table))
4758        }
4759    }
4760
4761    impl<'a> Reader<'a> {
4762        pub fn reborrow(&self) -> Reader<'_> {
4763            Self { ..*self }
4764        }
4765
4766        pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
4767            self.reader.total_size()
4768        }
4769        #[inline]
4770        pub fn get_name(self) -> crate::Result<crate::text::Reader<'a>> {
4771            crate::traits::FromPointerReader::get_from_pointer(
4772                &self.reader.get_pointer_field(0),
4773                ::core::option::Option::None,
4774            )
4775        }
4776        #[inline]
4777        pub fn has_name(&self) -> bool {
4778            !self.reader.get_pointer_field(0).is_null()
4779        }
4780        #[inline]
4781        pub fn get_code_order(self) -> u16 {
4782            self.reader.get_data_field::<u16>(0)
4783        }
4784        #[inline]
4785        pub fn get_annotations(
4786            self,
4787        ) -> crate::Result<crate::struct_list::Reader<'a, crate::schema_capnp::annotation::Owned>>
4788        {
4789            crate::traits::FromPointerReader::get_from_pointer(
4790                &self.reader.get_pointer_field(1),
4791                ::core::option::Option::None,
4792            )
4793        }
4794        #[inline]
4795        pub fn has_annotations(&self) -> bool {
4796            !self.reader.get_pointer_field(1).is_null()
4797        }
4798        #[inline]
4799        pub fn get_discriminant_value(self) -> u16 {
4800            self.reader.get_data_field_mask::<u16>(1, 65535)
4801        }
4802        #[inline]
4803        pub fn get_ordinal(self) -> crate::schema_capnp::field::ordinal::Reader<'a> {
4804            self.reader.into()
4805        }
4806        #[inline]
4807        pub fn get_type_id(self) -> u64 {
4808            self.reader.get_data_field::<u64>(3)
4809        }
4810        #[inline]
4811        pub fn which(self) -> ::core::result::Result<WhichReader<'a>, crate::NotInSchema> {
4812            match self.reader.get_data_field::<u16>(4) {
4813                0 => ::core::result::Result::Ok(Slot(self.reader.into())),
4814                1 => ::core::result::Result::Ok(Group(self.reader.into())),
4815                x => ::core::result::Result::Err(crate::NotInSchema(x)),
4816            }
4817        }
4818    }
4819
4820    pub struct Builder<'a> {
4821        builder: crate::private::layout::StructBuilder<'a>,
4822    }
4823    impl crate::traits::HasStructSize for Builder<'_> {
4824        const STRUCT_SIZE: crate::private::layout::StructSize =
4825            crate::private::layout::StructSize {
4826                data: 4,
4827                pointers: 4,
4828            };
4829    }
4830    impl crate::traits::HasTypeId for Builder<'_> {
4831        const TYPE_ID: u64 = _private::TYPE_ID;
4832    }
4833    impl<'a> ::core::convert::From<crate::private::layout::StructBuilder<'a>> for Builder<'a> {
4834        fn from(builder: crate::private::layout::StructBuilder<'a>) -> Self {
4835            Self { builder }
4836        }
4837    }
4838
4839    impl<'a> crate::traits::IntoInternalStructBuilder<'a> for Builder<'a> {
4840        fn into_internal_struct_builder(self) -> crate::private::layout::StructBuilder<'a> {
4841            self.builder
4842        }
4843    }
4844
4845    impl<'a> ::core::convert::From<Builder<'a>> for crate::dynamic_value::Builder<'a> {
4846        fn from(builder: Builder<'a>) -> Self {
4847            Self::Struct(crate::dynamic_struct::Builder::new(
4848                builder.builder,
4849                crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
4850                    generic: &_private::RAW_SCHEMA,
4851                    field_types: _private::get_field_types,
4852                    annotation_types: _private::get_annotation_types,
4853                    type_id: ::core::any::TypeId::of::<Owned>(),
4854                }),
4855            ))
4856        }
4857    }
4858
4859    impl<'a> crate::traits::ImbueMut<'a> for Builder<'a> {
4860        fn imbue_mut(&mut self, cap_table: &'a mut crate::private::layout::CapTable) {
4861            self.builder
4862                .imbue(crate::private::layout::CapTableBuilder::from_ref(cap_table))
4863        }
4864    }
4865
4866    impl<'a> crate::traits::FromPointerBuilder<'a> for Builder<'a> {
4867        fn init_pointer(builder: crate::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
4868            builder
4869                .init_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE)
4870                .into()
4871        }
4872        fn get_from_pointer(
4873            builder: crate::private::layout::PointerBuilder<'a>,
4874            default: ::core::option::Option<&'a [crate::Word]>,
4875        ) -> crate::Result<Self> {
4876            ::core::result::Result::Ok(
4877                builder
4878                    .get_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE, default)?
4879                    .into(),
4880            )
4881        }
4882    }
4883
4884    impl crate::traits::SetterInput<Owned> for Reader<'_> {
4885        fn set_pointer_builder(
4886            mut pointer: crate::private::layout::PointerBuilder<'_>,
4887            value: Self,
4888            canonicalize: bool,
4889        ) -> crate::Result<()> {
4890            pointer.set_struct(&value.reader, canonicalize)
4891        }
4892    }
4893
4894    impl<'a> Builder<'a> {
4895        pub fn into_reader(self) -> Reader<'a> {
4896            self.builder.into_reader().into()
4897        }
4898        pub fn reborrow(&mut self) -> Builder<'_> {
4899            Builder {
4900                builder: self.builder.reborrow(),
4901            }
4902        }
4903        pub fn reborrow_as_reader(&self) -> Reader<'_> {
4904            self.builder.as_reader().into()
4905        }
4906
4907        pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
4908            self.builder.as_reader().total_size()
4909        }
4910        #[inline]
4911        pub fn get_name(self) -> crate::Result<crate::text::Builder<'a>> {
4912            crate::traits::FromPointerBuilder::get_from_pointer(
4913                self.builder.get_pointer_field(0),
4914                ::core::option::Option::None,
4915            )
4916        }
4917        #[inline]
4918        pub fn set_name(&mut self, value: impl crate::traits::SetterInput<crate::text::Owned>) {
4919            crate::traits::SetterInput::set_pointer_builder(
4920                self.builder.reborrow().get_pointer_field(0),
4921                value,
4922                false,
4923            )
4924            .unwrap()
4925        }
4926        #[inline]
4927        pub fn init_name(self, size: u32) -> crate::text::Builder<'a> {
4928            self.builder.get_pointer_field(0).init_text(size)
4929        }
4930        #[inline]
4931        pub fn has_name(&self) -> bool {
4932            !self.builder.is_pointer_field_null(0)
4933        }
4934        #[inline]
4935        pub fn get_code_order(self) -> u16 {
4936            self.builder.get_data_field::<u16>(0)
4937        }
4938        #[inline]
4939        pub fn set_code_order(&mut self, value: u16) {
4940            self.builder.set_data_field::<u16>(0, value);
4941        }
4942        #[inline]
4943        pub fn get_annotations(
4944            self,
4945        ) -> crate::Result<crate::struct_list::Builder<'a, crate::schema_capnp::annotation::Owned>>
4946        {
4947            crate::traits::FromPointerBuilder::get_from_pointer(
4948                self.builder.get_pointer_field(1),
4949                ::core::option::Option::None,
4950            )
4951        }
4952        #[inline]
4953        pub fn set_annotations(
4954            &mut self,
4955            value: crate::struct_list::Reader<'_, crate::schema_capnp::annotation::Owned>,
4956        ) -> crate::Result<()> {
4957            crate::traits::SetterInput::set_pointer_builder(
4958                self.builder.reborrow().get_pointer_field(1),
4959                value,
4960                false,
4961            )
4962        }
4963        #[inline]
4964        pub fn init_annotations(
4965            self,
4966            size: u32,
4967        ) -> crate::struct_list::Builder<'a, crate::schema_capnp::annotation::Owned> {
4968            crate::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(1), size)
4969        }
4970        #[inline]
4971        pub fn has_annotations(&self) -> bool {
4972            !self.builder.is_pointer_field_null(1)
4973        }
4974        #[inline]
4975        pub fn get_discriminant_value(self) -> u16 {
4976            self.builder.get_data_field_mask::<u16>(1, 65535)
4977        }
4978        #[inline]
4979        pub fn set_discriminant_value(&mut self, value: u16) {
4980            self.builder.set_data_field_mask::<u16>(1, value, 65535);
4981        }
4982        #[inline]
4983        pub fn init_slot(mut self) -> crate::schema_capnp::field::slot::Builder<'a> {
4984            self.builder.set_data_field::<u16>(4, 0);
4985            self.builder.set_data_field::<u32>(1, 0u32);
4986            self.builder.reborrow().get_pointer_field(2).clear();
4987            self.builder.reborrow().get_pointer_field(3).clear();
4988            self.builder.set_bool_field(128, false);
4989            self.builder.into()
4990        }
4991        #[inline]
4992        pub fn init_group(self) -> crate::schema_capnp::field::group::Builder<'a> {
4993            self.builder.set_data_field::<u16>(4, 1);
4994            self.builder.set_data_field::<u64>(2, 0u64);
4995            self.builder.into()
4996        }
4997        #[inline]
4998        pub fn get_ordinal(self) -> crate::schema_capnp::field::ordinal::Builder<'a> {
4999            self.builder.into()
5000        }
5001        #[inline]
5002        pub fn init_ordinal(self) -> crate::schema_capnp::field::ordinal::Builder<'a> {
5003            self.builder.set_data_field::<u16>(5, 0);
5004            self.builder.set_data_field::<u16>(6, 0u16);
5005            self.builder.into()
5006        }
5007        #[inline]
5008        pub fn get_type_id(self) -> u64 {
5009            self.builder.get_data_field::<u64>(3)
5010        }
5011        #[inline]
5012        pub fn set_type_id(&mut self, value: u64) {
5013            self.builder.set_data_field::<u64>(3, value);
5014        }
5015        #[inline]
5016        pub fn which(self) -> ::core::result::Result<WhichBuilder<'a>, crate::NotInSchema> {
5017            match self.builder.get_data_field::<u16>(4) {
5018                0 => ::core::result::Result::Ok(Slot(self.builder.into())),
5019                1 => ::core::result::Result::Ok(Group(self.builder.into())),
5020                x => ::core::result::Result::Err(crate::NotInSchema(x)),
5021            }
5022        }
5023    }
5024
5025    pub struct Pipeline {
5026        _typeless: crate::any_pointer::Pipeline,
5027    }
5028    impl crate::capability::FromTypelessPipeline for Pipeline {
5029        fn new(typeless: crate::any_pointer::Pipeline) -> Self {
5030            Self {
5031                _typeless: typeless,
5032            }
5033        }
5034    }
5035    impl Pipeline {
5036        pub fn get_ordinal(&self) -> crate::schema_capnp::field::ordinal::Pipeline {
5037            crate::capability::FromTypelessPipeline::new(self._typeless.noop())
5038        }
5039    }
5040    mod _private {
5041        pub(crate) static ENCODED_NODE: [crate::Word; 129] = [
5042            crate::word(0, 0, 0, 0, 6, 0, 6, 0),
5043            crate::word(95, 244, 74, 31, 164, 80, 173, 154),
5044            crate::word(13, 0, 0, 0, 1, 0, 4, 0),
5045            crate::word(217, 114, 76, 98, 9, 197, 63, 169),
5046            crate::word(4, 0, 7, 0, 0, 0, 2, 0),
5047            crate::word(4, 0, 0, 0, 0, 0, 0, 0),
5048            crate::word(74, 33, 0, 0, 186, 43, 0, 0),
5049            crate::word(21, 0, 0, 0, 154, 0, 0, 0),
5050            crate::word(29, 0, 0, 0, 23, 0, 0, 0),
5051            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5052            crate::word(41, 0, 0, 0, 199, 1, 0, 0),
5053            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5054            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5055            crate::word(115, 99, 104, 101, 109, 97, 46, 99),
5056            crate::word(97, 112, 110, 112, 58, 70, 105, 101),
5057            crate::word(108, 100, 0, 0, 0, 0, 0, 0),
5058            crate::word(4, 0, 0, 0, 1, 0, 1, 0),
5059            crate::word(18, 199, 254, 124, 190, 76, 177, 151),
5060            crate::word(1, 0, 0, 0, 122, 0, 0, 0),
5061            crate::word(110, 111, 68, 105, 115, 99, 114, 105),
5062            crate::word(109, 105, 110, 97, 110, 116, 0, 0),
5063            crate::word(32, 0, 0, 0, 3, 0, 4, 0),
5064            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5065            crate::word(0, 0, 1, 0, 0, 0, 0, 0),
5066            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5067            crate::word(209, 0, 0, 0, 42, 0, 0, 0),
5068            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5069            crate::word(204, 0, 0, 0, 3, 0, 1, 0),
5070            crate::word(216, 0, 0, 0, 2, 0, 1, 0),
5071            crate::word(1, 0, 0, 0, 0, 0, 0, 0),
5072            crate::word(0, 0, 1, 0, 1, 0, 0, 0),
5073            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5074            crate::word(213, 0, 0, 0, 82, 0, 0, 0),
5075            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5076            crate::word(212, 0, 0, 0, 3, 0, 1, 0),
5077            crate::word(224, 0, 0, 0, 2, 0, 1, 0),
5078            crate::word(2, 0, 0, 0, 1, 0, 0, 0),
5079            crate::word(0, 0, 1, 0, 2, 0, 0, 0),
5080            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5081            crate::word(221, 0, 0, 0, 98, 0, 0, 0),
5082            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5083            crate::word(220, 0, 0, 0, 3, 0, 1, 0),
5084            crate::word(248, 0, 0, 0, 2, 0, 1, 0),
5085            crate::word(3, 0, 0, 0, 1, 0, 0, 0),
5086            crate::word(0, 0, 1, 0, 3, 0, 0, 0),
5087            crate::word(1, 0, 0, 0, 0, 0, 0, 0),
5088            crate::word(245, 0, 0, 0, 146, 0, 0, 0),
5089            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5090            crate::word(248, 0, 0, 0, 3, 0, 1, 0),
5091            crate::word(4, 1, 0, 0, 2, 0, 1, 0),
5092            crate::word(5, 0, 255, 255, 0, 0, 0, 0),
5093            crate::word(1, 0, 0, 0, 0, 0, 0, 0),
5094            crate::word(111, 116, 180, 107, 71, 5, 35, 196),
5095            crate::word(1, 1, 0, 0, 42, 0, 0, 0),
5096            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5097            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5098            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5099            crate::word(6, 0, 254, 255, 0, 0, 0, 0),
5100            crate::word(1, 0, 0, 0, 0, 0, 0, 0),
5101            crate::word(17, 29, 219, 104, 219, 205, 252, 202),
5102            crate::word(233, 0, 0, 0, 50, 0, 0, 0),
5103            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5104            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5105            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5106            crate::word(7, 0, 0, 0, 0, 0, 0, 0),
5107            crate::word(1, 0, 0, 0, 0, 0, 0, 0),
5108            crate::word(230, 11, 135, 135, 194, 213, 144, 187),
5109            crate::word(209, 0, 0, 0, 66, 0, 0, 0),
5110            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5111            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5112            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5113            crate::word(4, 0, 0, 0, 3, 0, 0, 0),
5114            crate::word(0, 0, 1, 0, 11, 0, 0, 0),
5115            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5116            crate::word(185, 0, 0, 0, 58, 0, 0, 0),
5117            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5118            crate::word(180, 0, 0, 0, 3, 0, 1, 0),
5119            crate::word(192, 0, 0, 0, 2, 0, 1, 0),
5120            crate::word(110, 97, 109, 101, 0, 0, 0, 0),
5121            crate::word(12, 0, 0, 0, 0, 0, 0, 0),
5122            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5123            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5124            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5125            crate::word(12, 0, 0, 0, 0, 0, 0, 0),
5126            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5127            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5128            crate::word(99, 111, 100, 101, 79, 114, 100, 101),
5129            crate::word(114, 0, 0, 0, 0, 0, 0, 0),
5130            crate::word(7, 0, 0, 0, 0, 0, 0, 0),
5131            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5132            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5133            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5134            crate::word(7, 0, 0, 0, 0, 0, 0, 0),
5135            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5136            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5137            crate::word(97, 110, 110, 111, 116, 97, 116, 105),
5138            crate::word(111, 110, 115, 0, 0, 0, 0, 0),
5139            crate::word(14, 0, 0, 0, 0, 0, 0, 0),
5140            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5141            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5142            crate::word(0, 0, 0, 0, 3, 0, 1, 0),
5143            crate::word(16, 0, 0, 0, 0, 0, 0, 0),
5144            crate::word(66, 117, 37, 171, 13, 149, 200, 241),
5145            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5146            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5147            crate::word(14, 0, 0, 0, 0, 0, 0, 0),
5148            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5149            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5150            crate::word(100, 105, 115, 99, 114, 105, 109, 105),
5151            crate::word(110, 97, 110, 116, 86, 97, 108, 117),
5152            crate::word(101, 0, 0, 0, 0, 0, 0, 0),
5153            crate::word(7, 0, 0, 0, 0, 0, 0, 0),
5154            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5155            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5156            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5157            crate::word(7, 0, 255, 255, 0, 0, 0, 0),
5158            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5159            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5160            crate::word(115, 108, 111, 116, 0, 0, 0, 0),
5161            crate::word(103, 114, 111, 117, 112, 0, 0, 0),
5162            crate::word(111, 114, 100, 105, 110, 97, 108, 0),
5163            crate::word(116, 121, 112, 101, 73, 100, 0, 0),
5164            crate::word(9, 0, 0, 0, 0, 0, 0, 0),
5165            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5166            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5167            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5168            crate::word(9, 0, 0, 0, 0, 0, 0, 0),
5169            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5170            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5171        ];
5172        pub(crate) fn get_field_types(index: u16) -> crate::introspect::Type {
5173            match index {
5174                0 => <crate::text::Owned as crate::introspect::Introspect>::introspect(),
5175                1 => <u16 as crate::introspect::Introspect>::introspect(),
5176                2 => <crate::struct_list::Owned<crate::schema_capnp::annotation::Owned> as crate::introspect::Introspect>::introspect(),
5177                3 => <u16 as crate::introspect::Introspect>::introspect(),
5178                4 => <crate::schema_capnp::field::slot::Owned as crate::introspect::Introspect>::introspect(),
5179                5 => <crate::schema_capnp::field::group::Owned as crate::introspect::Introspect>::introspect(),
5180                6 => <crate::schema_capnp::field::ordinal::Owned as crate::introspect::Introspect>::introspect(),
5181                7 => <u64 as crate::introspect::Introspect>::introspect(),
5182                _ => crate::introspect::panic_invalid_field_index(index),
5183            }
5184        }
5185        pub(crate) fn get_annotation_types(
5186            child_index: Option<u16>,
5187            index: u32,
5188        ) -> crate::introspect::Type {
5189            crate::introspect::panic_invalid_annotation_indices(child_index, index)
5190        }
5191        pub(crate) static ARENA: crate::private::arena::GeneratedCodeArena =
5192            crate::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
5193        pub(crate) static RAW_SCHEMA: crate::introspect::RawStructSchema =
5194            crate::introspect::RawStructSchema::new(
5195                &ARENA,
5196                NONUNION_MEMBERS,
5197                MEMBERS_BY_DISCRIMINANT,
5198                MEMBERS_BY_NAME,
5199            );
5200        pub(crate) static NONUNION_MEMBERS: &[u16] = &[0, 1, 2, 3, 6, 7];
5201        pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[4, 5];
5202        pub(crate) static MEMBERS_BY_NAME: &[u16] = &[2, 1, 3, 5, 0, 6, 4, 7];
5203        pub(crate) const TYPE_ID: u64 = 0x9aad_50a4_1f4a_f45f;
5204    }
5205    pub enum Which<A0, A1> {
5206        Slot(A0),
5207        Group(A1),
5208    }
5209    pub type WhichReader<'a> = Which<
5210        crate::schema_capnp::field::slot::Reader<'a>,
5211        crate::schema_capnp::field::group::Reader<'a>,
5212    >;
5213    pub type WhichBuilder<'a> = Which<
5214        crate::schema_capnp::field::slot::Builder<'a>,
5215        crate::schema_capnp::field::group::Builder<'a>,
5216    >;
5217    pub const NO_DISCRIMINANT: u16 = 65535;
5218
5219    pub mod slot {
5220        #[derive(Copy, Clone)]
5221        pub struct Owned(());
5222        impl crate::introspect::Introspect for Owned {
5223            fn introspect() -> crate::introspect::Type {
5224                crate::introspect::TypeVariant::Struct(crate::introspect::RawBrandedStructSchema {
5225                    generic: &_private::RAW_SCHEMA,
5226                    field_types: _private::get_field_types,
5227                    annotation_types: _private::get_annotation_types,
5228                    type_id: ::core::any::TypeId::of::<Owned>(),
5229                })
5230                .into()
5231            }
5232        }
5233        impl crate::traits::Owned for Owned {
5234            type Reader<'a> = Reader<'a>;
5235            type Builder<'a> = Builder<'a>;
5236        }
5237        impl crate::traits::OwnedStruct for Owned {
5238            type Reader<'a> = Reader<'a>;
5239            type Builder<'a> = Builder<'a>;
5240        }
5241        impl crate::traits::Pipelined for Owned {
5242            type Pipeline = Pipeline;
5243        }
5244
5245        pub struct Reader<'a> {
5246            reader: crate::private::layout::StructReader<'a>,
5247        }
5248        impl ::core::marker::Copy for Reader<'_> {}
5249        impl ::core::clone::Clone for Reader<'_> {
5250            fn clone(&self) -> Self {
5251                *self
5252            }
5253        }
5254
5255        impl crate::traits::HasTypeId for Reader<'_> {
5256            const TYPE_ID: u64 = _private::TYPE_ID;
5257        }
5258        impl<'a> ::core::convert::From<crate::private::layout::StructReader<'a>> for Reader<'a> {
5259            fn from(reader: crate::private::layout::StructReader<'a>) -> Self {
5260                Self { reader }
5261            }
5262        }
5263
5264        impl<'a> ::core::convert::From<Reader<'a>> for crate::dynamic_value::Reader<'a> {
5265            fn from(reader: Reader<'a>) -> Self {
5266                Self::Struct(crate::dynamic_struct::Reader::new(
5267                    reader.reader,
5268                    crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
5269                        generic: &_private::RAW_SCHEMA,
5270                        field_types: _private::get_field_types,
5271                        annotation_types: _private::get_annotation_types,
5272                        type_id: ::core::any::TypeId::of::<Owned>(),
5273                    }),
5274                ))
5275            }
5276        }
5277
5278        impl ::core::fmt::Debug for Reader<'_> {
5279            fn fmt(
5280                &self,
5281                f: &mut ::core::fmt::Formatter<'_>,
5282            ) -> ::core::result::Result<(), ::core::fmt::Error> {
5283                core::fmt::Debug::fmt(
5284                    &::core::convert::Into::<crate::dynamic_value::Reader<'_>>::into(*self),
5285                    f,
5286                )
5287            }
5288        }
5289
5290        impl<'a> crate::traits::FromPointerReader<'a> for Reader<'a> {
5291            fn get_from_pointer(
5292                reader: &crate::private::layout::PointerReader<'a>,
5293                default: ::core::option::Option<&'a [crate::Word]>,
5294            ) -> crate::Result<Self> {
5295                ::core::result::Result::Ok(reader.get_struct(default)?.into())
5296            }
5297        }
5298
5299        impl<'a> crate::traits::IntoInternalStructReader<'a> for Reader<'a> {
5300            fn into_internal_struct_reader(self) -> crate::private::layout::StructReader<'a> {
5301                self.reader
5302            }
5303        }
5304
5305        impl<'a> crate::traits::Imbue<'a> for Reader<'a> {
5306            fn imbue(&mut self, cap_table: &'a crate::private::layout::CapTable) {
5307                self.reader
5308                    .imbue(crate::private::layout::CapTableReader::from_ref(cap_table))
5309            }
5310        }
5311
5312        impl<'a> Reader<'a> {
5313            pub fn reborrow(&self) -> Reader<'_> {
5314                Self { ..*self }
5315            }
5316
5317            pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
5318                self.reader.total_size()
5319            }
5320            #[inline]
5321            pub fn get_offset(self) -> u32 {
5322                self.reader.get_data_field::<u32>(1)
5323            }
5324            #[inline]
5325            pub fn get_type(self) -> crate::Result<crate::schema_capnp::type_::Reader<'a>> {
5326                crate::traits::FromPointerReader::get_from_pointer(
5327                    &self.reader.get_pointer_field(2),
5328                    ::core::option::Option::None,
5329                )
5330            }
5331            #[inline]
5332            pub fn has_type(&self) -> bool {
5333                !self.reader.get_pointer_field(2).is_null()
5334            }
5335            #[inline]
5336            pub fn get_default_value(
5337                self,
5338            ) -> crate::Result<crate::schema_capnp::value::Reader<'a>> {
5339                crate::traits::FromPointerReader::get_from_pointer(
5340                    &self.reader.get_pointer_field(3),
5341                    ::core::option::Option::None,
5342                )
5343            }
5344            #[inline]
5345            pub fn has_default_value(&self) -> bool {
5346                !self.reader.get_pointer_field(3).is_null()
5347            }
5348            #[inline]
5349            pub fn get_had_explicit_default(self) -> bool {
5350                self.reader.get_bool_field(128)
5351            }
5352        }
5353
5354        pub struct Builder<'a> {
5355            builder: crate::private::layout::StructBuilder<'a>,
5356        }
5357        impl crate::traits::HasStructSize for Builder<'_> {
5358            const STRUCT_SIZE: crate::private::layout::StructSize =
5359                crate::private::layout::StructSize {
5360                    data: 4,
5361                    pointers: 4,
5362                };
5363        }
5364        impl crate::traits::HasTypeId for Builder<'_> {
5365            const TYPE_ID: u64 = _private::TYPE_ID;
5366        }
5367        impl<'a> ::core::convert::From<crate::private::layout::StructBuilder<'a>> for Builder<'a> {
5368            fn from(builder: crate::private::layout::StructBuilder<'a>) -> Self {
5369                Self { builder }
5370            }
5371        }
5372
5373        impl<'a> crate::traits::IntoInternalStructBuilder<'a> for Builder<'a> {
5374            fn into_internal_struct_builder(self) -> crate::private::layout::StructBuilder<'a> {
5375                self.builder
5376            }
5377        }
5378
5379        impl<'a> ::core::convert::From<Builder<'a>> for crate::dynamic_value::Builder<'a> {
5380            fn from(builder: Builder<'a>) -> Self {
5381                Self::Struct(crate::dynamic_struct::Builder::new(
5382                    builder.builder,
5383                    crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
5384                        generic: &_private::RAW_SCHEMA,
5385                        field_types: _private::get_field_types,
5386                        annotation_types: _private::get_annotation_types,
5387                        type_id: ::core::any::TypeId::of::<Owned>(),
5388                    }),
5389                ))
5390            }
5391        }
5392
5393        impl<'a> crate::traits::ImbueMut<'a> for Builder<'a> {
5394            fn imbue_mut(&mut self, cap_table: &'a mut crate::private::layout::CapTable) {
5395                self.builder
5396                    .imbue(crate::private::layout::CapTableBuilder::from_ref(cap_table))
5397            }
5398        }
5399
5400        impl<'a> crate::traits::FromPointerBuilder<'a> for Builder<'a> {
5401            fn init_pointer(
5402                builder: crate::private::layout::PointerBuilder<'a>,
5403                _size: u32,
5404            ) -> Self {
5405                builder
5406                    .init_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE)
5407                    .into()
5408            }
5409            fn get_from_pointer(
5410                builder: crate::private::layout::PointerBuilder<'a>,
5411                default: ::core::option::Option<&'a [crate::Word]>,
5412            ) -> crate::Result<Self> {
5413                ::core::result::Result::Ok(
5414                    builder
5415                        .get_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE, default)?
5416                        .into(),
5417                )
5418            }
5419        }
5420
5421        impl crate::traits::SetterInput<Owned> for Reader<'_> {
5422            fn set_pointer_builder(
5423                mut pointer: crate::private::layout::PointerBuilder<'_>,
5424                value: Self,
5425                canonicalize: bool,
5426            ) -> crate::Result<()> {
5427                pointer.set_struct(&value.reader, canonicalize)
5428            }
5429        }
5430
5431        impl<'a> Builder<'a> {
5432            pub fn into_reader(self) -> Reader<'a> {
5433                self.builder.into_reader().into()
5434            }
5435            pub fn reborrow(&mut self) -> Builder<'_> {
5436                Builder {
5437                    builder: self.builder.reborrow(),
5438                }
5439            }
5440            pub fn reborrow_as_reader(&self) -> Reader<'_> {
5441                self.builder.as_reader().into()
5442            }
5443
5444            pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
5445                self.builder.as_reader().total_size()
5446            }
5447            #[inline]
5448            pub fn get_offset(self) -> u32 {
5449                self.builder.get_data_field::<u32>(1)
5450            }
5451            #[inline]
5452            pub fn set_offset(&mut self, value: u32) {
5453                self.builder.set_data_field::<u32>(1, value);
5454            }
5455            #[inline]
5456            pub fn get_type(self) -> crate::Result<crate::schema_capnp::type_::Builder<'a>> {
5457                crate::traits::FromPointerBuilder::get_from_pointer(
5458                    self.builder.get_pointer_field(2),
5459                    ::core::option::Option::None,
5460                )
5461            }
5462            #[inline]
5463            pub fn set_type(
5464                &mut self,
5465                value: crate::schema_capnp::type_::Reader<'_>,
5466            ) -> crate::Result<()> {
5467                crate::traits::SetterInput::set_pointer_builder(
5468                    self.builder.reborrow().get_pointer_field(2),
5469                    value,
5470                    false,
5471                )
5472            }
5473            #[inline]
5474            pub fn init_type(self) -> crate::schema_capnp::type_::Builder<'a> {
5475                crate::traits::FromPointerBuilder::init_pointer(
5476                    self.builder.get_pointer_field(2),
5477                    0,
5478                )
5479            }
5480            #[inline]
5481            pub fn has_type(&self) -> bool {
5482                !self.builder.is_pointer_field_null(2)
5483            }
5484            #[inline]
5485            pub fn get_default_value(
5486                self,
5487            ) -> crate::Result<crate::schema_capnp::value::Builder<'a>> {
5488                crate::traits::FromPointerBuilder::get_from_pointer(
5489                    self.builder.get_pointer_field(3),
5490                    ::core::option::Option::None,
5491                )
5492            }
5493            #[inline]
5494            pub fn set_default_value(
5495                &mut self,
5496                value: crate::schema_capnp::value::Reader<'_>,
5497            ) -> crate::Result<()> {
5498                crate::traits::SetterInput::set_pointer_builder(
5499                    self.builder.reborrow().get_pointer_field(3),
5500                    value,
5501                    false,
5502                )
5503            }
5504            #[inline]
5505            pub fn init_default_value(self) -> crate::schema_capnp::value::Builder<'a> {
5506                crate::traits::FromPointerBuilder::init_pointer(
5507                    self.builder.get_pointer_field(3),
5508                    0,
5509                )
5510            }
5511            #[inline]
5512            pub fn has_default_value(&self) -> bool {
5513                !self.builder.is_pointer_field_null(3)
5514            }
5515            #[inline]
5516            pub fn get_had_explicit_default(self) -> bool {
5517                self.builder.get_bool_field(128)
5518            }
5519            #[inline]
5520            pub fn set_had_explicit_default(&mut self, value: bool) {
5521                self.builder.set_bool_field(128, value);
5522            }
5523        }
5524
5525        pub struct Pipeline {
5526            _typeless: crate::any_pointer::Pipeline,
5527        }
5528        impl crate::capability::FromTypelessPipeline for Pipeline {
5529            fn new(typeless: crate::any_pointer::Pipeline) -> Self {
5530                Self {
5531                    _typeless: typeless,
5532                }
5533            }
5534        }
5535        impl Pipeline {
5536            pub fn get_type(&self) -> crate::schema_capnp::type_::Pipeline {
5537                crate::capability::FromTypelessPipeline::new(self._typeless.get_pointer_field(2))
5538            }
5539            pub fn get_default_value(&self) -> crate::schema_capnp::value::Pipeline {
5540                crate::capability::FromTypelessPipeline::new(self._typeless.get_pointer_field(3))
5541            }
5542        }
5543        mod _private {
5544            pub(crate) static ENCODED_NODE: [crate::Word; 80] = [
5545                crate::word(0, 0, 0, 0, 6, 0, 6, 0),
5546                crate::word(111, 116, 180, 107, 71, 5, 35, 196),
5547                crate::word(19, 0, 0, 0, 1, 0, 4, 0),
5548                crate::word(95, 244, 74, 31, 164, 80, 173, 154),
5549                crate::word(4, 0, 7, 0, 1, 0, 0, 0),
5550                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5551                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5552                crate::word(21, 0, 0, 0, 194, 0, 0, 0),
5553                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5554                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5555                crate::word(21, 0, 0, 0, 231, 0, 0, 0),
5556                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5557                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5558                crate::word(115, 99, 104, 101, 109, 97, 46, 99),
5559                crate::word(97, 112, 110, 112, 58, 70, 105, 101),
5560                crate::word(108, 100, 46, 115, 108, 111, 116, 0),
5561                crate::word(16, 0, 0, 0, 3, 0, 4, 0),
5562                crate::word(0, 0, 0, 0, 1, 0, 0, 0),
5563                crate::word(0, 0, 1, 0, 4, 0, 0, 0),
5564                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5565                crate::word(97, 0, 0, 0, 58, 0, 0, 0),
5566                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5567                crate::word(92, 0, 0, 0, 3, 0, 1, 0),
5568                crate::word(104, 0, 0, 0, 2, 0, 1, 0),
5569                crate::word(1, 0, 0, 0, 2, 0, 0, 0),
5570                crate::word(0, 0, 1, 0, 5, 0, 0, 0),
5571                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5572                crate::word(101, 0, 0, 0, 42, 0, 0, 0),
5573                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5574                crate::word(96, 0, 0, 0, 3, 0, 1, 0),
5575                crate::word(108, 0, 0, 0, 2, 0, 1, 0),
5576                crate::word(2, 0, 0, 0, 3, 0, 0, 0),
5577                crate::word(0, 0, 1, 0, 6, 0, 0, 0),
5578                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5579                crate::word(105, 0, 0, 0, 106, 0, 0, 0),
5580                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5581                crate::word(104, 0, 0, 0, 3, 0, 1, 0),
5582                crate::word(116, 0, 0, 0, 2, 0, 1, 0),
5583                crate::word(3, 0, 0, 0, 128, 0, 0, 0),
5584                crate::word(0, 0, 1, 0, 10, 0, 0, 0),
5585                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5586                crate::word(113, 0, 0, 0, 154, 0, 0, 0),
5587                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5588                crate::word(116, 0, 0, 0, 3, 0, 1, 0),
5589                crate::word(128, 0, 0, 0, 2, 0, 1, 0),
5590                crate::word(111, 102, 102, 115, 101, 116, 0, 0),
5591                crate::word(8, 0, 0, 0, 0, 0, 0, 0),
5592                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5593                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5594                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5595                crate::word(8, 0, 0, 0, 0, 0, 0, 0),
5596                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5597                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5598                crate::word(116, 121, 112, 101, 0, 0, 0, 0),
5599                crate::word(16, 0, 0, 0, 0, 0, 0, 0),
5600                crate::word(96, 204, 249, 225, 237, 120, 115, 208),
5601                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5602                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5603                crate::word(16, 0, 0, 0, 0, 0, 0, 0),
5604                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5605                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5606                crate::word(100, 101, 102, 97, 117, 108, 116, 86),
5607                crate::word(97, 108, 117, 101, 0, 0, 0, 0),
5608                crate::word(16, 0, 0, 0, 0, 0, 0, 0),
5609                crate::word(155, 12, 176, 215, 210, 220, 35, 206),
5610                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5611                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5612                crate::word(16, 0, 0, 0, 0, 0, 0, 0),
5613                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5614                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5615                crate::word(104, 97, 100, 69, 120, 112, 108, 105),
5616                crate::word(99, 105, 116, 68, 101, 102, 97, 117),
5617                crate::word(108, 116, 0, 0, 0, 0, 0, 0),
5618                crate::word(1, 0, 0, 0, 0, 0, 0, 0),
5619                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5620                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5621                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5622                crate::word(1, 0, 0, 0, 0, 0, 0, 0),
5623                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5624                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5625            ];
5626            pub(crate) fn get_field_types(index: u16) -> crate::introspect::Type {
5627                match index {
5628                    0 => <u32 as crate::introspect::Introspect>::introspect(),
5629                    1 => <crate::schema_capnp::type_::Owned as crate::introspect::Introspect>::introspect(),
5630                    2 => <crate::schema_capnp::value::Owned as crate::introspect::Introspect>::introspect(),
5631                    3 => <bool as crate::introspect::Introspect>::introspect(),
5632                    _ => crate::introspect::panic_invalid_field_index(index),
5633                }
5634            }
5635            pub(crate) fn get_annotation_types(
5636                child_index: Option<u16>,
5637                index: u32,
5638            ) -> crate::introspect::Type {
5639                crate::introspect::panic_invalid_annotation_indices(child_index, index)
5640            }
5641            pub(crate) static ARENA: crate::private::arena::GeneratedCodeArena =
5642                crate::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
5643            pub(crate) static RAW_SCHEMA: crate::introspect::RawStructSchema =
5644                crate::introspect::RawStructSchema::new(
5645                    &ARENA,
5646                    NONUNION_MEMBERS,
5647                    MEMBERS_BY_DISCRIMINANT,
5648                    MEMBERS_BY_NAME,
5649                );
5650            pub(crate) static NONUNION_MEMBERS: &[u16] = &[0, 1, 2, 3];
5651            pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[];
5652            pub(crate) static MEMBERS_BY_NAME: &[u16] = &[2, 3, 0, 1];
5653            pub(crate) const TYPE_ID: u64 = 0xc423_0547_6bb4_746f;
5654        }
5655    }
5656
5657    pub mod group {
5658        #[derive(Copy, Clone)]
5659        pub struct Owned(());
5660        impl crate::introspect::Introspect for Owned {
5661            fn introspect() -> crate::introspect::Type {
5662                crate::introspect::TypeVariant::Struct(crate::introspect::RawBrandedStructSchema {
5663                    generic: &_private::RAW_SCHEMA,
5664                    field_types: _private::get_field_types,
5665                    annotation_types: _private::get_annotation_types,
5666                    type_id: ::core::any::TypeId::of::<Owned>(),
5667                })
5668                .into()
5669            }
5670        }
5671        impl crate::traits::Owned for Owned {
5672            type Reader<'a> = Reader<'a>;
5673            type Builder<'a> = Builder<'a>;
5674        }
5675        impl crate::traits::OwnedStruct for Owned {
5676            type Reader<'a> = Reader<'a>;
5677            type Builder<'a> = Builder<'a>;
5678        }
5679        impl crate::traits::Pipelined for Owned {
5680            type Pipeline = Pipeline;
5681        }
5682
5683        pub struct Reader<'a> {
5684            reader: crate::private::layout::StructReader<'a>,
5685        }
5686        impl ::core::marker::Copy for Reader<'_> {}
5687        impl ::core::clone::Clone for Reader<'_> {
5688            fn clone(&self) -> Self {
5689                *self
5690            }
5691        }
5692
5693        impl crate::traits::HasTypeId for Reader<'_> {
5694            const TYPE_ID: u64 = _private::TYPE_ID;
5695        }
5696        impl<'a> ::core::convert::From<crate::private::layout::StructReader<'a>> for Reader<'a> {
5697            fn from(reader: crate::private::layout::StructReader<'a>) -> Self {
5698                Self { reader }
5699            }
5700        }
5701
5702        impl<'a> ::core::convert::From<Reader<'a>> for crate::dynamic_value::Reader<'a> {
5703            fn from(reader: Reader<'a>) -> Self {
5704                Self::Struct(crate::dynamic_struct::Reader::new(
5705                    reader.reader,
5706                    crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
5707                        generic: &_private::RAW_SCHEMA,
5708                        field_types: _private::get_field_types,
5709                        annotation_types: _private::get_annotation_types,
5710                        type_id: ::core::any::TypeId::of::<Owned>(),
5711                    }),
5712                ))
5713            }
5714        }
5715
5716        impl ::core::fmt::Debug for Reader<'_> {
5717            fn fmt(
5718                &self,
5719                f: &mut ::core::fmt::Formatter<'_>,
5720            ) -> ::core::result::Result<(), ::core::fmt::Error> {
5721                core::fmt::Debug::fmt(
5722                    &::core::convert::Into::<crate::dynamic_value::Reader<'_>>::into(*self),
5723                    f,
5724                )
5725            }
5726        }
5727
5728        impl<'a> crate::traits::FromPointerReader<'a> for Reader<'a> {
5729            fn get_from_pointer(
5730                reader: &crate::private::layout::PointerReader<'a>,
5731                default: ::core::option::Option<&'a [crate::Word]>,
5732            ) -> crate::Result<Self> {
5733                ::core::result::Result::Ok(reader.get_struct(default)?.into())
5734            }
5735        }
5736
5737        impl<'a> crate::traits::IntoInternalStructReader<'a> for Reader<'a> {
5738            fn into_internal_struct_reader(self) -> crate::private::layout::StructReader<'a> {
5739                self.reader
5740            }
5741        }
5742
5743        impl<'a> crate::traits::Imbue<'a> for Reader<'a> {
5744            fn imbue(&mut self, cap_table: &'a crate::private::layout::CapTable) {
5745                self.reader
5746                    .imbue(crate::private::layout::CapTableReader::from_ref(cap_table))
5747            }
5748        }
5749
5750        impl Reader<'_> {
5751            pub fn reborrow(&self) -> Reader<'_> {
5752                Self { ..*self }
5753            }
5754
5755            pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
5756                self.reader.total_size()
5757            }
5758            #[inline]
5759            pub fn get_type_id(self) -> u64 {
5760                self.reader.get_data_field::<u64>(2)
5761            }
5762        }
5763
5764        pub struct Builder<'a> {
5765            builder: crate::private::layout::StructBuilder<'a>,
5766        }
5767        impl crate::traits::HasStructSize for Builder<'_> {
5768            const STRUCT_SIZE: crate::private::layout::StructSize =
5769                crate::private::layout::StructSize {
5770                    data: 4,
5771                    pointers: 4,
5772                };
5773        }
5774        impl crate::traits::HasTypeId for Builder<'_> {
5775            const TYPE_ID: u64 = _private::TYPE_ID;
5776        }
5777        impl<'a> ::core::convert::From<crate::private::layout::StructBuilder<'a>> for Builder<'a> {
5778            fn from(builder: crate::private::layout::StructBuilder<'a>) -> Self {
5779                Self { builder }
5780            }
5781        }
5782
5783        impl<'a> crate::traits::IntoInternalStructBuilder<'a> for Builder<'a> {
5784            fn into_internal_struct_builder(self) -> crate::private::layout::StructBuilder<'a> {
5785                self.builder
5786            }
5787        }
5788
5789        impl<'a> ::core::convert::From<Builder<'a>> for crate::dynamic_value::Builder<'a> {
5790            fn from(builder: Builder<'a>) -> Self {
5791                Self::Struct(crate::dynamic_struct::Builder::new(
5792                    builder.builder,
5793                    crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
5794                        generic: &_private::RAW_SCHEMA,
5795                        field_types: _private::get_field_types,
5796                        annotation_types: _private::get_annotation_types,
5797                        type_id: ::core::any::TypeId::of::<Owned>(),
5798                    }),
5799                ))
5800            }
5801        }
5802
5803        impl<'a> crate::traits::ImbueMut<'a> for Builder<'a> {
5804            fn imbue_mut(&mut self, cap_table: &'a mut crate::private::layout::CapTable) {
5805                self.builder
5806                    .imbue(crate::private::layout::CapTableBuilder::from_ref(cap_table))
5807            }
5808        }
5809
5810        impl<'a> crate::traits::FromPointerBuilder<'a> for Builder<'a> {
5811            fn init_pointer(
5812                builder: crate::private::layout::PointerBuilder<'a>,
5813                _size: u32,
5814            ) -> Self {
5815                builder
5816                    .init_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE)
5817                    .into()
5818            }
5819            fn get_from_pointer(
5820                builder: crate::private::layout::PointerBuilder<'a>,
5821                default: ::core::option::Option<&'a [crate::Word]>,
5822            ) -> crate::Result<Self> {
5823                ::core::result::Result::Ok(
5824                    builder
5825                        .get_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE, default)?
5826                        .into(),
5827                )
5828            }
5829        }
5830
5831        impl crate::traits::SetterInput<Owned> for Reader<'_> {
5832            fn set_pointer_builder(
5833                mut pointer: crate::private::layout::PointerBuilder<'_>,
5834                value: Self,
5835                canonicalize: bool,
5836            ) -> crate::Result<()> {
5837                pointer.set_struct(&value.reader, canonicalize)
5838            }
5839        }
5840
5841        impl<'a> Builder<'a> {
5842            pub fn into_reader(self) -> Reader<'a> {
5843                self.builder.into_reader().into()
5844            }
5845            pub fn reborrow(&mut self) -> Builder<'_> {
5846                Builder {
5847                    builder: self.builder.reborrow(),
5848                }
5849            }
5850            pub fn reborrow_as_reader(&self) -> Reader<'_> {
5851                self.builder.as_reader().into()
5852            }
5853
5854            pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
5855                self.builder.as_reader().total_size()
5856            }
5857            #[inline]
5858            pub fn get_type_id(self) -> u64 {
5859                self.builder.get_data_field::<u64>(2)
5860            }
5861            #[inline]
5862            pub fn set_type_id(&mut self, value: u64) {
5863                self.builder.set_data_field::<u64>(2, value);
5864            }
5865        }
5866
5867        pub struct Pipeline {
5868            _typeless: crate::any_pointer::Pipeline,
5869        }
5870        impl crate::capability::FromTypelessPipeline for Pipeline {
5871            fn new(typeless: crate::any_pointer::Pipeline) -> Self {
5872                Self {
5873                    _typeless: typeless,
5874                }
5875            }
5876        }
5877        impl Pipeline {}
5878        mod _private {
5879            pub(crate) static ENCODED_NODE: [crate::Word; 33] = [
5880                crate::word(0, 0, 0, 0, 6, 0, 6, 0),
5881                crate::word(17, 29, 219, 104, 219, 205, 252, 202),
5882                crate::word(19, 0, 0, 0, 1, 0, 4, 0),
5883                crate::word(95, 244, 74, 31, 164, 80, 173, 154),
5884                crate::word(4, 0, 7, 0, 1, 0, 0, 0),
5885                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5886                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5887                crate::word(21, 0, 0, 0, 202, 0, 0, 0),
5888                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5889                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5890                crate::word(25, 0, 0, 0, 63, 0, 0, 0),
5891                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5892                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5893                crate::word(115, 99, 104, 101, 109, 97, 46, 99),
5894                crate::word(97, 112, 110, 112, 58, 70, 105, 101),
5895                crate::word(108, 100, 46, 103, 114, 111, 117, 112),
5896                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5897                crate::word(4, 0, 0, 0, 3, 0, 4, 0),
5898                crate::word(0, 0, 0, 0, 2, 0, 0, 0),
5899                crate::word(0, 0, 1, 0, 7, 0, 0, 0),
5900                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5901                crate::word(13, 0, 0, 0, 58, 0, 0, 0),
5902                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5903                crate::word(8, 0, 0, 0, 3, 0, 1, 0),
5904                crate::word(20, 0, 0, 0, 2, 0, 1, 0),
5905                crate::word(116, 121, 112, 101, 73, 100, 0, 0),
5906                crate::word(9, 0, 0, 0, 0, 0, 0, 0),
5907                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5908                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5909                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5910                crate::word(9, 0, 0, 0, 0, 0, 0, 0),
5911                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5912                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
5913            ];
5914            pub(crate) fn get_field_types(index: u16) -> crate::introspect::Type {
5915                match index {
5916                    0 => <u64 as crate::introspect::Introspect>::introspect(),
5917                    _ => crate::introspect::panic_invalid_field_index(index),
5918                }
5919            }
5920            pub(crate) fn get_annotation_types(
5921                child_index: Option<u16>,
5922                index: u32,
5923            ) -> crate::introspect::Type {
5924                crate::introspect::panic_invalid_annotation_indices(child_index, index)
5925            }
5926            pub(crate) static ARENA: crate::private::arena::GeneratedCodeArena =
5927                crate::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
5928            pub(crate) static RAW_SCHEMA: crate::introspect::RawStructSchema =
5929                crate::introspect::RawStructSchema::new(
5930                    &ARENA,
5931                    NONUNION_MEMBERS,
5932                    MEMBERS_BY_DISCRIMINANT,
5933                    MEMBERS_BY_NAME,
5934                );
5935            pub(crate) static NONUNION_MEMBERS: &[u16] = &[0];
5936            pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[];
5937            pub(crate) static MEMBERS_BY_NAME: &[u16] = &[0];
5938            pub(crate) const TYPE_ID: u64 = 0xcafc_cddb_68db_1d11;
5939        }
5940    }
5941
5942    pub mod ordinal {
5943        pub use self::Which::{Explicit, Implicit};
5944
5945        #[derive(Copy, Clone)]
5946        pub struct Owned(());
5947        impl crate::introspect::Introspect for Owned {
5948            fn introspect() -> crate::introspect::Type {
5949                crate::introspect::TypeVariant::Struct(crate::introspect::RawBrandedStructSchema {
5950                    generic: &_private::RAW_SCHEMA,
5951                    field_types: _private::get_field_types,
5952                    annotation_types: _private::get_annotation_types,
5953                    type_id: ::core::any::TypeId::of::<Owned>(),
5954                })
5955                .into()
5956            }
5957        }
5958        impl crate::traits::Owned for Owned {
5959            type Reader<'a> = Reader<'a>;
5960            type Builder<'a> = Builder<'a>;
5961        }
5962        impl crate::traits::OwnedStruct for Owned {
5963            type Reader<'a> = Reader<'a>;
5964            type Builder<'a> = Builder<'a>;
5965        }
5966        impl crate::traits::Pipelined for Owned {
5967            type Pipeline = Pipeline;
5968        }
5969
5970        pub struct Reader<'a> {
5971            reader: crate::private::layout::StructReader<'a>,
5972        }
5973        impl ::core::marker::Copy for Reader<'_> {}
5974        impl ::core::clone::Clone for Reader<'_> {
5975            fn clone(&self) -> Self {
5976                *self
5977            }
5978        }
5979
5980        impl crate::traits::HasTypeId for Reader<'_> {
5981            const TYPE_ID: u64 = _private::TYPE_ID;
5982        }
5983        impl<'a> ::core::convert::From<crate::private::layout::StructReader<'a>> for Reader<'a> {
5984            fn from(reader: crate::private::layout::StructReader<'a>) -> Self {
5985                Self { reader }
5986            }
5987        }
5988
5989        impl<'a> ::core::convert::From<Reader<'a>> for crate::dynamic_value::Reader<'a> {
5990            fn from(reader: Reader<'a>) -> Self {
5991                Self::Struct(crate::dynamic_struct::Reader::new(
5992                    reader.reader,
5993                    crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
5994                        generic: &_private::RAW_SCHEMA,
5995                        field_types: _private::get_field_types,
5996                        annotation_types: _private::get_annotation_types,
5997                        type_id: ::core::any::TypeId::of::<Owned>(),
5998                    }),
5999                ))
6000            }
6001        }
6002
6003        impl ::core::fmt::Debug for Reader<'_> {
6004            fn fmt(
6005                &self,
6006                f: &mut ::core::fmt::Formatter<'_>,
6007            ) -> ::core::result::Result<(), ::core::fmt::Error> {
6008                core::fmt::Debug::fmt(
6009                    &::core::convert::Into::<crate::dynamic_value::Reader<'_>>::into(*self),
6010                    f,
6011                )
6012            }
6013        }
6014
6015        impl<'a> crate::traits::FromPointerReader<'a> for Reader<'a> {
6016            fn get_from_pointer(
6017                reader: &crate::private::layout::PointerReader<'a>,
6018                default: ::core::option::Option<&'a [crate::Word]>,
6019            ) -> crate::Result<Self> {
6020                ::core::result::Result::Ok(reader.get_struct(default)?.into())
6021            }
6022        }
6023
6024        impl<'a> crate::traits::IntoInternalStructReader<'a> for Reader<'a> {
6025            fn into_internal_struct_reader(self) -> crate::private::layout::StructReader<'a> {
6026                self.reader
6027            }
6028        }
6029
6030        impl<'a> crate::traits::Imbue<'a> for Reader<'a> {
6031            fn imbue(&mut self, cap_table: &'a crate::private::layout::CapTable) {
6032                self.reader
6033                    .imbue(crate::private::layout::CapTableReader::from_ref(cap_table))
6034            }
6035        }
6036
6037        impl Reader<'_> {
6038            pub fn reborrow(&self) -> Reader<'_> {
6039                Self { ..*self }
6040            }
6041
6042            pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
6043                self.reader.total_size()
6044            }
6045            #[inline]
6046            pub fn which(self) -> ::core::result::Result<WhichReader, crate::NotInSchema> {
6047                match self.reader.get_data_field::<u16>(5) {
6048                    0 => ::core::result::Result::Ok(Implicit(())),
6049                    1 => ::core::result::Result::Ok(Explicit(self.reader.get_data_field::<u16>(6))),
6050                    x => ::core::result::Result::Err(crate::NotInSchema(x)),
6051                }
6052            }
6053        }
6054
6055        pub struct Builder<'a> {
6056            builder: crate::private::layout::StructBuilder<'a>,
6057        }
6058        impl crate::traits::HasStructSize for Builder<'_> {
6059            const STRUCT_SIZE: crate::private::layout::StructSize =
6060                crate::private::layout::StructSize {
6061                    data: 4,
6062                    pointers: 4,
6063                };
6064        }
6065        impl crate::traits::HasTypeId for Builder<'_> {
6066            const TYPE_ID: u64 = _private::TYPE_ID;
6067        }
6068        impl<'a> ::core::convert::From<crate::private::layout::StructBuilder<'a>> for Builder<'a> {
6069            fn from(builder: crate::private::layout::StructBuilder<'a>) -> Self {
6070                Self { builder }
6071            }
6072        }
6073
6074        impl<'a> crate::traits::IntoInternalStructBuilder<'a> for Builder<'a> {
6075            fn into_internal_struct_builder(self) -> crate::private::layout::StructBuilder<'a> {
6076                self.builder
6077            }
6078        }
6079
6080        impl<'a> ::core::convert::From<Builder<'a>> for crate::dynamic_value::Builder<'a> {
6081            fn from(builder: Builder<'a>) -> Self {
6082                Self::Struct(crate::dynamic_struct::Builder::new(
6083                    builder.builder,
6084                    crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
6085                        generic: &_private::RAW_SCHEMA,
6086                        field_types: _private::get_field_types,
6087                        annotation_types: _private::get_annotation_types,
6088                        type_id: ::core::any::TypeId::of::<Owned>(),
6089                    }),
6090                ))
6091            }
6092        }
6093
6094        impl<'a> crate::traits::ImbueMut<'a> for Builder<'a> {
6095            fn imbue_mut(&mut self, cap_table: &'a mut crate::private::layout::CapTable) {
6096                self.builder
6097                    .imbue(crate::private::layout::CapTableBuilder::from_ref(cap_table))
6098            }
6099        }
6100
6101        impl<'a> crate::traits::FromPointerBuilder<'a> for Builder<'a> {
6102            fn init_pointer(
6103                builder: crate::private::layout::PointerBuilder<'a>,
6104                _size: u32,
6105            ) -> Self {
6106                builder
6107                    .init_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE)
6108                    .into()
6109            }
6110            fn get_from_pointer(
6111                builder: crate::private::layout::PointerBuilder<'a>,
6112                default: ::core::option::Option<&'a [crate::Word]>,
6113            ) -> crate::Result<Self> {
6114                ::core::result::Result::Ok(
6115                    builder
6116                        .get_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE, default)?
6117                        .into(),
6118                )
6119            }
6120        }
6121
6122        impl crate::traits::SetterInput<Owned> for Reader<'_> {
6123            fn set_pointer_builder(
6124                mut pointer: crate::private::layout::PointerBuilder<'_>,
6125                value: Self,
6126                canonicalize: bool,
6127            ) -> crate::Result<()> {
6128                pointer.set_struct(&value.reader, canonicalize)
6129            }
6130        }
6131
6132        impl<'a> Builder<'a> {
6133            pub fn into_reader(self) -> Reader<'a> {
6134                self.builder.into_reader().into()
6135            }
6136            pub fn reborrow(&mut self) -> Builder<'_> {
6137                Builder {
6138                    builder: self.builder.reborrow(),
6139                }
6140            }
6141            pub fn reborrow_as_reader(&self) -> Reader<'_> {
6142                self.builder.as_reader().into()
6143            }
6144
6145            pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
6146                self.builder.as_reader().total_size()
6147            }
6148            #[inline]
6149            pub fn set_implicit(&mut self, _value: ()) {
6150                self.builder.set_data_field::<u16>(5, 0);
6151            }
6152            #[inline]
6153            pub fn set_explicit(&mut self, value: u16) {
6154                self.builder.set_data_field::<u16>(5, 1);
6155                self.builder.set_data_field::<u16>(6, value);
6156            }
6157            #[inline]
6158            pub fn which(self) -> ::core::result::Result<WhichBuilder, crate::NotInSchema> {
6159                match self.builder.get_data_field::<u16>(5) {
6160                    0 => ::core::result::Result::Ok(Implicit(())),
6161                    1 => {
6162                        ::core::result::Result::Ok(Explicit(self.builder.get_data_field::<u16>(6)))
6163                    }
6164                    x => ::core::result::Result::Err(crate::NotInSchema(x)),
6165                }
6166            }
6167        }
6168
6169        pub struct Pipeline {
6170            _typeless: crate::any_pointer::Pipeline,
6171        }
6172        impl crate::capability::FromTypelessPipeline for Pipeline {
6173            fn new(typeless: crate::any_pointer::Pipeline) -> Self {
6174                Self {
6175                    _typeless: typeless,
6176                }
6177            }
6178        }
6179        impl Pipeline {}
6180        mod _private {
6181            pub(crate) static ENCODED_NODE: [crate::Word; 50] = [
6182                crate::word(0, 0, 0, 0, 6, 0, 6, 0),
6183                crate::word(230, 11, 135, 135, 194, 213, 144, 187),
6184                crate::word(19, 0, 0, 0, 1, 0, 4, 0),
6185                crate::word(95, 244, 74, 31, 164, 80, 173, 154),
6186                crate::word(4, 0, 7, 0, 1, 0, 2, 0),
6187                crate::word(5, 0, 0, 0, 0, 0, 0, 0),
6188                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6189                crate::word(21, 0, 0, 0, 218, 0, 0, 0),
6190                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6191                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6192                crate::word(25, 0, 0, 0, 119, 0, 0, 0),
6193                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6194                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6195                crate::word(115, 99, 104, 101, 109, 97, 46, 99),
6196                crate::word(97, 112, 110, 112, 58, 70, 105, 101),
6197                crate::word(108, 100, 46, 111, 114, 100, 105, 110),
6198                crate::word(97, 108, 0, 0, 0, 0, 0, 0),
6199                crate::word(8, 0, 0, 0, 3, 0, 4, 0),
6200                crate::word(0, 0, 255, 255, 0, 0, 0, 0),
6201                crate::word(0, 0, 1, 0, 8, 0, 0, 0),
6202                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6203                crate::word(41, 0, 0, 0, 74, 0, 0, 0),
6204                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6205                crate::word(40, 0, 0, 0, 3, 0, 1, 0),
6206                crate::word(52, 0, 0, 0, 2, 0, 1, 0),
6207                crate::word(1, 0, 254, 255, 6, 0, 0, 0),
6208                crate::word(0, 0, 1, 0, 9, 0, 0, 0),
6209                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6210                crate::word(49, 0, 0, 0, 74, 0, 0, 0),
6211                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6212                crate::word(48, 0, 0, 0, 3, 0, 1, 0),
6213                crate::word(60, 0, 0, 0, 2, 0, 1, 0),
6214                crate::word(105, 109, 112, 108, 105, 99, 105, 116),
6215                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6216                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6217                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6218                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6219                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6220                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6221                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6222                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6223                crate::word(101, 120, 112, 108, 105, 99, 105, 116),
6224                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6225                crate::word(7, 0, 0, 0, 0, 0, 0, 0),
6226                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6227                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6228                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6229                crate::word(7, 0, 0, 0, 0, 0, 0, 0),
6230                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6231                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6232            ];
6233            pub(crate) fn get_field_types(index: u16) -> crate::introspect::Type {
6234                match index {
6235                    0 => <() as crate::introspect::Introspect>::introspect(),
6236                    1 => <u16 as crate::introspect::Introspect>::introspect(),
6237                    _ => crate::introspect::panic_invalid_field_index(index),
6238                }
6239            }
6240            pub(crate) fn get_annotation_types(
6241                child_index: Option<u16>,
6242                index: u32,
6243            ) -> crate::introspect::Type {
6244                crate::introspect::panic_invalid_annotation_indices(child_index, index)
6245            }
6246            pub(crate) static ARENA: crate::private::arena::GeneratedCodeArena =
6247                crate::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
6248            pub(crate) static RAW_SCHEMA: crate::introspect::RawStructSchema =
6249                crate::introspect::RawStructSchema::new(
6250                    &ARENA,
6251                    NONUNION_MEMBERS,
6252                    MEMBERS_BY_DISCRIMINANT,
6253                    MEMBERS_BY_NAME,
6254                );
6255            pub(crate) static NONUNION_MEMBERS: &[u16] = &[];
6256            pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[0, 1];
6257            pub(crate) static MEMBERS_BY_NAME: &[u16] = &[1, 0];
6258            pub(crate) const TYPE_ID: u64 = 0xbb90_d5c2_8787_0be6;
6259        }
6260        pub enum Which {
6261            Implicit(()),
6262            Explicit(u16),
6263        }
6264        pub type WhichReader = Which;
6265        pub type WhichBuilder = Which;
6266    }
6267}
6268
6269pub mod enumerant {
6270    #[derive(Copy, Clone)]
6271    pub struct Owned(());
6272    impl crate::introspect::Introspect for Owned {
6273        fn introspect() -> crate::introspect::Type {
6274            crate::introspect::TypeVariant::Struct(crate::introspect::RawBrandedStructSchema {
6275                generic: &_private::RAW_SCHEMA,
6276                field_types: _private::get_field_types,
6277                annotation_types: _private::get_annotation_types,
6278                type_id: ::core::any::TypeId::of::<Owned>(),
6279            })
6280            .into()
6281        }
6282    }
6283    impl crate::traits::Owned for Owned {
6284        type Reader<'a> = Reader<'a>;
6285        type Builder<'a> = Builder<'a>;
6286    }
6287    impl crate::traits::OwnedStruct for Owned {
6288        type Reader<'a> = Reader<'a>;
6289        type Builder<'a> = Builder<'a>;
6290    }
6291    impl crate::traits::Pipelined for Owned {
6292        type Pipeline = Pipeline;
6293    }
6294
6295    pub struct Reader<'a> {
6296        reader: crate::private::layout::StructReader<'a>,
6297    }
6298    impl ::core::marker::Copy for Reader<'_> {}
6299    impl ::core::clone::Clone for Reader<'_> {
6300        fn clone(&self) -> Self {
6301            *self
6302        }
6303    }
6304
6305    impl crate::traits::HasTypeId for Reader<'_> {
6306        const TYPE_ID: u64 = _private::TYPE_ID;
6307    }
6308    impl<'a> ::core::convert::From<crate::private::layout::StructReader<'a>> for Reader<'a> {
6309        fn from(reader: crate::private::layout::StructReader<'a>) -> Self {
6310            Self { reader }
6311        }
6312    }
6313
6314    impl<'a> ::core::convert::From<Reader<'a>> for crate::dynamic_value::Reader<'a> {
6315        fn from(reader: Reader<'a>) -> Self {
6316            Self::Struct(crate::dynamic_struct::Reader::new(
6317                reader.reader,
6318                crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
6319                    generic: &_private::RAW_SCHEMA,
6320                    field_types: _private::get_field_types,
6321                    annotation_types: _private::get_annotation_types,
6322                    type_id: ::core::any::TypeId::of::<Owned>(),
6323                }),
6324            ))
6325        }
6326    }
6327
6328    impl ::core::fmt::Debug for Reader<'_> {
6329        fn fmt(
6330            &self,
6331            f: &mut ::core::fmt::Formatter<'_>,
6332        ) -> ::core::result::Result<(), ::core::fmt::Error> {
6333            core::fmt::Debug::fmt(
6334                &::core::convert::Into::<crate::dynamic_value::Reader<'_>>::into(*self),
6335                f,
6336            )
6337        }
6338    }
6339
6340    impl<'a> crate::traits::FromPointerReader<'a> for Reader<'a> {
6341        fn get_from_pointer(
6342            reader: &crate::private::layout::PointerReader<'a>,
6343            default: ::core::option::Option<&'a [crate::Word]>,
6344        ) -> crate::Result<Self> {
6345            ::core::result::Result::Ok(reader.get_struct(default)?.into())
6346        }
6347    }
6348
6349    impl<'a> crate::traits::IntoInternalStructReader<'a> for Reader<'a> {
6350        fn into_internal_struct_reader(self) -> crate::private::layout::StructReader<'a> {
6351            self.reader
6352        }
6353    }
6354
6355    impl<'a> crate::traits::Imbue<'a> for Reader<'a> {
6356        fn imbue(&mut self, cap_table: &'a crate::private::layout::CapTable) {
6357            self.reader
6358                .imbue(crate::private::layout::CapTableReader::from_ref(cap_table))
6359        }
6360    }
6361
6362    impl<'a> Reader<'a> {
6363        pub fn reborrow(&self) -> Reader<'_> {
6364            Self { ..*self }
6365        }
6366
6367        pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
6368            self.reader.total_size()
6369        }
6370        #[inline]
6371        pub fn get_name(self) -> crate::Result<crate::text::Reader<'a>> {
6372            crate::traits::FromPointerReader::get_from_pointer(
6373                &self.reader.get_pointer_field(0),
6374                ::core::option::Option::None,
6375            )
6376        }
6377        #[inline]
6378        pub fn has_name(&self) -> bool {
6379            !self.reader.get_pointer_field(0).is_null()
6380        }
6381        #[inline]
6382        pub fn get_code_order(self) -> u16 {
6383            self.reader.get_data_field::<u16>(0)
6384        }
6385        #[inline]
6386        pub fn get_annotations(
6387            self,
6388        ) -> crate::Result<crate::struct_list::Reader<'a, crate::schema_capnp::annotation::Owned>>
6389        {
6390            crate::traits::FromPointerReader::get_from_pointer(
6391                &self.reader.get_pointer_field(1),
6392                ::core::option::Option::None,
6393            )
6394        }
6395        #[inline]
6396        pub fn has_annotations(&self) -> bool {
6397            !self.reader.get_pointer_field(1).is_null()
6398        }
6399    }
6400
6401    pub struct Builder<'a> {
6402        builder: crate::private::layout::StructBuilder<'a>,
6403    }
6404    impl crate::traits::HasStructSize for Builder<'_> {
6405        const STRUCT_SIZE: crate::private::layout::StructSize =
6406            crate::private::layout::StructSize {
6407                data: 1,
6408                pointers: 2,
6409            };
6410    }
6411    impl crate::traits::HasTypeId for Builder<'_> {
6412        const TYPE_ID: u64 = _private::TYPE_ID;
6413    }
6414    impl<'a> ::core::convert::From<crate::private::layout::StructBuilder<'a>> for Builder<'a> {
6415        fn from(builder: crate::private::layout::StructBuilder<'a>) -> Self {
6416            Self { builder }
6417        }
6418    }
6419
6420    impl<'a> crate::traits::IntoInternalStructBuilder<'a> for Builder<'a> {
6421        fn into_internal_struct_builder(self) -> crate::private::layout::StructBuilder<'a> {
6422            self.builder
6423        }
6424    }
6425
6426    impl<'a> ::core::convert::From<Builder<'a>> for crate::dynamic_value::Builder<'a> {
6427        fn from(builder: Builder<'a>) -> Self {
6428            Self::Struct(crate::dynamic_struct::Builder::new(
6429                builder.builder,
6430                crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
6431                    generic: &_private::RAW_SCHEMA,
6432                    field_types: _private::get_field_types,
6433                    annotation_types: _private::get_annotation_types,
6434                    type_id: ::core::any::TypeId::of::<Owned>(),
6435                }),
6436            ))
6437        }
6438    }
6439
6440    impl<'a> crate::traits::ImbueMut<'a> for Builder<'a> {
6441        fn imbue_mut(&mut self, cap_table: &'a mut crate::private::layout::CapTable) {
6442            self.builder
6443                .imbue(crate::private::layout::CapTableBuilder::from_ref(cap_table))
6444        }
6445    }
6446
6447    impl<'a> crate::traits::FromPointerBuilder<'a> for Builder<'a> {
6448        fn init_pointer(builder: crate::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
6449            builder
6450                .init_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE)
6451                .into()
6452        }
6453        fn get_from_pointer(
6454            builder: crate::private::layout::PointerBuilder<'a>,
6455            default: ::core::option::Option<&'a [crate::Word]>,
6456        ) -> crate::Result<Self> {
6457            ::core::result::Result::Ok(
6458                builder
6459                    .get_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE, default)?
6460                    .into(),
6461            )
6462        }
6463    }
6464
6465    impl crate::traits::SetterInput<Owned> for Reader<'_> {
6466        fn set_pointer_builder(
6467            mut pointer: crate::private::layout::PointerBuilder<'_>,
6468            value: Self,
6469            canonicalize: bool,
6470        ) -> crate::Result<()> {
6471            pointer.set_struct(&value.reader, canonicalize)
6472        }
6473    }
6474
6475    impl<'a> Builder<'a> {
6476        pub fn into_reader(self) -> Reader<'a> {
6477            self.builder.into_reader().into()
6478        }
6479        pub fn reborrow(&mut self) -> Builder<'_> {
6480            Builder {
6481                builder: self.builder.reborrow(),
6482            }
6483        }
6484        pub fn reborrow_as_reader(&self) -> Reader<'_> {
6485            self.builder.as_reader().into()
6486        }
6487
6488        pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
6489            self.builder.as_reader().total_size()
6490        }
6491        #[inline]
6492        pub fn get_name(self) -> crate::Result<crate::text::Builder<'a>> {
6493            crate::traits::FromPointerBuilder::get_from_pointer(
6494                self.builder.get_pointer_field(0),
6495                ::core::option::Option::None,
6496            )
6497        }
6498        #[inline]
6499        pub fn set_name(&mut self, value: impl crate::traits::SetterInput<crate::text::Owned>) {
6500            crate::traits::SetterInput::set_pointer_builder(
6501                self.builder.reborrow().get_pointer_field(0),
6502                value,
6503                false,
6504            )
6505            .unwrap()
6506        }
6507        #[inline]
6508        pub fn init_name(self, size: u32) -> crate::text::Builder<'a> {
6509            self.builder.get_pointer_field(0).init_text(size)
6510        }
6511        #[inline]
6512        pub fn has_name(&self) -> bool {
6513            !self.builder.is_pointer_field_null(0)
6514        }
6515        #[inline]
6516        pub fn get_code_order(self) -> u16 {
6517            self.builder.get_data_field::<u16>(0)
6518        }
6519        #[inline]
6520        pub fn set_code_order(&mut self, value: u16) {
6521            self.builder.set_data_field::<u16>(0, value);
6522        }
6523        #[inline]
6524        pub fn get_annotations(
6525            self,
6526        ) -> crate::Result<crate::struct_list::Builder<'a, crate::schema_capnp::annotation::Owned>>
6527        {
6528            crate::traits::FromPointerBuilder::get_from_pointer(
6529                self.builder.get_pointer_field(1),
6530                ::core::option::Option::None,
6531            )
6532        }
6533        #[inline]
6534        pub fn set_annotations(
6535            &mut self,
6536            value: crate::struct_list::Reader<'_, crate::schema_capnp::annotation::Owned>,
6537        ) -> crate::Result<()> {
6538            crate::traits::SetterInput::set_pointer_builder(
6539                self.builder.reborrow().get_pointer_field(1),
6540                value,
6541                false,
6542            )
6543        }
6544        #[inline]
6545        pub fn init_annotations(
6546            self,
6547            size: u32,
6548        ) -> crate::struct_list::Builder<'a, crate::schema_capnp::annotation::Owned> {
6549            crate::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(1), size)
6550        }
6551        #[inline]
6552        pub fn has_annotations(&self) -> bool {
6553            !self.builder.is_pointer_field_null(1)
6554        }
6555    }
6556
6557    pub struct Pipeline {
6558        _typeless: crate::any_pointer::Pipeline,
6559    }
6560    impl crate::capability::FromTypelessPipeline for Pipeline {
6561        fn new(typeless: crate::any_pointer::Pipeline) -> Self {
6562            Self {
6563                _typeless: typeless,
6564            }
6565        }
6566    }
6567    impl Pipeline {}
6568    mod _private {
6569        pub(crate) static ENCODED_NODE: [crate::Word; 69] = [
6570            crate::word(0, 0, 0, 0, 6, 0, 6, 0),
6571            crate::word(77, 154, 84, 220, 235, 124, 138, 151),
6572            crate::word(13, 0, 0, 0, 1, 0, 1, 0),
6573            crate::word(217, 114, 76, 98, 9, 197, 63, 169),
6574            crate::word(2, 0, 7, 0, 0, 0, 0, 0),
6575            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6576            crate::word(188, 43, 0, 0, 170, 44, 0, 0),
6577            crate::word(21, 0, 0, 0, 186, 0, 0, 0),
6578            crate::word(29, 0, 0, 0, 7, 0, 0, 0),
6579            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6580            crate::word(25, 0, 0, 0, 175, 0, 0, 0),
6581            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6582            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6583            crate::word(115, 99, 104, 101, 109, 97, 46, 99),
6584            crate::word(97, 112, 110, 112, 58, 69, 110, 117),
6585            crate::word(109, 101, 114, 97, 110, 116, 0, 0),
6586            crate::word(0, 0, 0, 0, 1, 0, 1, 0),
6587            crate::word(12, 0, 0, 0, 3, 0, 4, 0),
6588            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6589            crate::word(0, 0, 1, 0, 0, 0, 0, 0),
6590            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6591            crate::word(69, 0, 0, 0, 42, 0, 0, 0),
6592            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6593            crate::word(64, 0, 0, 0, 3, 0, 1, 0),
6594            crate::word(76, 0, 0, 0, 2, 0, 1, 0),
6595            crate::word(1, 0, 0, 0, 0, 0, 0, 0),
6596            crate::word(0, 0, 1, 0, 1, 0, 0, 0),
6597            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6598            crate::word(73, 0, 0, 0, 82, 0, 0, 0),
6599            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6600            crate::word(72, 0, 0, 0, 3, 0, 1, 0),
6601            crate::word(84, 0, 0, 0, 2, 0, 1, 0),
6602            crate::word(2, 0, 0, 0, 1, 0, 0, 0),
6603            crate::word(0, 0, 1, 0, 2, 0, 0, 0),
6604            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6605            crate::word(81, 0, 0, 0, 98, 0, 0, 0),
6606            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6607            crate::word(80, 0, 0, 0, 3, 0, 1, 0),
6608            crate::word(108, 0, 0, 0, 2, 0, 1, 0),
6609            crate::word(110, 97, 109, 101, 0, 0, 0, 0),
6610            crate::word(12, 0, 0, 0, 0, 0, 0, 0),
6611            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6612            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6613            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6614            crate::word(12, 0, 0, 0, 0, 0, 0, 0),
6615            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6616            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6617            crate::word(99, 111, 100, 101, 79, 114, 100, 101),
6618            crate::word(114, 0, 0, 0, 0, 0, 0, 0),
6619            crate::word(7, 0, 0, 0, 0, 0, 0, 0),
6620            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6621            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6622            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6623            crate::word(7, 0, 0, 0, 0, 0, 0, 0),
6624            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6625            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6626            crate::word(97, 110, 110, 111, 116, 97, 116, 105),
6627            crate::word(111, 110, 115, 0, 0, 0, 0, 0),
6628            crate::word(14, 0, 0, 0, 0, 0, 0, 0),
6629            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6630            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6631            crate::word(0, 0, 0, 0, 3, 0, 1, 0),
6632            crate::word(16, 0, 0, 0, 0, 0, 0, 0),
6633            crate::word(66, 117, 37, 171, 13, 149, 200, 241),
6634            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6635            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6636            crate::word(14, 0, 0, 0, 0, 0, 0, 0),
6637            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6638            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6639        ];
6640        pub(crate) fn get_field_types(index: u16) -> crate::introspect::Type {
6641            match index {
6642                0 => <crate::text::Owned as crate::introspect::Introspect>::introspect(),
6643                1 => <u16 as crate::introspect::Introspect>::introspect(),
6644                2 => <crate::struct_list::Owned<crate::schema_capnp::annotation::Owned> as crate::introspect::Introspect>::introspect(),
6645                _ => crate::introspect::panic_invalid_field_index(index),
6646            }
6647        }
6648        pub(crate) fn get_annotation_types(
6649            child_index: Option<u16>,
6650            index: u32,
6651        ) -> crate::introspect::Type {
6652            crate::introspect::panic_invalid_annotation_indices(child_index, index)
6653        }
6654        pub(crate) static ARENA: crate::private::arena::GeneratedCodeArena =
6655            crate::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
6656        pub(crate) static RAW_SCHEMA: crate::introspect::RawStructSchema =
6657            crate::introspect::RawStructSchema::new(
6658                &ARENA,
6659                NONUNION_MEMBERS,
6660                MEMBERS_BY_DISCRIMINANT,
6661                MEMBERS_BY_NAME,
6662            );
6663        pub(crate) static NONUNION_MEMBERS: &[u16] = &[0, 1, 2];
6664        pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[];
6665        pub(crate) static MEMBERS_BY_NAME: &[u16] = &[2, 1, 0];
6666        pub(crate) const TYPE_ID: u64 = 0x978a_7ceb_dc54_9a4d;
6667    }
6668}
6669
6670pub mod superclass {
6671    #[derive(Copy, Clone)]
6672    pub struct Owned(());
6673    impl crate::introspect::Introspect for Owned {
6674        fn introspect() -> crate::introspect::Type {
6675            crate::introspect::TypeVariant::Struct(crate::introspect::RawBrandedStructSchema {
6676                generic: &_private::RAW_SCHEMA,
6677                field_types: _private::get_field_types,
6678                annotation_types: _private::get_annotation_types,
6679                type_id: ::core::any::TypeId::of::<Owned>(),
6680            })
6681            .into()
6682        }
6683    }
6684    impl crate::traits::Owned for Owned {
6685        type Reader<'a> = Reader<'a>;
6686        type Builder<'a> = Builder<'a>;
6687    }
6688    impl crate::traits::OwnedStruct for Owned {
6689        type Reader<'a> = Reader<'a>;
6690        type Builder<'a> = Builder<'a>;
6691    }
6692    impl crate::traits::Pipelined for Owned {
6693        type Pipeline = Pipeline;
6694    }
6695
6696    pub struct Reader<'a> {
6697        reader: crate::private::layout::StructReader<'a>,
6698    }
6699    impl ::core::marker::Copy for Reader<'_> {}
6700    impl ::core::clone::Clone for Reader<'_> {
6701        fn clone(&self) -> Self {
6702            *self
6703        }
6704    }
6705
6706    impl crate::traits::HasTypeId for Reader<'_> {
6707        const TYPE_ID: u64 = _private::TYPE_ID;
6708    }
6709    impl<'a> ::core::convert::From<crate::private::layout::StructReader<'a>> for Reader<'a> {
6710        fn from(reader: crate::private::layout::StructReader<'a>) -> Self {
6711            Self { reader }
6712        }
6713    }
6714
6715    impl<'a> ::core::convert::From<Reader<'a>> for crate::dynamic_value::Reader<'a> {
6716        fn from(reader: Reader<'a>) -> Self {
6717            Self::Struct(crate::dynamic_struct::Reader::new(
6718                reader.reader,
6719                crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
6720                    generic: &_private::RAW_SCHEMA,
6721                    field_types: _private::get_field_types,
6722                    annotation_types: _private::get_annotation_types,
6723                    type_id: ::core::any::TypeId::of::<Owned>(),
6724                }),
6725            ))
6726        }
6727    }
6728
6729    impl ::core::fmt::Debug for Reader<'_> {
6730        fn fmt(
6731            &self,
6732            f: &mut ::core::fmt::Formatter<'_>,
6733        ) -> ::core::result::Result<(), ::core::fmt::Error> {
6734            core::fmt::Debug::fmt(
6735                &::core::convert::Into::<crate::dynamic_value::Reader<'_>>::into(*self),
6736                f,
6737            )
6738        }
6739    }
6740
6741    impl<'a> crate::traits::FromPointerReader<'a> for Reader<'a> {
6742        fn get_from_pointer(
6743            reader: &crate::private::layout::PointerReader<'a>,
6744            default: ::core::option::Option<&'a [crate::Word]>,
6745        ) -> crate::Result<Self> {
6746            ::core::result::Result::Ok(reader.get_struct(default)?.into())
6747        }
6748    }
6749
6750    impl<'a> crate::traits::IntoInternalStructReader<'a> for Reader<'a> {
6751        fn into_internal_struct_reader(self) -> crate::private::layout::StructReader<'a> {
6752            self.reader
6753        }
6754    }
6755
6756    impl<'a> crate::traits::Imbue<'a> for Reader<'a> {
6757        fn imbue(&mut self, cap_table: &'a crate::private::layout::CapTable) {
6758            self.reader
6759                .imbue(crate::private::layout::CapTableReader::from_ref(cap_table))
6760        }
6761    }
6762
6763    impl<'a> Reader<'a> {
6764        pub fn reborrow(&self) -> Reader<'_> {
6765            Self { ..*self }
6766        }
6767
6768        pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
6769            self.reader.total_size()
6770        }
6771        #[inline]
6772        pub fn get_id(self) -> u64 {
6773            self.reader.get_data_field::<u64>(0)
6774        }
6775        #[inline]
6776        pub fn get_brand(self) -> crate::Result<crate::schema_capnp::brand::Reader<'a>> {
6777            crate::traits::FromPointerReader::get_from_pointer(
6778                &self.reader.get_pointer_field(0),
6779                ::core::option::Option::None,
6780            )
6781        }
6782        #[inline]
6783        pub fn has_brand(&self) -> bool {
6784            !self.reader.get_pointer_field(0).is_null()
6785        }
6786    }
6787
6788    pub struct Builder<'a> {
6789        builder: crate::private::layout::StructBuilder<'a>,
6790    }
6791    impl crate::traits::HasStructSize for Builder<'_> {
6792        const STRUCT_SIZE: crate::private::layout::StructSize =
6793            crate::private::layout::StructSize {
6794                data: 1,
6795                pointers: 1,
6796            };
6797    }
6798    impl crate::traits::HasTypeId for Builder<'_> {
6799        const TYPE_ID: u64 = _private::TYPE_ID;
6800    }
6801    impl<'a> ::core::convert::From<crate::private::layout::StructBuilder<'a>> for Builder<'a> {
6802        fn from(builder: crate::private::layout::StructBuilder<'a>) -> Self {
6803            Self { builder }
6804        }
6805    }
6806
6807    impl<'a> crate::traits::IntoInternalStructBuilder<'a> for Builder<'a> {
6808        fn into_internal_struct_builder(self) -> crate::private::layout::StructBuilder<'a> {
6809            self.builder
6810        }
6811    }
6812
6813    impl<'a> ::core::convert::From<Builder<'a>> for crate::dynamic_value::Builder<'a> {
6814        fn from(builder: Builder<'a>) -> Self {
6815            Self::Struct(crate::dynamic_struct::Builder::new(
6816                builder.builder,
6817                crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
6818                    generic: &_private::RAW_SCHEMA,
6819                    field_types: _private::get_field_types,
6820                    annotation_types: _private::get_annotation_types,
6821                    type_id: ::core::any::TypeId::of::<Owned>(),
6822                }),
6823            ))
6824        }
6825    }
6826
6827    impl<'a> crate::traits::ImbueMut<'a> for Builder<'a> {
6828        fn imbue_mut(&mut self, cap_table: &'a mut crate::private::layout::CapTable) {
6829            self.builder
6830                .imbue(crate::private::layout::CapTableBuilder::from_ref(cap_table))
6831        }
6832    }
6833
6834    impl<'a> crate::traits::FromPointerBuilder<'a> for Builder<'a> {
6835        fn init_pointer(builder: crate::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
6836            builder
6837                .init_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE)
6838                .into()
6839        }
6840        fn get_from_pointer(
6841            builder: crate::private::layout::PointerBuilder<'a>,
6842            default: ::core::option::Option<&'a [crate::Word]>,
6843        ) -> crate::Result<Self> {
6844            ::core::result::Result::Ok(
6845                builder
6846                    .get_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE, default)?
6847                    .into(),
6848            )
6849        }
6850    }
6851
6852    impl crate::traits::SetterInput<Owned> for Reader<'_> {
6853        fn set_pointer_builder(
6854            mut pointer: crate::private::layout::PointerBuilder<'_>,
6855            value: Self,
6856            canonicalize: bool,
6857        ) -> crate::Result<()> {
6858            pointer.set_struct(&value.reader, canonicalize)
6859        }
6860    }
6861
6862    impl<'a> Builder<'a> {
6863        pub fn into_reader(self) -> Reader<'a> {
6864            self.builder.into_reader().into()
6865        }
6866        pub fn reborrow(&mut self) -> Builder<'_> {
6867            Builder {
6868                builder: self.builder.reborrow(),
6869            }
6870        }
6871        pub fn reborrow_as_reader(&self) -> Reader<'_> {
6872            self.builder.as_reader().into()
6873        }
6874
6875        pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
6876            self.builder.as_reader().total_size()
6877        }
6878        #[inline]
6879        pub fn get_id(self) -> u64 {
6880            self.builder.get_data_field::<u64>(0)
6881        }
6882        #[inline]
6883        pub fn set_id(&mut self, value: u64) {
6884            self.builder.set_data_field::<u64>(0, value);
6885        }
6886        #[inline]
6887        pub fn get_brand(self) -> crate::Result<crate::schema_capnp::brand::Builder<'a>> {
6888            crate::traits::FromPointerBuilder::get_from_pointer(
6889                self.builder.get_pointer_field(0),
6890                ::core::option::Option::None,
6891            )
6892        }
6893        #[inline]
6894        pub fn set_brand(
6895            &mut self,
6896            value: crate::schema_capnp::brand::Reader<'_>,
6897        ) -> crate::Result<()> {
6898            crate::traits::SetterInput::set_pointer_builder(
6899                self.builder.reborrow().get_pointer_field(0),
6900                value,
6901                false,
6902            )
6903        }
6904        #[inline]
6905        pub fn init_brand(self) -> crate::schema_capnp::brand::Builder<'a> {
6906            crate::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
6907        }
6908        #[inline]
6909        pub fn has_brand(&self) -> bool {
6910            !self.builder.is_pointer_field_null(0)
6911        }
6912    }
6913
6914    pub struct Pipeline {
6915        _typeless: crate::any_pointer::Pipeline,
6916    }
6917    impl crate::capability::FromTypelessPipeline for Pipeline {
6918        fn new(typeless: crate::any_pointer::Pipeline) -> Self {
6919            Self {
6920                _typeless: typeless,
6921            }
6922        }
6923    }
6924    impl Pipeline {
6925        pub fn get_brand(&self) -> crate::schema_capnp::brand::Pipeline {
6926            crate::capability::FromTypelessPipeline::new(self._typeless.get_pointer_field(0))
6927        }
6928    }
6929    mod _private {
6930        pub(crate) static ENCODED_NODE: [crate::Word; 48] = [
6931            crate::word(0, 0, 0, 0, 6, 0, 6, 0),
6932            crate::word(248, 215, 164, 208, 158, 42, 150, 169),
6933            crate::word(13, 0, 0, 0, 1, 0, 1, 0),
6934            crate::word(217, 114, 76, 98, 9, 197, 63, 169),
6935            crate::word(1, 0, 7, 0, 0, 0, 0, 0),
6936            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6937            crate::word(172, 44, 0, 0, 225, 44, 0, 0),
6938            crate::word(21, 0, 0, 0, 194, 0, 0, 0),
6939            crate::word(29, 0, 0, 0, 7, 0, 0, 0),
6940            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6941            crate::word(25, 0, 0, 0, 119, 0, 0, 0),
6942            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6943            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6944            crate::word(115, 99, 104, 101, 109, 97, 46, 99),
6945            crate::word(97, 112, 110, 112, 58, 83, 117, 112),
6946            crate::word(101, 114, 99, 108, 97, 115, 115, 0),
6947            crate::word(0, 0, 0, 0, 1, 0, 1, 0),
6948            crate::word(8, 0, 0, 0, 3, 0, 4, 0),
6949            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6950            crate::word(0, 0, 1, 0, 0, 0, 0, 0),
6951            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6952            crate::word(41, 0, 0, 0, 26, 0, 0, 0),
6953            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6954            crate::word(36, 0, 0, 0, 3, 0, 1, 0),
6955            crate::word(48, 0, 0, 0, 2, 0, 1, 0),
6956            crate::word(1, 0, 0, 0, 0, 0, 0, 0),
6957            crate::word(0, 0, 1, 0, 1, 0, 0, 0),
6958            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6959            crate::word(45, 0, 0, 0, 50, 0, 0, 0),
6960            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6961            crate::word(40, 0, 0, 0, 3, 0, 1, 0),
6962            crate::word(52, 0, 0, 0, 2, 0, 1, 0),
6963            crate::word(105, 100, 0, 0, 0, 0, 0, 0),
6964            crate::word(9, 0, 0, 0, 0, 0, 0, 0),
6965            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6966            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6967            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6968            crate::word(9, 0, 0, 0, 0, 0, 0, 0),
6969            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6970            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6971            crate::word(98, 114, 97, 110, 100, 0, 0, 0),
6972            crate::word(16, 0, 0, 0, 0, 0, 0, 0),
6973            crate::word(43, 66, 101, 96, 240, 85, 52, 144),
6974            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6975            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6976            crate::word(16, 0, 0, 0, 0, 0, 0, 0),
6977            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6978            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
6979        ];
6980        pub(crate) fn get_field_types(index: u16) -> crate::introspect::Type {
6981            match index {
6982                0 => <u64 as crate::introspect::Introspect>::introspect(),
6983                1 => {
6984                    <crate::schema_capnp::brand::Owned as crate::introspect::Introspect>::introspect(
6985                    )
6986                }
6987                _ => crate::introspect::panic_invalid_field_index(index),
6988            }
6989        }
6990        pub(crate) fn get_annotation_types(
6991            child_index: Option<u16>,
6992            index: u32,
6993        ) -> crate::introspect::Type {
6994            crate::introspect::panic_invalid_annotation_indices(child_index, index)
6995        }
6996        pub(crate) static ARENA: crate::private::arena::GeneratedCodeArena =
6997            crate::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
6998        pub(crate) static RAW_SCHEMA: crate::introspect::RawStructSchema =
6999            crate::introspect::RawStructSchema::new(
7000                &ARENA,
7001                NONUNION_MEMBERS,
7002                MEMBERS_BY_DISCRIMINANT,
7003                MEMBERS_BY_NAME,
7004            );
7005        pub(crate) static NONUNION_MEMBERS: &[u16] = &[0, 1];
7006        pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[];
7007        pub(crate) static MEMBERS_BY_NAME: &[u16] = &[1, 0];
7008        pub(crate) const TYPE_ID: u64 = 0xa996_2a9e_d0a4_d7f8;
7009    }
7010}
7011
7012pub mod method {
7013    #[derive(Copy, Clone)]
7014    pub struct Owned(());
7015    impl crate::introspect::Introspect for Owned {
7016        fn introspect() -> crate::introspect::Type {
7017            crate::introspect::TypeVariant::Struct(crate::introspect::RawBrandedStructSchema {
7018                generic: &_private::RAW_SCHEMA,
7019                field_types: _private::get_field_types,
7020                annotation_types: _private::get_annotation_types,
7021                type_id: ::core::any::TypeId::of::<Owned>(),
7022            })
7023            .into()
7024        }
7025    }
7026    impl crate::traits::Owned for Owned {
7027        type Reader<'a> = Reader<'a>;
7028        type Builder<'a> = Builder<'a>;
7029    }
7030    impl crate::traits::OwnedStruct for Owned {
7031        type Reader<'a> = Reader<'a>;
7032        type Builder<'a> = Builder<'a>;
7033    }
7034    impl crate::traits::Pipelined for Owned {
7035        type Pipeline = Pipeline;
7036    }
7037
7038    pub struct Reader<'a> {
7039        reader: crate::private::layout::StructReader<'a>,
7040    }
7041    impl ::core::marker::Copy for Reader<'_> {}
7042    impl ::core::clone::Clone for Reader<'_> {
7043        fn clone(&self) -> Self {
7044            *self
7045        }
7046    }
7047
7048    impl crate::traits::HasTypeId for Reader<'_> {
7049        const TYPE_ID: u64 = _private::TYPE_ID;
7050    }
7051    impl<'a> ::core::convert::From<crate::private::layout::StructReader<'a>> for Reader<'a> {
7052        fn from(reader: crate::private::layout::StructReader<'a>) -> Self {
7053            Self { reader }
7054        }
7055    }
7056
7057    impl<'a> ::core::convert::From<Reader<'a>> for crate::dynamic_value::Reader<'a> {
7058        fn from(reader: Reader<'a>) -> Self {
7059            Self::Struct(crate::dynamic_struct::Reader::new(
7060                reader.reader,
7061                crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
7062                    generic: &_private::RAW_SCHEMA,
7063                    field_types: _private::get_field_types,
7064                    annotation_types: _private::get_annotation_types,
7065                    type_id: ::core::any::TypeId::of::<Owned>(),
7066                }),
7067            ))
7068        }
7069    }
7070
7071    impl ::core::fmt::Debug for Reader<'_> {
7072        fn fmt(
7073            &self,
7074            f: &mut ::core::fmt::Formatter<'_>,
7075        ) -> ::core::result::Result<(), ::core::fmt::Error> {
7076            core::fmt::Debug::fmt(
7077                &::core::convert::Into::<crate::dynamic_value::Reader<'_>>::into(*self),
7078                f,
7079            )
7080        }
7081    }
7082
7083    impl<'a> crate::traits::FromPointerReader<'a> for Reader<'a> {
7084        fn get_from_pointer(
7085            reader: &crate::private::layout::PointerReader<'a>,
7086            default: ::core::option::Option<&'a [crate::Word]>,
7087        ) -> crate::Result<Self> {
7088            ::core::result::Result::Ok(reader.get_struct(default)?.into())
7089        }
7090    }
7091
7092    impl<'a> crate::traits::IntoInternalStructReader<'a> for Reader<'a> {
7093        fn into_internal_struct_reader(self) -> crate::private::layout::StructReader<'a> {
7094            self.reader
7095        }
7096    }
7097
7098    impl<'a> crate::traits::Imbue<'a> for Reader<'a> {
7099        fn imbue(&mut self, cap_table: &'a crate::private::layout::CapTable) {
7100            self.reader
7101                .imbue(crate::private::layout::CapTableReader::from_ref(cap_table))
7102        }
7103    }
7104
7105    impl<'a> Reader<'a> {
7106        pub fn reborrow(&self) -> Reader<'_> {
7107            Self { ..*self }
7108        }
7109
7110        pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
7111            self.reader.total_size()
7112        }
7113        #[inline]
7114        pub fn get_name(self) -> crate::Result<crate::text::Reader<'a>> {
7115            crate::traits::FromPointerReader::get_from_pointer(
7116                &self.reader.get_pointer_field(0),
7117                ::core::option::Option::None,
7118            )
7119        }
7120        #[inline]
7121        pub fn has_name(&self) -> bool {
7122            !self.reader.get_pointer_field(0).is_null()
7123        }
7124        #[inline]
7125        pub fn get_code_order(self) -> u16 {
7126            self.reader.get_data_field::<u16>(0)
7127        }
7128        #[inline]
7129        pub fn get_param_struct_type(self) -> u64 {
7130            self.reader.get_data_field::<u64>(1)
7131        }
7132        #[inline]
7133        pub fn get_result_struct_type(self) -> u64 {
7134            self.reader.get_data_field::<u64>(2)
7135        }
7136        #[inline]
7137        pub fn get_annotations(
7138            self,
7139        ) -> crate::Result<crate::struct_list::Reader<'a, crate::schema_capnp::annotation::Owned>>
7140        {
7141            crate::traits::FromPointerReader::get_from_pointer(
7142                &self.reader.get_pointer_field(1),
7143                ::core::option::Option::None,
7144            )
7145        }
7146        #[inline]
7147        pub fn has_annotations(&self) -> bool {
7148            !self.reader.get_pointer_field(1).is_null()
7149        }
7150        #[inline]
7151        pub fn get_param_brand(self) -> crate::Result<crate::schema_capnp::brand::Reader<'a>> {
7152            crate::traits::FromPointerReader::get_from_pointer(
7153                &self.reader.get_pointer_field(2),
7154                ::core::option::Option::None,
7155            )
7156        }
7157        #[inline]
7158        pub fn has_param_brand(&self) -> bool {
7159            !self.reader.get_pointer_field(2).is_null()
7160        }
7161        #[inline]
7162        pub fn get_result_brand(self) -> crate::Result<crate::schema_capnp::brand::Reader<'a>> {
7163            crate::traits::FromPointerReader::get_from_pointer(
7164                &self.reader.get_pointer_field(3),
7165                ::core::option::Option::None,
7166            )
7167        }
7168        #[inline]
7169        pub fn has_result_brand(&self) -> bool {
7170            !self.reader.get_pointer_field(3).is_null()
7171        }
7172        #[inline]
7173        pub fn get_implicit_parameters(
7174            self,
7175        ) -> crate::Result<
7176            crate::struct_list::Reader<'a, crate::schema_capnp::node::parameter::Owned>,
7177        > {
7178            crate::traits::FromPointerReader::get_from_pointer(
7179                &self.reader.get_pointer_field(4),
7180                ::core::option::Option::None,
7181            )
7182        }
7183        #[inline]
7184        pub fn has_implicit_parameters(&self) -> bool {
7185            !self.reader.get_pointer_field(4).is_null()
7186        }
7187    }
7188
7189    pub struct Builder<'a> {
7190        builder: crate::private::layout::StructBuilder<'a>,
7191    }
7192    impl crate::traits::HasStructSize for Builder<'_> {
7193        const STRUCT_SIZE: crate::private::layout::StructSize =
7194            crate::private::layout::StructSize {
7195                data: 3,
7196                pointers: 5,
7197            };
7198    }
7199    impl crate::traits::HasTypeId for Builder<'_> {
7200        const TYPE_ID: u64 = _private::TYPE_ID;
7201    }
7202    impl<'a> ::core::convert::From<crate::private::layout::StructBuilder<'a>> for Builder<'a> {
7203        fn from(builder: crate::private::layout::StructBuilder<'a>) -> Self {
7204            Self { builder }
7205        }
7206    }
7207
7208    impl<'a> crate::traits::IntoInternalStructBuilder<'a> for Builder<'a> {
7209        fn into_internal_struct_builder(self) -> crate::private::layout::StructBuilder<'a> {
7210            self.builder
7211        }
7212    }
7213
7214    impl<'a> ::core::convert::From<Builder<'a>> for crate::dynamic_value::Builder<'a> {
7215        fn from(builder: Builder<'a>) -> Self {
7216            Self::Struct(crate::dynamic_struct::Builder::new(
7217                builder.builder,
7218                crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
7219                    generic: &_private::RAW_SCHEMA,
7220                    field_types: _private::get_field_types,
7221                    annotation_types: _private::get_annotation_types,
7222                    type_id: ::core::any::TypeId::of::<Owned>(),
7223                }),
7224            ))
7225        }
7226    }
7227
7228    impl<'a> crate::traits::ImbueMut<'a> for Builder<'a> {
7229        fn imbue_mut(&mut self, cap_table: &'a mut crate::private::layout::CapTable) {
7230            self.builder
7231                .imbue(crate::private::layout::CapTableBuilder::from_ref(cap_table))
7232        }
7233    }
7234
7235    impl<'a> crate::traits::FromPointerBuilder<'a> for Builder<'a> {
7236        fn init_pointer(builder: crate::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
7237            builder
7238                .init_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE)
7239                .into()
7240        }
7241        fn get_from_pointer(
7242            builder: crate::private::layout::PointerBuilder<'a>,
7243            default: ::core::option::Option<&'a [crate::Word]>,
7244        ) -> crate::Result<Self> {
7245            ::core::result::Result::Ok(
7246                builder
7247                    .get_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE, default)?
7248                    .into(),
7249            )
7250        }
7251    }
7252
7253    impl crate::traits::SetterInput<Owned> for Reader<'_> {
7254        fn set_pointer_builder(
7255            mut pointer: crate::private::layout::PointerBuilder<'_>,
7256            value: Self,
7257            canonicalize: bool,
7258        ) -> crate::Result<()> {
7259            pointer.set_struct(&value.reader, canonicalize)
7260        }
7261    }
7262
7263    impl<'a> Builder<'a> {
7264        pub fn into_reader(self) -> Reader<'a> {
7265            self.builder.into_reader().into()
7266        }
7267        pub fn reborrow(&mut self) -> Builder<'_> {
7268            Builder {
7269                builder: self.builder.reborrow(),
7270            }
7271        }
7272        pub fn reborrow_as_reader(&self) -> Reader<'_> {
7273            self.builder.as_reader().into()
7274        }
7275
7276        pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
7277            self.builder.as_reader().total_size()
7278        }
7279        #[inline]
7280        pub fn get_name(self) -> crate::Result<crate::text::Builder<'a>> {
7281            crate::traits::FromPointerBuilder::get_from_pointer(
7282                self.builder.get_pointer_field(0),
7283                ::core::option::Option::None,
7284            )
7285        }
7286        #[inline]
7287        pub fn set_name(&mut self, value: impl crate::traits::SetterInput<crate::text::Owned>) {
7288            crate::traits::SetterInput::set_pointer_builder(
7289                self.builder.reborrow().get_pointer_field(0),
7290                value,
7291                false,
7292            )
7293            .unwrap()
7294        }
7295        #[inline]
7296        pub fn init_name(self, size: u32) -> crate::text::Builder<'a> {
7297            self.builder.get_pointer_field(0).init_text(size)
7298        }
7299        #[inline]
7300        pub fn has_name(&self) -> bool {
7301            !self.builder.is_pointer_field_null(0)
7302        }
7303        #[inline]
7304        pub fn get_code_order(self) -> u16 {
7305            self.builder.get_data_field::<u16>(0)
7306        }
7307        #[inline]
7308        pub fn set_code_order(&mut self, value: u16) {
7309            self.builder.set_data_field::<u16>(0, value);
7310        }
7311        #[inline]
7312        pub fn get_param_struct_type(self) -> u64 {
7313            self.builder.get_data_field::<u64>(1)
7314        }
7315        #[inline]
7316        pub fn set_param_struct_type(&mut self, value: u64) {
7317            self.builder.set_data_field::<u64>(1, value);
7318        }
7319        #[inline]
7320        pub fn get_result_struct_type(self) -> u64 {
7321            self.builder.get_data_field::<u64>(2)
7322        }
7323        #[inline]
7324        pub fn set_result_struct_type(&mut self, value: u64) {
7325            self.builder.set_data_field::<u64>(2, value);
7326        }
7327        #[inline]
7328        pub fn get_annotations(
7329            self,
7330        ) -> crate::Result<crate::struct_list::Builder<'a, crate::schema_capnp::annotation::Owned>>
7331        {
7332            crate::traits::FromPointerBuilder::get_from_pointer(
7333                self.builder.get_pointer_field(1),
7334                ::core::option::Option::None,
7335            )
7336        }
7337        #[inline]
7338        pub fn set_annotations(
7339            &mut self,
7340            value: crate::struct_list::Reader<'_, crate::schema_capnp::annotation::Owned>,
7341        ) -> crate::Result<()> {
7342            crate::traits::SetterInput::set_pointer_builder(
7343                self.builder.reborrow().get_pointer_field(1),
7344                value,
7345                false,
7346            )
7347        }
7348        #[inline]
7349        pub fn init_annotations(
7350            self,
7351            size: u32,
7352        ) -> crate::struct_list::Builder<'a, crate::schema_capnp::annotation::Owned> {
7353            crate::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(1), size)
7354        }
7355        #[inline]
7356        pub fn has_annotations(&self) -> bool {
7357            !self.builder.is_pointer_field_null(1)
7358        }
7359        #[inline]
7360        pub fn get_param_brand(self) -> crate::Result<crate::schema_capnp::brand::Builder<'a>> {
7361            crate::traits::FromPointerBuilder::get_from_pointer(
7362                self.builder.get_pointer_field(2),
7363                ::core::option::Option::None,
7364            )
7365        }
7366        #[inline]
7367        pub fn set_param_brand(
7368            &mut self,
7369            value: crate::schema_capnp::brand::Reader<'_>,
7370        ) -> crate::Result<()> {
7371            crate::traits::SetterInput::set_pointer_builder(
7372                self.builder.reborrow().get_pointer_field(2),
7373                value,
7374                false,
7375            )
7376        }
7377        #[inline]
7378        pub fn init_param_brand(self) -> crate::schema_capnp::brand::Builder<'a> {
7379            crate::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(2), 0)
7380        }
7381        #[inline]
7382        pub fn has_param_brand(&self) -> bool {
7383            !self.builder.is_pointer_field_null(2)
7384        }
7385        #[inline]
7386        pub fn get_result_brand(self) -> crate::Result<crate::schema_capnp::brand::Builder<'a>> {
7387            crate::traits::FromPointerBuilder::get_from_pointer(
7388                self.builder.get_pointer_field(3),
7389                ::core::option::Option::None,
7390            )
7391        }
7392        #[inline]
7393        pub fn set_result_brand(
7394            &mut self,
7395            value: crate::schema_capnp::brand::Reader<'_>,
7396        ) -> crate::Result<()> {
7397            crate::traits::SetterInput::set_pointer_builder(
7398                self.builder.reborrow().get_pointer_field(3),
7399                value,
7400                false,
7401            )
7402        }
7403        #[inline]
7404        pub fn init_result_brand(self) -> crate::schema_capnp::brand::Builder<'a> {
7405            crate::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(3), 0)
7406        }
7407        #[inline]
7408        pub fn has_result_brand(&self) -> bool {
7409            !self.builder.is_pointer_field_null(3)
7410        }
7411        #[inline]
7412        pub fn get_implicit_parameters(
7413            self,
7414        ) -> crate::Result<
7415            crate::struct_list::Builder<'a, crate::schema_capnp::node::parameter::Owned>,
7416        > {
7417            crate::traits::FromPointerBuilder::get_from_pointer(
7418                self.builder.get_pointer_field(4),
7419                ::core::option::Option::None,
7420            )
7421        }
7422        #[inline]
7423        pub fn set_implicit_parameters(
7424            &mut self,
7425            value: crate::struct_list::Reader<'_, crate::schema_capnp::node::parameter::Owned>,
7426        ) -> crate::Result<()> {
7427            crate::traits::SetterInput::set_pointer_builder(
7428                self.builder.reborrow().get_pointer_field(4),
7429                value,
7430                false,
7431            )
7432        }
7433        #[inline]
7434        pub fn init_implicit_parameters(
7435            self,
7436            size: u32,
7437        ) -> crate::struct_list::Builder<'a, crate::schema_capnp::node::parameter::Owned> {
7438            crate::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(4), size)
7439        }
7440        #[inline]
7441        pub fn has_implicit_parameters(&self) -> bool {
7442            !self.builder.is_pointer_field_null(4)
7443        }
7444    }
7445
7446    pub struct Pipeline {
7447        _typeless: crate::any_pointer::Pipeline,
7448    }
7449    impl crate::capability::FromTypelessPipeline for Pipeline {
7450        fn new(typeless: crate::any_pointer::Pipeline) -> Self {
7451            Self {
7452                _typeless: typeless,
7453            }
7454        }
7455    }
7456    impl Pipeline {
7457        pub fn get_param_brand(&self) -> crate::schema_capnp::brand::Pipeline {
7458            crate::capability::FromTypelessPipeline::new(self._typeless.get_pointer_field(2))
7459        }
7460        pub fn get_result_brand(&self) -> crate::schema_capnp::brand::Pipeline {
7461            crate::capability::FromTypelessPipeline::new(self._typeless.get_pointer_field(3))
7462        }
7463    }
7464    mod _private {
7465        pub(crate) static ENCODED_NODE: [crate::Word; 155] = [
7466            crate::word(0, 0, 0, 0, 6, 0, 6, 0),
7467            crate::word(128, 77, 51, 59, 226, 204, 0, 149),
7468            crate::word(13, 0, 0, 0, 1, 0, 3, 0),
7469            crate::word(217, 114, 76, 98, 9, 197, 63, 169),
7470            crate::word(5, 0, 7, 0, 0, 0, 0, 0),
7471            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7472            crate::word(227, 44, 0, 0, 48, 50, 0, 0),
7473            crate::word(21, 0, 0, 0, 162, 0, 0, 0),
7474            crate::word(29, 0, 0, 0, 7, 0, 0, 0),
7475            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7476            crate::word(25, 0, 0, 0, 199, 1, 0, 0),
7477            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7478            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7479            crate::word(115, 99, 104, 101, 109, 97, 46, 99),
7480            crate::word(97, 112, 110, 112, 58, 77, 101, 116),
7481            crate::word(104, 111, 100, 0, 0, 0, 0, 0),
7482            crate::word(0, 0, 0, 0, 1, 0, 1, 0),
7483            crate::word(32, 0, 0, 0, 3, 0, 4, 0),
7484            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7485            crate::word(0, 0, 1, 0, 0, 0, 0, 0),
7486            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7487            crate::word(209, 0, 0, 0, 42, 0, 0, 0),
7488            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7489            crate::word(204, 0, 0, 0, 3, 0, 1, 0),
7490            crate::word(216, 0, 0, 0, 2, 0, 1, 0),
7491            crate::word(1, 0, 0, 0, 0, 0, 0, 0),
7492            crate::word(0, 0, 1, 0, 1, 0, 0, 0),
7493            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7494            crate::word(213, 0, 0, 0, 82, 0, 0, 0),
7495            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7496            crate::word(212, 0, 0, 0, 3, 0, 1, 0),
7497            crate::word(224, 0, 0, 0, 2, 0, 1, 0),
7498            crate::word(3, 0, 0, 0, 1, 0, 0, 0),
7499            crate::word(0, 0, 1, 0, 2, 0, 0, 0),
7500            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7501            crate::word(221, 0, 0, 0, 130, 0, 0, 0),
7502            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7503            crate::word(220, 0, 0, 0, 3, 0, 1, 0),
7504            crate::word(232, 0, 0, 0, 2, 0, 1, 0),
7505            crate::word(5, 0, 0, 0, 2, 0, 0, 0),
7506            crate::word(0, 0, 1, 0, 3, 0, 0, 0),
7507            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7508            crate::word(229, 0, 0, 0, 138, 0, 0, 0),
7509            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7510            crate::word(232, 0, 0, 0, 3, 0, 1, 0),
7511            crate::word(244, 0, 0, 0, 2, 0, 1, 0),
7512            crate::word(7, 0, 0, 0, 1, 0, 0, 0),
7513            crate::word(0, 0, 1, 0, 4, 0, 0, 0),
7514            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7515            crate::word(241, 0, 0, 0, 98, 0, 0, 0),
7516            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7517            crate::word(240, 0, 0, 0, 3, 0, 1, 0),
7518            crate::word(12, 1, 0, 0, 2, 0, 1, 0),
7519            crate::word(4, 0, 0, 0, 2, 0, 0, 0),
7520            crate::word(0, 0, 1, 0, 5, 0, 0, 0),
7521            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7522            crate::word(9, 1, 0, 0, 90, 0, 0, 0),
7523            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7524            crate::word(8, 1, 0, 0, 3, 0, 1, 0),
7525            crate::word(20, 1, 0, 0, 2, 0, 1, 0),
7526            crate::word(6, 0, 0, 0, 3, 0, 0, 0),
7527            crate::word(0, 0, 1, 0, 6, 0, 0, 0),
7528            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7529            crate::word(17, 1, 0, 0, 98, 0, 0, 0),
7530            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7531            crate::word(16, 1, 0, 0, 3, 0, 1, 0),
7532            crate::word(28, 1, 0, 0, 2, 0, 1, 0),
7533            crate::word(2, 0, 0, 0, 4, 0, 0, 0),
7534            crate::word(0, 0, 1, 0, 7, 0, 0, 0),
7535            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7536            crate::word(25, 1, 0, 0, 154, 0, 0, 0),
7537            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7538            crate::word(28, 1, 0, 0, 3, 0, 1, 0),
7539            crate::word(56, 1, 0, 0, 2, 0, 1, 0),
7540            crate::word(110, 97, 109, 101, 0, 0, 0, 0),
7541            crate::word(12, 0, 0, 0, 0, 0, 0, 0),
7542            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7543            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7544            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7545            crate::word(12, 0, 0, 0, 0, 0, 0, 0),
7546            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7547            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7548            crate::word(99, 111, 100, 101, 79, 114, 100, 101),
7549            crate::word(114, 0, 0, 0, 0, 0, 0, 0),
7550            crate::word(7, 0, 0, 0, 0, 0, 0, 0),
7551            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7552            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7553            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7554            crate::word(7, 0, 0, 0, 0, 0, 0, 0),
7555            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7556            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7557            crate::word(112, 97, 114, 97, 109, 83, 116, 114),
7558            crate::word(117, 99, 116, 84, 121, 112, 101, 0),
7559            crate::word(9, 0, 0, 0, 0, 0, 0, 0),
7560            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7561            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7562            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7563            crate::word(9, 0, 0, 0, 0, 0, 0, 0),
7564            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7565            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7566            crate::word(114, 101, 115, 117, 108, 116, 83, 116),
7567            crate::word(114, 117, 99, 116, 84, 121, 112, 101),
7568            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7569            crate::word(9, 0, 0, 0, 0, 0, 0, 0),
7570            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7571            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7572            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7573            crate::word(9, 0, 0, 0, 0, 0, 0, 0),
7574            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7575            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7576            crate::word(97, 110, 110, 111, 116, 97, 116, 105),
7577            crate::word(111, 110, 115, 0, 0, 0, 0, 0),
7578            crate::word(14, 0, 0, 0, 0, 0, 0, 0),
7579            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7580            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7581            crate::word(0, 0, 0, 0, 3, 0, 1, 0),
7582            crate::word(16, 0, 0, 0, 0, 0, 0, 0),
7583            crate::word(66, 117, 37, 171, 13, 149, 200, 241),
7584            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7585            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7586            crate::word(14, 0, 0, 0, 0, 0, 0, 0),
7587            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7588            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7589            crate::word(112, 97, 114, 97, 109, 66, 114, 97),
7590            crate::word(110, 100, 0, 0, 0, 0, 0, 0),
7591            crate::word(16, 0, 0, 0, 0, 0, 0, 0),
7592            crate::word(43, 66, 101, 96, 240, 85, 52, 144),
7593            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7594            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7595            crate::word(16, 0, 0, 0, 0, 0, 0, 0),
7596            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7597            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7598            crate::word(114, 101, 115, 117, 108, 116, 66, 114),
7599            crate::word(97, 110, 100, 0, 0, 0, 0, 0),
7600            crate::word(16, 0, 0, 0, 0, 0, 0, 0),
7601            crate::word(43, 66, 101, 96, 240, 85, 52, 144),
7602            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7603            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7604            crate::word(16, 0, 0, 0, 0, 0, 0, 0),
7605            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7606            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7607            crate::word(105, 109, 112, 108, 105, 99, 105, 116),
7608            crate::word(80, 97, 114, 97, 109, 101, 116, 101),
7609            crate::word(114, 115, 0, 0, 0, 0, 0, 0),
7610            crate::word(14, 0, 0, 0, 0, 0, 0, 0),
7611            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7612            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7613            crate::word(0, 0, 0, 0, 3, 0, 1, 0),
7614            crate::word(16, 0, 0, 0, 0, 0, 0, 0),
7615            crate::word(177, 163, 15, 241, 204, 27, 82, 185),
7616            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7617            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7618            crate::word(14, 0, 0, 0, 0, 0, 0, 0),
7619            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7620            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
7621        ];
7622        pub(crate) fn get_field_types(index: u16) -> crate::introspect::Type {
7623            match index {
7624                0 => <crate::text::Owned as crate::introspect::Introspect>::introspect(),
7625                1 => <u16 as crate::introspect::Introspect>::introspect(),
7626                2 => <u64 as crate::introspect::Introspect>::introspect(),
7627                3 => <u64 as crate::introspect::Introspect>::introspect(),
7628                4 => <crate::struct_list::Owned<crate::schema_capnp::annotation::Owned> as crate::introspect::Introspect>::introspect(),
7629                5 => <crate::schema_capnp::brand::Owned as crate::introspect::Introspect>::introspect(),
7630                6 => <crate::schema_capnp::brand::Owned as crate::introspect::Introspect>::introspect(),
7631                7 => <crate::struct_list::Owned<crate::schema_capnp::node::parameter::Owned> as crate::introspect::Introspect>::introspect(),
7632                _ => crate::introspect::panic_invalid_field_index(index),
7633            }
7634        }
7635        pub(crate) fn get_annotation_types(
7636            child_index: Option<u16>,
7637            index: u32,
7638        ) -> crate::introspect::Type {
7639            crate::introspect::panic_invalid_annotation_indices(child_index, index)
7640        }
7641        pub(crate) static ARENA: crate::private::arena::GeneratedCodeArena =
7642            crate::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
7643        pub(crate) static RAW_SCHEMA: crate::introspect::RawStructSchema =
7644            crate::introspect::RawStructSchema::new(
7645                &ARENA,
7646                NONUNION_MEMBERS,
7647                MEMBERS_BY_DISCRIMINANT,
7648                MEMBERS_BY_NAME,
7649            );
7650        pub(crate) static NONUNION_MEMBERS: &[u16] = &[0, 1, 2, 3, 4, 5, 6, 7];
7651        pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[];
7652        pub(crate) static MEMBERS_BY_NAME: &[u16] = &[4, 1, 7, 0, 5, 2, 6, 3];
7653        pub(crate) const TYPE_ID: u64 = 0x9500_cce2_3b33_4d80;
7654    }
7655}
7656
7657pub mod type_ {
7658    pub use self::Which::{
7659        AnyPointer, Bool, Data, Enum, Float32, Float64, Int16, Int32, Int64, Int8, Interface, List,
7660        Struct, Text, Uint16, Uint32, Uint64, Uint8, Void,
7661    };
7662
7663    #[derive(Copy, Clone)]
7664    pub struct Owned(());
7665    impl crate::introspect::Introspect for Owned {
7666        fn introspect() -> crate::introspect::Type {
7667            crate::introspect::TypeVariant::Struct(crate::introspect::RawBrandedStructSchema {
7668                generic: &_private::RAW_SCHEMA,
7669                field_types: _private::get_field_types,
7670                annotation_types: _private::get_annotation_types,
7671                type_id: ::core::any::TypeId::of::<Owned>(),
7672            })
7673            .into()
7674        }
7675    }
7676    impl crate::traits::Owned for Owned {
7677        type Reader<'a> = Reader<'a>;
7678        type Builder<'a> = Builder<'a>;
7679    }
7680    impl crate::traits::OwnedStruct for Owned {
7681        type Reader<'a> = Reader<'a>;
7682        type Builder<'a> = Builder<'a>;
7683    }
7684    impl crate::traits::Pipelined for Owned {
7685        type Pipeline = Pipeline;
7686    }
7687
7688    pub struct Reader<'a> {
7689        reader: crate::private::layout::StructReader<'a>,
7690    }
7691    impl ::core::marker::Copy for Reader<'_> {}
7692    impl ::core::clone::Clone for Reader<'_> {
7693        fn clone(&self) -> Self {
7694            *self
7695        }
7696    }
7697
7698    impl crate::traits::HasTypeId for Reader<'_> {
7699        const TYPE_ID: u64 = _private::TYPE_ID;
7700    }
7701    impl<'a> ::core::convert::From<crate::private::layout::StructReader<'a>> for Reader<'a> {
7702        fn from(reader: crate::private::layout::StructReader<'a>) -> Self {
7703            Self { reader }
7704        }
7705    }
7706
7707    impl<'a> ::core::convert::From<Reader<'a>> for crate::dynamic_value::Reader<'a> {
7708        fn from(reader: Reader<'a>) -> Self {
7709            Self::Struct(crate::dynamic_struct::Reader::new(
7710                reader.reader,
7711                crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
7712                    generic: &_private::RAW_SCHEMA,
7713                    field_types: _private::get_field_types,
7714                    annotation_types: _private::get_annotation_types,
7715                    type_id: ::core::any::TypeId::of::<Owned>(),
7716                }),
7717            ))
7718        }
7719    }
7720
7721    impl ::core::fmt::Debug for Reader<'_> {
7722        fn fmt(
7723            &self,
7724            f: &mut ::core::fmt::Formatter<'_>,
7725        ) -> ::core::result::Result<(), ::core::fmt::Error> {
7726            core::fmt::Debug::fmt(
7727                &::core::convert::Into::<crate::dynamic_value::Reader<'_>>::into(*self),
7728                f,
7729            )
7730        }
7731    }
7732
7733    impl<'a> crate::traits::FromPointerReader<'a> for Reader<'a> {
7734        fn get_from_pointer(
7735            reader: &crate::private::layout::PointerReader<'a>,
7736            default: ::core::option::Option<&'a [crate::Word]>,
7737        ) -> crate::Result<Self> {
7738            ::core::result::Result::Ok(reader.get_struct(default)?.into())
7739        }
7740    }
7741
7742    impl<'a> crate::traits::IntoInternalStructReader<'a> for Reader<'a> {
7743        fn into_internal_struct_reader(self) -> crate::private::layout::StructReader<'a> {
7744            self.reader
7745        }
7746    }
7747
7748    impl<'a> crate::traits::Imbue<'a> for Reader<'a> {
7749        fn imbue(&mut self, cap_table: &'a crate::private::layout::CapTable) {
7750            self.reader
7751                .imbue(crate::private::layout::CapTableReader::from_ref(cap_table))
7752        }
7753    }
7754
7755    impl<'a> Reader<'a> {
7756        pub fn reborrow(&self) -> Reader<'_> {
7757            Self { ..*self }
7758        }
7759
7760        pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
7761            self.reader.total_size()
7762        }
7763        #[inline]
7764        pub fn get_type_id(self) -> u64 {
7765            self.reader.get_data_field::<u64>(3)
7766        }
7767        #[inline]
7768        pub fn which(self) -> ::core::result::Result<WhichReader<'a>, crate::NotInSchema> {
7769            match self.reader.get_data_field::<u16>(0) {
7770                0 => ::core::result::Result::Ok(Void(())),
7771                1 => ::core::result::Result::Ok(Bool(())),
7772                2 => ::core::result::Result::Ok(Int8(())),
7773                3 => ::core::result::Result::Ok(Int16(())),
7774                4 => ::core::result::Result::Ok(Int32(())),
7775                5 => ::core::result::Result::Ok(Int64(())),
7776                6 => ::core::result::Result::Ok(Uint8(())),
7777                7 => ::core::result::Result::Ok(Uint16(())),
7778                8 => ::core::result::Result::Ok(Uint32(())),
7779                9 => ::core::result::Result::Ok(Uint64(())),
7780                10 => ::core::result::Result::Ok(Float32(())),
7781                11 => ::core::result::Result::Ok(Float64(())),
7782                12 => ::core::result::Result::Ok(Text(())),
7783                13 => ::core::result::Result::Ok(Data(())),
7784                14 => ::core::result::Result::Ok(List(self.reader.into())),
7785                15 => ::core::result::Result::Ok(Enum(self.reader.into())),
7786                16 => ::core::result::Result::Ok(Struct(self.reader.into())),
7787                17 => ::core::result::Result::Ok(Interface(self.reader.into())),
7788                18 => ::core::result::Result::Ok(AnyPointer(self.reader.into())),
7789                x => ::core::result::Result::Err(crate::NotInSchema(x)),
7790            }
7791        }
7792    }
7793
7794    pub struct Builder<'a> {
7795        builder: crate::private::layout::StructBuilder<'a>,
7796    }
7797    impl crate::traits::HasStructSize for Builder<'_> {
7798        const STRUCT_SIZE: crate::private::layout::StructSize =
7799            crate::private::layout::StructSize {
7800                data: 4,
7801                pointers: 1,
7802            };
7803    }
7804    impl crate::traits::HasTypeId for Builder<'_> {
7805        const TYPE_ID: u64 = _private::TYPE_ID;
7806    }
7807    impl<'a> ::core::convert::From<crate::private::layout::StructBuilder<'a>> for Builder<'a> {
7808        fn from(builder: crate::private::layout::StructBuilder<'a>) -> Self {
7809            Self { builder }
7810        }
7811    }
7812
7813    impl<'a> crate::traits::IntoInternalStructBuilder<'a> for Builder<'a> {
7814        fn into_internal_struct_builder(self) -> crate::private::layout::StructBuilder<'a> {
7815            self.builder
7816        }
7817    }
7818
7819    impl<'a> ::core::convert::From<Builder<'a>> for crate::dynamic_value::Builder<'a> {
7820        fn from(builder: Builder<'a>) -> Self {
7821            Self::Struct(crate::dynamic_struct::Builder::new(
7822                builder.builder,
7823                crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
7824                    generic: &_private::RAW_SCHEMA,
7825                    field_types: _private::get_field_types,
7826                    annotation_types: _private::get_annotation_types,
7827                    type_id: ::core::any::TypeId::of::<Owned>(),
7828                }),
7829            ))
7830        }
7831    }
7832
7833    impl<'a> crate::traits::ImbueMut<'a> for Builder<'a> {
7834        fn imbue_mut(&mut self, cap_table: &'a mut crate::private::layout::CapTable) {
7835            self.builder
7836                .imbue(crate::private::layout::CapTableBuilder::from_ref(cap_table))
7837        }
7838    }
7839
7840    impl<'a> crate::traits::FromPointerBuilder<'a> for Builder<'a> {
7841        fn init_pointer(builder: crate::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
7842            builder
7843                .init_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE)
7844                .into()
7845        }
7846        fn get_from_pointer(
7847            builder: crate::private::layout::PointerBuilder<'a>,
7848            default: ::core::option::Option<&'a [crate::Word]>,
7849        ) -> crate::Result<Self> {
7850            ::core::result::Result::Ok(
7851                builder
7852                    .get_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE, default)?
7853                    .into(),
7854            )
7855        }
7856    }
7857
7858    impl crate::traits::SetterInput<Owned> for Reader<'_> {
7859        fn set_pointer_builder(
7860            mut pointer: crate::private::layout::PointerBuilder<'_>,
7861            value: Self,
7862            canonicalize: bool,
7863        ) -> crate::Result<()> {
7864            pointer.set_struct(&value.reader, canonicalize)
7865        }
7866    }
7867
7868    impl<'a> Builder<'a> {
7869        pub fn into_reader(self) -> Reader<'a> {
7870            self.builder.into_reader().into()
7871        }
7872        pub fn reborrow(&mut self) -> Builder<'_> {
7873            Builder {
7874                builder: self.builder.reborrow(),
7875            }
7876        }
7877        pub fn reborrow_as_reader(&self) -> Reader<'_> {
7878            self.builder.as_reader().into()
7879        }
7880
7881        pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
7882            self.builder.as_reader().total_size()
7883        }
7884        #[inline]
7885        pub fn set_void(&mut self, _value: ()) {
7886            self.builder.set_data_field::<u16>(0, 0);
7887        }
7888        #[inline]
7889        pub fn set_bool(&mut self, _value: ()) {
7890            self.builder.set_data_field::<u16>(0, 1);
7891        }
7892        #[inline]
7893        pub fn set_int8(&mut self, _value: ()) {
7894            self.builder.set_data_field::<u16>(0, 2);
7895        }
7896        #[inline]
7897        pub fn set_int16(&mut self, _value: ()) {
7898            self.builder.set_data_field::<u16>(0, 3);
7899        }
7900        #[inline]
7901        pub fn set_int32(&mut self, _value: ()) {
7902            self.builder.set_data_field::<u16>(0, 4);
7903        }
7904        #[inline]
7905        pub fn set_int64(&mut self, _value: ()) {
7906            self.builder.set_data_field::<u16>(0, 5);
7907        }
7908        #[inline]
7909        pub fn set_uint8(&mut self, _value: ()) {
7910            self.builder.set_data_field::<u16>(0, 6);
7911        }
7912        #[inline]
7913        pub fn set_uint16(&mut self, _value: ()) {
7914            self.builder.set_data_field::<u16>(0, 7);
7915        }
7916        #[inline]
7917        pub fn set_uint32(&mut self, _value: ()) {
7918            self.builder.set_data_field::<u16>(0, 8);
7919        }
7920        #[inline]
7921        pub fn set_uint64(&mut self, _value: ()) {
7922            self.builder.set_data_field::<u16>(0, 9);
7923        }
7924        #[inline]
7925        pub fn set_float32(&mut self, _value: ()) {
7926            self.builder.set_data_field::<u16>(0, 10);
7927        }
7928        #[inline]
7929        pub fn set_float64(&mut self, _value: ()) {
7930            self.builder.set_data_field::<u16>(0, 11);
7931        }
7932        #[inline]
7933        pub fn set_text(&mut self, _value: ()) {
7934            self.builder.set_data_field::<u16>(0, 12);
7935        }
7936        #[inline]
7937        pub fn set_data(&mut self, _value: ()) {
7938            self.builder.set_data_field::<u16>(0, 13);
7939        }
7940        #[inline]
7941        pub fn init_list(mut self) -> crate::schema_capnp::type_::list::Builder<'a> {
7942            self.builder.set_data_field::<u16>(0, 14);
7943            self.builder.reborrow().get_pointer_field(0).clear();
7944            self.builder.into()
7945        }
7946        #[inline]
7947        pub fn init_enum(mut self) -> crate::schema_capnp::type_::enum_::Builder<'a> {
7948            self.builder.set_data_field::<u16>(0, 15);
7949            self.builder.set_data_field::<u64>(1, 0u64);
7950            self.builder.reborrow().get_pointer_field(0).clear();
7951            self.builder.into()
7952        }
7953        #[inline]
7954        pub fn init_struct(mut self) -> crate::schema_capnp::type_::struct_::Builder<'a> {
7955            self.builder.set_data_field::<u16>(0, 16);
7956            self.builder.set_data_field::<u64>(1, 0u64);
7957            self.builder.reborrow().get_pointer_field(0).clear();
7958            self.builder.into()
7959        }
7960        #[inline]
7961        pub fn init_interface(mut self) -> crate::schema_capnp::type_::interface::Builder<'a> {
7962            self.builder.set_data_field::<u16>(0, 17);
7963            self.builder.set_data_field::<u64>(1, 0u64);
7964            self.builder.reborrow().get_pointer_field(0).clear();
7965            self.builder.into()
7966        }
7967        #[inline]
7968        pub fn init_any_pointer(self) -> crate::schema_capnp::type_::any_pointer::Builder<'a> {
7969            self.builder.set_data_field::<u16>(0, 18);
7970            self.builder.set_data_field::<u16>(4, 0);
7971            self.builder.set_data_field::<u16>(5, 0);
7972            self.builder.set_data_field::<u64>(2, 0u64);
7973            self.builder.set_data_field::<u16>(5, 0u16);
7974            self.builder.set_data_field::<u16>(5, 0u16);
7975            self.builder.into()
7976        }
7977        #[inline]
7978        pub fn get_type_id(self) -> u64 {
7979            self.builder.get_data_field::<u64>(3)
7980        }
7981        #[inline]
7982        pub fn set_type_id(&mut self, value: u64) {
7983            self.builder.set_data_field::<u64>(3, value);
7984        }
7985        #[inline]
7986        pub fn which(self) -> ::core::result::Result<WhichBuilder<'a>, crate::NotInSchema> {
7987            match self.builder.get_data_field::<u16>(0) {
7988                0 => ::core::result::Result::Ok(Void(())),
7989                1 => ::core::result::Result::Ok(Bool(())),
7990                2 => ::core::result::Result::Ok(Int8(())),
7991                3 => ::core::result::Result::Ok(Int16(())),
7992                4 => ::core::result::Result::Ok(Int32(())),
7993                5 => ::core::result::Result::Ok(Int64(())),
7994                6 => ::core::result::Result::Ok(Uint8(())),
7995                7 => ::core::result::Result::Ok(Uint16(())),
7996                8 => ::core::result::Result::Ok(Uint32(())),
7997                9 => ::core::result::Result::Ok(Uint64(())),
7998                10 => ::core::result::Result::Ok(Float32(())),
7999                11 => ::core::result::Result::Ok(Float64(())),
8000                12 => ::core::result::Result::Ok(Text(())),
8001                13 => ::core::result::Result::Ok(Data(())),
8002                14 => ::core::result::Result::Ok(List(self.builder.into())),
8003                15 => ::core::result::Result::Ok(Enum(self.builder.into())),
8004                16 => ::core::result::Result::Ok(Struct(self.builder.into())),
8005                17 => ::core::result::Result::Ok(Interface(self.builder.into())),
8006                18 => ::core::result::Result::Ok(AnyPointer(self.builder.into())),
8007                x => ::core::result::Result::Err(crate::NotInSchema(x)),
8008            }
8009        }
8010    }
8011
8012    pub struct Pipeline {
8013        _typeless: crate::any_pointer::Pipeline,
8014    }
8015    impl crate::capability::FromTypelessPipeline for Pipeline {
8016        fn new(typeless: crate::any_pointer::Pipeline) -> Self {
8017            Self {
8018                _typeless: typeless,
8019            }
8020        }
8021    }
8022    impl Pipeline {}
8023    mod _private {
8024        pub(crate) static ENCODED_NODE: [crate::Word; 285] = [
8025            crate::word(0, 0, 0, 0, 6, 0, 6, 0),
8026            crate::word(96, 204, 249, 225, 237, 120, 115, 208),
8027            crate::word(13, 0, 0, 0, 1, 0, 4, 0),
8028            crate::word(217, 114, 76, 98, 9, 197, 63, 169),
8029            crate::word(1, 0, 7, 0, 0, 0, 19, 0),
8030            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8031            crate::word(50, 50, 0, 0, 210, 58, 0, 0),
8032            crate::word(21, 0, 0, 0, 146, 0, 0, 0),
8033            crate::word(29, 0, 0, 0, 7, 0, 0, 0),
8034            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8035            crate::word(25, 0, 0, 0, 103, 4, 0, 0),
8036            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8037            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8038            crate::word(115, 99, 104, 101, 109, 97, 46, 99),
8039            crate::word(97, 112, 110, 112, 58, 84, 121, 112),
8040            crate::word(101, 0, 0, 0, 0, 0, 0, 0),
8041            crate::word(0, 0, 0, 0, 1, 0, 1, 0),
8042            crate::word(80, 0, 0, 0, 3, 0, 4, 0),
8043            crate::word(0, 0, 255, 255, 0, 0, 0, 0),
8044            crate::word(0, 0, 1, 0, 0, 0, 0, 0),
8045            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8046            crate::word(33, 2, 0, 0, 42, 0, 0, 0),
8047            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8048            crate::word(28, 2, 0, 0, 3, 0, 1, 0),
8049            crate::word(40, 2, 0, 0, 2, 0, 1, 0),
8050            crate::word(1, 0, 254, 255, 0, 0, 0, 0),
8051            crate::word(0, 0, 1, 0, 1, 0, 0, 0),
8052            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8053            crate::word(37, 2, 0, 0, 42, 0, 0, 0),
8054            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8055            crate::word(32, 2, 0, 0, 3, 0, 1, 0),
8056            crate::word(44, 2, 0, 0, 2, 0, 1, 0),
8057            crate::word(2, 0, 253, 255, 0, 0, 0, 0),
8058            crate::word(0, 0, 1, 0, 2, 0, 0, 0),
8059            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8060            crate::word(41, 2, 0, 0, 42, 0, 0, 0),
8061            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8062            crate::word(36, 2, 0, 0, 3, 0, 1, 0),
8063            crate::word(48, 2, 0, 0, 2, 0, 1, 0),
8064            crate::word(3, 0, 252, 255, 0, 0, 0, 0),
8065            crate::word(0, 0, 1, 0, 3, 0, 0, 0),
8066            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8067            crate::word(45, 2, 0, 0, 50, 0, 0, 0),
8068            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8069            crate::word(40, 2, 0, 0, 3, 0, 1, 0),
8070            crate::word(52, 2, 0, 0, 2, 0, 1, 0),
8071            crate::word(4, 0, 251, 255, 0, 0, 0, 0),
8072            crate::word(0, 0, 1, 0, 4, 0, 0, 0),
8073            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8074            crate::word(49, 2, 0, 0, 50, 0, 0, 0),
8075            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8076            crate::word(44, 2, 0, 0, 3, 0, 1, 0),
8077            crate::word(56, 2, 0, 0, 2, 0, 1, 0),
8078            crate::word(5, 0, 250, 255, 0, 0, 0, 0),
8079            crate::word(0, 0, 1, 0, 5, 0, 0, 0),
8080            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8081            crate::word(53, 2, 0, 0, 50, 0, 0, 0),
8082            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8083            crate::word(48, 2, 0, 0, 3, 0, 1, 0),
8084            crate::word(60, 2, 0, 0, 2, 0, 1, 0),
8085            crate::word(6, 0, 249, 255, 0, 0, 0, 0),
8086            crate::word(0, 0, 1, 0, 6, 0, 0, 0),
8087            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8088            crate::word(57, 2, 0, 0, 50, 0, 0, 0),
8089            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8090            crate::word(52, 2, 0, 0, 3, 0, 1, 0),
8091            crate::word(64, 2, 0, 0, 2, 0, 1, 0),
8092            crate::word(7, 0, 248, 255, 0, 0, 0, 0),
8093            crate::word(0, 0, 1, 0, 7, 0, 0, 0),
8094            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8095            crate::word(61, 2, 0, 0, 58, 0, 0, 0),
8096            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8097            crate::word(56, 2, 0, 0, 3, 0, 1, 0),
8098            crate::word(68, 2, 0, 0, 2, 0, 1, 0),
8099            crate::word(8, 0, 247, 255, 0, 0, 0, 0),
8100            crate::word(0, 0, 1, 0, 8, 0, 0, 0),
8101            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8102            crate::word(65, 2, 0, 0, 58, 0, 0, 0),
8103            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8104            crate::word(60, 2, 0, 0, 3, 0, 1, 0),
8105            crate::word(72, 2, 0, 0, 2, 0, 1, 0),
8106            crate::word(9, 0, 246, 255, 0, 0, 0, 0),
8107            crate::word(0, 0, 1, 0, 9, 0, 0, 0),
8108            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8109            crate::word(69, 2, 0, 0, 58, 0, 0, 0),
8110            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8111            crate::word(64, 2, 0, 0, 3, 0, 1, 0),
8112            crate::word(76, 2, 0, 0, 2, 0, 1, 0),
8113            crate::word(10, 0, 245, 255, 0, 0, 0, 0),
8114            crate::word(0, 0, 1, 0, 10, 0, 0, 0),
8115            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8116            crate::word(73, 2, 0, 0, 66, 0, 0, 0),
8117            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8118            crate::word(68, 2, 0, 0, 3, 0, 1, 0),
8119            crate::word(80, 2, 0, 0, 2, 0, 1, 0),
8120            crate::word(11, 0, 244, 255, 0, 0, 0, 0),
8121            crate::word(0, 0, 1, 0, 11, 0, 0, 0),
8122            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8123            crate::word(77, 2, 0, 0, 66, 0, 0, 0),
8124            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8125            crate::word(72, 2, 0, 0, 3, 0, 1, 0),
8126            crate::word(84, 2, 0, 0, 2, 0, 1, 0),
8127            crate::word(12, 0, 243, 255, 0, 0, 0, 0),
8128            crate::word(0, 0, 1, 0, 12, 0, 0, 0),
8129            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8130            crate::word(81, 2, 0, 0, 42, 0, 0, 0),
8131            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8132            crate::word(76, 2, 0, 0, 3, 0, 1, 0),
8133            crate::word(88, 2, 0, 0, 2, 0, 1, 0),
8134            crate::word(13, 0, 242, 255, 0, 0, 0, 0),
8135            crate::word(0, 0, 1, 0, 13, 0, 0, 0),
8136            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8137            crate::word(85, 2, 0, 0, 42, 0, 0, 0),
8138            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8139            crate::word(80, 2, 0, 0, 3, 0, 1, 0),
8140            crate::word(92, 2, 0, 0, 2, 0, 1, 0),
8141            crate::word(14, 0, 241, 255, 0, 0, 0, 0),
8142            crate::word(1, 0, 0, 0, 0, 0, 0, 0),
8143            crate::word(151, 234, 96, 10, 37, 57, 231, 135),
8144            crate::word(89, 2, 0, 0, 42, 0, 0, 0),
8145            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8146            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8147            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8148            crate::word(15, 0, 240, 255, 0, 0, 0, 0),
8149            crate::word(1, 0, 0, 0, 0, 0, 0, 0),
8150            crate::word(169, 135, 127, 26, 113, 120, 14, 158),
8151            crate::word(65, 2, 0, 0, 42, 0, 0, 0),
8152            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8153            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8154            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8155            crate::word(16, 0, 239, 255, 0, 0, 0, 0),
8156            crate::word(1, 0, 0, 0, 0, 0, 0, 0),
8157            crate::word(211, 198, 76, 239, 96, 111, 58, 172),
8158            crate::word(41, 2, 0, 0, 58, 0, 0, 0),
8159            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8160            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8161            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8162            crate::word(17, 0, 238, 255, 0, 0, 0, 0),
8163            crate::word(1, 0, 0, 0, 0, 0, 0, 0),
8164            crate::word(191, 12, 251, 247, 105, 202, 139, 237),
8165            crate::word(17, 2, 0, 0, 82, 0, 0, 0),
8166            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8167            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8168            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8169            crate::word(18, 0, 237, 255, 0, 0, 0, 0),
8170            crate::word(1, 0, 0, 0, 0, 0, 0, 0),
8171            crate::word(241, 73, 62, 162, 232, 63, 87, 194),
8172            crate::word(253, 1, 0, 0, 90, 0, 0, 0),
8173            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8174            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8175            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8176            crate::word(19, 0, 0, 0, 3, 0, 0, 0),
8177            crate::word(0, 0, 1, 0, 28, 0, 0, 0),
8178            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8179            crate::word(233, 1, 0, 0, 58, 0, 0, 0),
8180            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8181            crate::word(228, 1, 0, 0, 3, 0, 1, 0),
8182            crate::word(240, 1, 0, 0, 2, 0, 1, 0),
8183            crate::word(118, 111, 105, 100, 0, 0, 0, 0),
8184            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8185            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8186            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8187            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8188            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8189            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8190            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8191            crate::word(98, 111, 111, 108, 0, 0, 0, 0),
8192            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8193            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8194            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8195            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8196            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8197            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8198            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8199            crate::word(105, 110, 116, 56, 0, 0, 0, 0),
8200            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8201            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8202            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8203            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8204            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8205            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8206            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8207            crate::word(105, 110, 116, 49, 54, 0, 0, 0),
8208            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8209            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8210            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8211            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8212            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8213            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8214            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8215            crate::word(105, 110, 116, 51, 50, 0, 0, 0),
8216            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8217            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8218            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8219            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8220            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8221            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8222            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8223            crate::word(105, 110, 116, 54, 52, 0, 0, 0),
8224            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8225            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8226            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8227            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8228            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8229            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8230            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8231            crate::word(117, 105, 110, 116, 56, 0, 0, 0),
8232            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8233            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8234            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8235            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8236            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8237            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8238            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8239            crate::word(117, 105, 110, 116, 49, 54, 0, 0),
8240            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8241            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8242            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8243            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8244            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8245            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8246            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8247            crate::word(117, 105, 110, 116, 51, 50, 0, 0),
8248            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8249            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8250            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8251            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8252            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8253            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8254            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8255            crate::word(117, 105, 110, 116, 54, 52, 0, 0),
8256            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8257            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8258            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8259            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8260            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8261            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8262            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8263            crate::word(102, 108, 111, 97, 116, 51, 50, 0),
8264            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8265            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8266            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8267            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8268            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8269            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8270            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8271            crate::word(102, 108, 111, 97, 116, 54, 52, 0),
8272            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8273            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8274            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8275            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8276            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8277            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8278            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8279            crate::word(116, 101, 120, 116, 0, 0, 0, 0),
8280            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8281            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8282            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8283            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8284            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8285            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8286            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8287            crate::word(100, 97, 116, 97, 0, 0, 0, 0),
8288            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8289            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8290            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8291            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8292            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8293            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8294            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8295            crate::word(108, 105, 115, 116, 0, 0, 0, 0),
8296            crate::word(101, 110, 117, 109, 0, 0, 0, 0),
8297            crate::word(115, 116, 114, 117, 99, 116, 0, 0),
8298            crate::word(105, 110, 116, 101, 114, 102, 97, 99),
8299            crate::word(101, 0, 0, 0, 0, 0, 0, 0),
8300            crate::word(97, 110, 121, 80, 111, 105, 110, 116),
8301            crate::word(101, 114, 0, 0, 0, 0, 0, 0),
8302            crate::word(116, 121, 112, 101, 73, 100, 0, 0),
8303            crate::word(9, 0, 0, 0, 0, 0, 0, 0),
8304            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8305            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8306            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8307            crate::word(9, 0, 0, 0, 0, 0, 0, 0),
8308            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8309            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8310        ];
8311        pub(crate) fn get_field_types(index: u16) -> crate::introspect::Type {
8312            match index {
8313                0 => <() as crate::introspect::Introspect>::introspect(),
8314                1 => <() as crate::introspect::Introspect>::introspect(),
8315                2 => <() as crate::introspect::Introspect>::introspect(),
8316                3 => <() as crate::introspect::Introspect>::introspect(),
8317                4 => <() as crate::introspect::Introspect>::introspect(),
8318                5 => <() as crate::introspect::Introspect>::introspect(),
8319                6 => <() as crate::introspect::Introspect>::introspect(),
8320                7 => <() as crate::introspect::Introspect>::introspect(),
8321                8 => <() as crate::introspect::Introspect>::introspect(),
8322                9 => <() as crate::introspect::Introspect>::introspect(),
8323                10 => <() as crate::introspect::Introspect>::introspect(),
8324                11 => <() as crate::introspect::Introspect>::introspect(),
8325                12 => <() as crate::introspect::Introspect>::introspect(),
8326                13 => <() as crate::introspect::Introspect>::introspect(),
8327                14 => <crate::schema_capnp::type_::list::Owned as crate::introspect::Introspect>::introspect(),
8328                15 => <crate::schema_capnp::type_::enum_::Owned as crate::introspect::Introspect>::introspect(),
8329                16 => <crate::schema_capnp::type_::struct_::Owned as crate::introspect::Introspect>::introspect(),
8330                17 => <crate::schema_capnp::type_::interface::Owned as crate::introspect::Introspect>::introspect(),
8331                18 => <crate::schema_capnp::type_::any_pointer::Owned as crate::introspect::Introspect>::introspect(),
8332                19 => <u64 as crate::introspect::Introspect>::introspect(),
8333                _ => crate::introspect::panic_invalid_field_index(index),
8334            }
8335        }
8336        pub(crate) fn get_annotation_types(
8337            child_index: Option<u16>,
8338            index: u32,
8339        ) -> crate::introspect::Type {
8340            crate::introspect::panic_invalid_annotation_indices(child_index, index)
8341        }
8342        pub(crate) static ARENA: crate::private::arena::GeneratedCodeArena =
8343            crate::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
8344        pub(crate) static RAW_SCHEMA: crate::introspect::RawStructSchema =
8345            crate::introspect::RawStructSchema::new(
8346                &ARENA,
8347                NONUNION_MEMBERS,
8348                MEMBERS_BY_DISCRIMINANT,
8349                MEMBERS_BY_NAME,
8350            );
8351        pub(crate) static NONUNION_MEMBERS: &[u16] = &[19];
8352        pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[
8353            0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18,
8354        ];
8355        pub(crate) static MEMBERS_BY_NAME: &[u16] = &[
8356            18, 1, 13, 15, 10, 11, 3, 4, 5, 2, 17, 14, 16, 12, 19, 7, 8, 9, 6, 0,
8357        ];
8358        pub(crate) const TYPE_ID: u64 = 0xd073_78ed_e1f9_cc60;
8359    }
8360    pub enum Which<A0, A1, A2, A3, A4> {
8361        Void(()),
8362        Bool(()),
8363        Int8(()),
8364        Int16(()),
8365        Int32(()),
8366        Int64(()),
8367        Uint8(()),
8368        Uint16(()),
8369        Uint32(()),
8370        Uint64(()),
8371        Float32(()),
8372        Float64(()),
8373        Text(()),
8374        Data(()),
8375        List(A0),
8376        Enum(A1),
8377        Struct(A2),
8378        Interface(A3),
8379        AnyPointer(A4),
8380    }
8381    pub type WhichReader<'a> = Which<
8382        crate::schema_capnp::type_::list::Reader<'a>,
8383        crate::schema_capnp::type_::enum_::Reader<'a>,
8384        crate::schema_capnp::type_::struct_::Reader<'a>,
8385        crate::schema_capnp::type_::interface::Reader<'a>,
8386        crate::schema_capnp::type_::any_pointer::Reader<'a>,
8387    >;
8388    pub type WhichBuilder<'a> = Which<
8389        crate::schema_capnp::type_::list::Builder<'a>,
8390        crate::schema_capnp::type_::enum_::Builder<'a>,
8391        crate::schema_capnp::type_::struct_::Builder<'a>,
8392        crate::schema_capnp::type_::interface::Builder<'a>,
8393        crate::schema_capnp::type_::any_pointer::Builder<'a>,
8394    >;
8395
8396    pub mod list {
8397        #[derive(Copy, Clone)]
8398        pub struct Owned(());
8399        impl crate::introspect::Introspect for Owned {
8400            fn introspect() -> crate::introspect::Type {
8401                crate::introspect::TypeVariant::Struct(crate::introspect::RawBrandedStructSchema {
8402                    generic: &_private::RAW_SCHEMA,
8403                    field_types: _private::get_field_types,
8404                    annotation_types: _private::get_annotation_types,
8405                    type_id: ::core::any::TypeId::of::<Owned>(),
8406                })
8407                .into()
8408            }
8409        }
8410        impl crate::traits::Owned for Owned {
8411            type Reader<'a> = Reader<'a>;
8412            type Builder<'a> = Builder<'a>;
8413        }
8414        impl crate::traits::OwnedStruct for Owned {
8415            type Reader<'a> = Reader<'a>;
8416            type Builder<'a> = Builder<'a>;
8417        }
8418        impl crate::traits::Pipelined for Owned {
8419            type Pipeline = Pipeline;
8420        }
8421
8422        pub struct Reader<'a> {
8423            reader: crate::private::layout::StructReader<'a>,
8424        }
8425        impl ::core::marker::Copy for Reader<'_> {}
8426        impl ::core::clone::Clone for Reader<'_> {
8427            fn clone(&self) -> Self {
8428                *self
8429            }
8430        }
8431
8432        impl crate::traits::HasTypeId for Reader<'_> {
8433            const TYPE_ID: u64 = _private::TYPE_ID;
8434        }
8435        impl<'a> ::core::convert::From<crate::private::layout::StructReader<'a>> for Reader<'a> {
8436            fn from(reader: crate::private::layout::StructReader<'a>) -> Self {
8437                Self { reader }
8438            }
8439        }
8440
8441        impl<'a> ::core::convert::From<Reader<'a>> for crate::dynamic_value::Reader<'a> {
8442            fn from(reader: Reader<'a>) -> Self {
8443                Self::Struct(crate::dynamic_struct::Reader::new(
8444                    reader.reader,
8445                    crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
8446                        generic: &_private::RAW_SCHEMA,
8447                        field_types: _private::get_field_types,
8448                        annotation_types: _private::get_annotation_types,
8449                        type_id: ::core::any::TypeId::of::<Owned>(),
8450                    }),
8451                ))
8452            }
8453        }
8454
8455        impl ::core::fmt::Debug for Reader<'_> {
8456            fn fmt(
8457                &self,
8458                f: &mut ::core::fmt::Formatter<'_>,
8459            ) -> ::core::result::Result<(), ::core::fmt::Error> {
8460                core::fmt::Debug::fmt(
8461                    &::core::convert::Into::<crate::dynamic_value::Reader<'_>>::into(*self),
8462                    f,
8463                )
8464            }
8465        }
8466
8467        impl<'a> crate::traits::FromPointerReader<'a> for Reader<'a> {
8468            fn get_from_pointer(
8469                reader: &crate::private::layout::PointerReader<'a>,
8470                default: ::core::option::Option<&'a [crate::Word]>,
8471            ) -> crate::Result<Self> {
8472                ::core::result::Result::Ok(reader.get_struct(default)?.into())
8473            }
8474        }
8475
8476        impl<'a> crate::traits::IntoInternalStructReader<'a> for Reader<'a> {
8477            fn into_internal_struct_reader(self) -> crate::private::layout::StructReader<'a> {
8478                self.reader
8479            }
8480        }
8481
8482        impl<'a> crate::traits::Imbue<'a> for Reader<'a> {
8483            fn imbue(&mut self, cap_table: &'a crate::private::layout::CapTable) {
8484                self.reader
8485                    .imbue(crate::private::layout::CapTableReader::from_ref(cap_table))
8486            }
8487        }
8488
8489        impl<'a> Reader<'a> {
8490            pub fn reborrow(&self) -> Reader<'_> {
8491                Self { ..*self }
8492            }
8493
8494            pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
8495                self.reader.total_size()
8496            }
8497            #[inline]
8498            pub fn get_element_type(self) -> crate::Result<crate::schema_capnp::type_::Reader<'a>> {
8499                crate::traits::FromPointerReader::get_from_pointer(
8500                    &self.reader.get_pointer_field(0),
8501                    ::core::option::Option::None,
8502                )
8503            }
8504            #[inline]
8505            pub fn has_element_type(&self) -> bool {
8506                !self.reader.get_pointer_field(0).is_null()
8507            }
8508        }
8509
8510        pub struct Builder<'a> {
8511            builder: crate::private::layout::StructBuilder<'a>,
8512        }
8513        impl crate::traits::HasStructSize for Builder<'_> {
8514            const STRUCT_SIZE: crate::private::layout::StructSize =
8515                crate::private::layout::StructSize {
8516                    data: 4,
8517                    pointers: 1,
8518                };
8519        }
8520        impl crate::traits::HasTypeId for Builder<'_> {
8521            const TYPE_ID: u64 = _private::TYPE_ID;
8522        }
8523        impl<'a> ::core::convert::From<crate::private::layout::StructBuilder<'a>> for Builder<'a> {
8524            fn from(builder: crate::private::layout::StructBuilder<'a>) -> Self {
8525                Self { builder }
8526            }
8527        }
8528
8529        impl<'a> crate::traits::IntoInternalStructBuilder<'a> for Builder<'a> {
8530            fn into_internal_struct_builder(self) -> crate::private::layout::StructBuilder<'a> {
8531                self.builder
8532            }
8533        }
8534
8535        impl<'a> ::core::convert::From<Builder<'a>> for crate::dynamic_value::Builder<'a> {
8536            fn from(builder: Builder<'a>) -> Self {
8537                Self::Struct(crate::dynamic_struct::Builder::new(
8538                    builder.builder,
8539                    crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
8540                        generic: &_private::RAW_SCHEMA,
8541                        field_types: _private::get_field_types,
8542                        annotation_types: _private::get_annotation_types,
8543                        type_id: ::core::any::TypeId::of::<Owned>(),
8544                    }),
8545                ))
8546            }
8547        }
8548
8549        impl<'a> crate::traits::ImbueMut<'a> for Builder<'a> {
8550            fn imbue_mut(&mut self, cap_table: &'a mut crate::private::layout::CapTable) {
8551                self.builder
8552                    .imbue(crate::private::layout::CapTableBuilder::from_ref(cap_table))
8553            }
8554        }
8555
8556        impl<'a> crate::traits::FromPointerBuilder<'a> for Builder<'a> {
8557            fn init_pointer(
8558                builder: crate::private::layout::PointerBuilder<'a>,
8559                _size: u32,
8560            ) -> Self {
8561                builder
8562                    .init_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE)
8563                    .into()
8564            }
8565            fn get_from_pointer(
8566                builder: crate::private::layout::PointerBuilder<'a>,
8567                default: ::core::option::Option<&'a [crate::Word]>,
8568            ) -> crate::Result<Self> {
8569                ::core::result::Result::Ok(
8570                    builder
8571                        .get_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE, default)?
8572                        .into(),
8573                )
8574            }
8575        }
8576
8577        impl crate::traits::SetterInput<Owned> for Reader<'_> {
8578            fn set_pointer_builder(
8579                mut pointer: crate::private::layout::PointerBuilder<'_>,
8580                value: Self,
8581                canonicalize: bool,
8582            ) -> crate::Result<()> {
8583                pointer.set_struct(&value.reader, canonicalize)
8584            }
8585        }
8586
8587        impl<'a> Builder<'a> {
8588            pub fn into_reader(self) -> Reader<'a> {
8589                self.builder.into_reader().into()
8590            }
8591            pub fn reborrow(&mut self) -> Builder<'_> {
8592                Builder {
8593                    builder: self.builder.reborrow(),
8594                }
8595            }
8596            pub fn reborrow_as_reader(&self) -> Reader<'_> {
8597                self.builder.as_reader().into()
8598            }
8599
8600            pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
8601                self.builder.as_reader().total_size()
8602            }
8603            #[inline]
8604            pub fn get_element_type(
8605                self,
8606            ) -> crate::Result<crate::schema_capnp::type_::Builder<'a>> {
8607                crate::traits::FromPointerBuilder::get_from_pointer(
8608                    self.builder.get_pointer_field(0),
8609                    ::core::option::Option::None,
8610                )
8611            }
8612            #[inline]
8613            pub fn set_element_type(
8614                &mut self,
8615                value: crate::schema_capnp::type_::Reader<'_>,
8616            ) -> crate::Result<()> {
8617                crate::traits::SetterInput::set_pointer_builder(
8618                    self.builder.reborrow().get_pointer_field(0),
8619                    value,
8620                    false,
8621                )
8622            }
8623            #[inline]
8624            pub fn init_element_type(self) -> crate::schema_capnp::type_::Builder<'a> {
8625                crate::traits::FromPointerBuilder::init_pointer(
8626                    self.builder.get_pointer_field(0),
8627                    0,
8628                )
8629            }
8630            #[inline]
8631            pub fn has_element_type(&self) -> bool {
8632                !self.builder.is_pointer_field_null(0)
8633            }
8634        }
8635
8636        pub struct Pipeline {
8637            _typeless: crate::any_pointer::Pipeline,
8638        }
8639        impl crate::capability::FromTypelessPipeline for Pipeline {
8640            fn new(typeless: crate::any_pointer::Pipeline) -> Self {
8641                Self {
8642                    _typeless: typeless,
8643                }
8644            }
8645        }
8646        impl Pipeline {
8647            pub fn get_element_type(&self) -> crate::schema_capnp::type_::Pipeline {
8648                crate::capability::FromTypelessPipeline::new(self._typeless.get_pointer_field(0))
8649            }
8650        }
8651        mod _private {
8652            pub(crate) static ENCODED_NODE: [crate::Word; 33] = [
8653                crate::word(0, 0, 0, 0, 6, 0, 6, 0),
8654                crate::word(151, 234, 96, 10, 37, 57, 231, 135),
8655                crate::word(18, 0, 0, 0, 1, 0, 4, 0),
8656                crate::word(96, 204, 249, 225, 237, 120, 115, 208),
8657                crate::word(1, 0, 7, 0, 1, 0, 0, 0),
8658                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8659                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8660                crate::word(21, 0, 0, 0, 186, 0, 0, 0),
8661                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8662                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8663                crate::word(21, 0, 0, 0, 63, 0, 0, 0),
8664                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8665                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8666                crate::word(115, 99, 104, 101, 109, 97, 46, 99),
8667                crate::word(97, 112, 110, 112, 58, 84, 121, 112),
8668                crate::word(101, 46, 108, 105, 115, 116, 0, 0),
8669                crate::word(4, 0, 0, 0, 3, 0, 4, 0),
8670                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8671                crate::word(0, 0, 1, 0, 14, 0, 0, 0),
8672                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8673                crate::word(13, 0, 0, 0, 98, 0, 0, 0),
8674                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8675                crate::word(12, 0, 0, 0, 3, 0, 1, 0),
8676                crate::word(24, 0, 0, 0, 2, 0, 1, 0),
8677                crate::word(101, 108, 101, 109, 101, 110, 116, 84),
8678                crate::word(121, 112, 101, 0, 0, 0, 0, 0),
8679                crate::word(16, 0, 0, 0, 0, 0, 0, 0),
8680                crate::word(96, 204, 249, 225, 237, 120, 115, 208),
8681                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8682                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8683                crate::word(16, 0, 0, 0, 0, 0, 0, 0),
8684                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8685                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8686            ];
8687            pub(crate) fn get_field_types(index: u16) -> crate::introspect::Type {
8688                match index {
8689                    0 => <crate::schema_capnp::type_::Owned as crate::introspect::Introspect>::introspect(),
8690                    _ => crate::introspect::panic_invalid_field_index(index),
8691                }
8692            }
8693            pub(crate) fn get_annotation_types(
8694                child_index: Option<u16>,
8695                index: u32,
8696            ) -> crate::introspect::Type {
8697                crate::introspect::panic_invalid_annotation_indices(child_index, index)
8698            }
8699            pub(crate) static ARENA: crate::private::arena::GeneratedCodeArena =
8700                crate::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
8701            pub(crate) static RAW_SCHEMA: crate::introspect::RawStructSchema =
8702                crate::introspect::RawStructSchema::new(
8703                    &ARENA,
8704                    NONUNION_MEMBERS,
8705                    MEMBERS_BY_DISCRIMINANT,
8706                    MEMBERS_BY_NAME,
8707                );
8708            pub(crate) static NONUNION_MEMBERS: &[u16] = &[0];
8709            pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[];
8710            pub(crate) static MEMBERS_BY_NAME: &[u16] = &[0];
8711            pub(crate) const TYPE_ID: u64 = 0x87e7_3925_0a60_ea97;
8712        }
8713    }
8714
8715    pub mod enum_ {
8716        #[derive(Copy, Clone)]
8717        pub struct Owned(());
8718        impl crate::introspect::Introspect for Owned {
8719            fn introspect() -> crate::introspect::Type {
8720                crate::introspect::TypeVariant::Struct(crate::introspect::RawBrandedStructSchema {
8721                    generic: &_private::RAW_SCHEMA,
8722                    field_types: _private::get_field_types,
8723                    annotation_types: _private::get_annotation_types,
8724                    type_id: ::core::any::TypeId::of::<Owned>(),
8725                })
8726                .into()
8727            }
8728        }
8729        impl crate::traits::Owned for Owned {
8730            type Reader<'a> = Reader<'a>;
8731            type Builder<'a> = Builder<'a>;
8732        }
8733        impl crate::traits::OwnedStruct for Owned {
8734            type Reader<'a> = Reader<'a>;
8735            type Builder<'a> = Builder<'a>;
8736        }
8737        impl crate::traits::Pipelined for Owned {
8738            type Pipeline = Pipeline;
8739        }
8740
8741        pub struct Reader<'a> {
8742            reader: crate::private::layout::StructReader<'a>,
8743        }
8744        impl ::core::marker::Copy for Reader<'_> {}
8745        impl ::core::clone::Clone for Reader<'_> {
8746            fn clone(&self) -> Self {
8747                *self
8748            }
8749        }
8750
8751        impl crate::traits::HasTypeId for Reader<'_> {
8752            const TYPE_ID: u64 = _private::TYPE_ID;
8753        }
8754        impl<'a> ::core::convert::From<crate::private::layout::StructReader<'a>> for Reader<'a> {
8755            fn from(reader: crate::private::layout::StructReader<'a>) -> Self {
8756                Self { reader }
8757            }
8758        }
8759
8760        impl<'a> ::core::convert::From<Reader<'a>> for crate::dynamic_value::Reader<'a> {
8761            fn from(reader: Reader<'a>) -> Self {
8762                Self::Struct(crate::dynamic_struct::Reader::new(
8763                    reader.reader,
8764                    crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
8765                        generic: &_private::RAW_SCHEMA,
8766                        field_types: _private::get_field_types,
8767                        annotation_types: _private::get_annotation_types,
8768                        type_id: ::core::any::TypeId::of::<Owned>(),
8769                    }),
8770                ))
8771            }
8772        }
8773
8774        impl ::core::fmt::Debug for Reader<'_> {
8775            fn fmt(
8776                &self,
8777                f: &mut ::core::fmt::Formatter<'_>,
8778            ) -> ::core::result::Result<(), ::core::fmt::Error> {
8779                core::fmt::Debug::fmt(
8780                    &::core::convert::Into::<crate::dynamic_value::Reader<'_>>::into(*self),
8781                    f,
8782                )
8783            }
8784        }
8785
8786        impl<'a> crate::traits::FromPointerReader<'a> for Reader<'a> {
8787            fn get_from_pointer(
8788                reader: &crate::private::layout::PointerReader<'a>,
8789                default: ::core::option::Option<&'a [crate::Word]>,
8790            ) -> crate::Result<Self> {
8791                ::core::result::Result::Ok(reader.get_struct(default)?.into())
8792            }
8793        }
8794
8795        impl<'a> crate::traits::IntoInternalStructReader<'a> for Reader<'a> {
8796            fn into_internal_struct_reader(self) -> crate::private::layout::StructReader<'a> {
8797                self.reader
8798            }
8799        }
8800
8801        impl<'a> crate::traits::Imbue<'a> for Reader<'a> {
8802            fn imbue(&mut self, cap_table: &'a crate::private::layout::CapTable) {
8803                self.reader
8804                    .imbue(crate::private::layout::CapTableReader::from_ref(cap_table))
8805            }
8806        }
8807
8808        impl<'a> Reader<'a> {
8809            pub fn reborrow(&self) -> Reader<'_> {
8810                Self { ..*self }
8811            }
8812
8813            pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
8814                self.reader.total_size()
8815            }
8816            #[inline]
8817            pub fn get_type_id(self) -> u64 {
8818                self.reader.get_data_field::<u64>(1)
8819            }
8820            #[inline]
8821            pub fn get_brand(self) -> crate::Result<crate::schema_capnp::brand::Reader<'a>> {
8822                crate::traits::FromPointerReader::get_from_pointer(
8823                    &self.reader.get_pointer_field(0),
8824                    ::core::option::Option::None,
8825                )
8826            }
8827            #[inline]
8828            pub fn has_brand(&self) -> bool {
8829                !self.reader.get_pointer_field(0).is_null()
8830            }
8831        }
8832
8833        pub struct Builder<'a> {
8834            builder: crate::private::layout::StructBuilder<'a>,
8835        }
8836        impl crate::traits::HasStructSize for Builder<'_> {
8837            const STRUCT_SIZE: crate::private::layout::StructSize =
8838                crate::private::layout::StructSize {
8839                    data: 4,
8840                    pointers: 1,
8841                };
8842        }
8843        impl crate::traits::HasTypeId for Builder<'_> {
8844            const TYPE_ID: u64 = _private::TYPE_ID;
8845        }
8846        impl<'a> ::core::convert::From<crate::private::layout::StructBuilder<'a>> for Builder<'a> {
8847            fn from(builder: crate::private::layout::StructBuilder<'a>) -> Self {
8848                Self { builder }
8849            }
8850        }
8851
8852        impl<'a> crate::traits::IntoInternalStructBuilder<'a> for Builder<'a> {
8853            fn into_internal_struct_builder(self) -> crate::private::layout::StructBuilder<'a> {
8854                self.builder
8855            }
8856        }
8857
8858        impl<'a> ::core::convert::From<Builder<'a>> for crate::dynamic_value::Builder<'a> {
8859            fn from(builder: Builder<'a>) -> Self {
8860                Self::Struct(crate::dynamic_struct::Builder::new(
8861                    builder.builder,
8862                    crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
8863                        generic: &_private::RAW_SCHEMA,
8864                        field_types: _private::get_field_types,
8865                        annotation_types: _private::get_annotation_types,
8866                        type_id: ::core::any::TypeId::of::<Owned>(),
8867                    }),
8868                ))
8869            }
8870        }
8871
8872        impl<'a> crate::traits::ImbueMut<'a> for Builder<'a> {
8873            fn imbue_mut(&mut self, cap_table: &'a mut crate::private::layout::CapTable) {
8874                self.builder
8875                    .imbue(crate::private::layout::CapTableBuilder::from_ref(cap_table))
8876            }
8877        }
8878
8879        impl<'a> crate::traits::FromPointerBuilder<'a> for Builder<'a> {
8880            fn init_pointer(
8881                builder: crate::private::layout::PointerBuilder<'a>,
8882                _size: u32,
8883            ) -> Self {
8884                builder
8885                    .init_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE)
8886                    .into()
8887            }
8888            fn get_from_pointer(
8889                builder: crate::private::layout::PointerBuilder<'a>,
8890                default: ::core::option::Option<&'a [crate::Word]>,
8891            ) -> crate::Result<Self> {
8892                ::core::result::Result::Ok(
8893                    builder
8894                        .get_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE, default)?
8895                        .into(),
8896                )
8897            }
8898        }
8899
8900        impl crate::traits::SetterInput<Owned> for Reader<'_> {
8901            fn set_pointer_builder(
8902                mut pointer: crate::private::layout::PointerBuilder<'_>,
8903                value: Self,
8904                canonicalize: bool,
8905            ) -> crate::Result<()> {
8906                pointer.set_struct(&value.reader, canonicalize)
8907            }
8908        }
8909
8910        impl<'a> Builder<'a> {
8911            pub fn into_reader(self) -> Reader<'a> {
8912                self.builder.into_reader().into()
8913            }
8914            pub fn reborrow(&mut self) -> Builder<'_> {
8915                Builder {
8916                    builder: self.builder.reborrow(),
8917                }
8918            }
8919            pub fn reborrow_as_reader(&self) -> Reader<'_> {
8920                self.builder.as_reader().into()
8921            }
8922
8923            pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
8924                self.builder.as_reader().total_size()
8925            }
8926            #[inline]
8927            pub fn get_type_id(self) -> u64 {
8928                self.builder.get_data_field::<u64>(1)
8929            }
8930            #[inline]
8931            pub fn set_type_id(&mut self, value: u64) {
8932                self.builder.set_data_field::<u64>(1, value);
8933            }
8934            #[inline]
8935            pub fn get_brand(self) -> crate::Result<crate::schema_capnp::brand::Builder<'a>> {
8936                crate::traits::FromPointerBuilder::get_from_pointer(
8937                    self.builder.get_pointer_field(0),
8938                    ::core::option::Option::None,
8939                )
8940            }
8941            #[inline]
8942            pub fn set_brand(
8943                &mut self,
8944                value: crate::schema_capnp::brand::Reader<'_>,
8945            ) -> crate::Result<()> {
8946                crate::traits::SetterInput::set_pointer_builder(
8947                    self.builder.reborrow().get_pointer_field(0),
8948                    value,
8949                    false,
8950                )
8951            }
8952            #[inline]
8953            pub fn init_brand(self) -> crate::schema_capnp::brand::Builder<'a> {
8954                crate::traits::FromPointerBuilder::init_pointer(
8955                    self.builder.get_pointer_field(0),
8956                    0,
8957                )
8958            }
8959            #[inline]
8960            pub fn has_brand(&self) -> bool {
8961                !self.builder.is_pointer_field_null(0)
8962            }
8963        }
8964
8965        pub struct Pipeline {
8966            _typeless: crate::any_pointer::Pipeline,
8967        }
8968        impl crate::capability::FromTypelessPipeline for Pipeline {
8969            fn new(typeless: crate::any_pointer::Pipeline) -> Self {
8970                Self {
8971                    _typeless: typeless,
8972                }
8973            }
8974        }
8975        impl Pipeline {
8976            pub fn get_brand(&self) -> crate::schema_capnp::brand::Pipeline {
8977                crate::capability::FromTypelessPipeline::new(self._typeless.get_pointer_field(0))
8978            }
8979        }
8980        mod _private {
8981            pub(crate) static ENCODED_NODE: [crate::Word; 47] = [
8982                crate::word(0, 0, 0, 0, 6, 0, 6, 0),
8983                crate::word(169, 135, 127, 26, 113, 120, 14, 158),
8984                crate::word(18, 0, 0, 0, 1, 0, 4, 0),
8985                crate::word(96, 204, 249, 225, 237, 120, 115, 208),
8986                crate::word(1, 0, 7, 0, 1, 0, 0, 0),
8987                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8988                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8989                crate::word(21, 0, 0, 0, 186, 0, 0, 0),
8990                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8991                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8992                crate::word(21, 0, 0, 0, 119, 0, 0, 0),
8993                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8994                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
8995                crate::word(115, 99, 104, 101, 109, 97, 46, 99),
8996                crate::word(97, 112, 110, 112, 58, 84, 121, 112),
8997                crate::word(101, 46, 101, 110, 117, 109, 0, 0),
8998                crate::word(8, 0, 0, 0, 3, 0, 4, 0),
8999                crate::word(0, 0, 0, 0, 1, 0, 0, 0),
9000                crate::word(0, 0, 1, 0, 15, 0, 0, 0),
9001                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9002                crate::word(41, 0, 0, 0, 58, 0, 0, 0),
9003                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9004                crate::word(36, 0, 0, 0, 3, 0, 1, 0),
9005                crate::word(48, 0, 0, 0, 2, 0, 1, 0),
9006                crate::word(1, 0, 0, 0, 0, 0, 0, 0),
9007                crate::word(0, 0, 1, 0, 21, 0, 0, 0),
9008                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9009                crate::word(45, 0, 0, 0, 50, 0, 0, 0),
9010                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9011                crate::word(40, 0, 0, 0, 3, 0, 1, 0),
9012                crate::word(52, 0, 0, 0, 2, 0, 1, 0),
9013                crate::word(116, 121, 112, 101, 73, 100, 0, 0),
9014                crate::word(9, 0, 0, 0, 0, 0, 0, 0),
9015                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9016                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9017                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9018                crate::word(9, 0, 0, 0, 0, 0, 0, 0),
9019                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9020                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9021                crate::word(98, 114, 97, 110, 100, 0, 0, 0),
9022                crate::word(16, 0, 0, 0, 0, 0, 0, 0),
9023                crate::word(43, 66, 101, 96, 240, 85, 52, 144),
9024                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9025                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9026                crate::word(16, 0, 0, 0, 0, 0, 0, 0),
9027                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9028                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9029            ];
9030            pub(crate) fn get_field_types(index: u16) -> crate::introspect::Type {
9031                match index {
9032                    0 => <u64 as crate::introspect::Introspect>::introspect(),
9033                    1 => <crate::schema_capnp::brand::Owned as crate::introspect::Introspect>::introspect(),
9034                    _ => crate::introspect::panic_invalid_field_index(index),
9035                }
9036            }
9037            pub(crate) fn get_annotation_types(
9038                child_index: Option<u16>,
9039                index: u32,
9040            ) -> crate::introspect::Type {
9041                crate::introspect::panic_invalid_annotation_indices(child_index, index)
9042            }
9043            pub(crate) static ARENA: crate::private::arena::GeneratedCodeArena =
9044                crate::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
9045            pub(crate) static RAW_SCHEMA: crate::introspect::RawStructSchema =
9046                crate::introspect::RawStructSchema::new(
9047                    &ARENA,
9048                    NONUNION_MEMBERS,
9049                    MEMBERS_BY_DISCRIMINANT,
9050                    MEMBERS_BY_NAME,
9051                );
9052            pub(crate) static NONUNION_MEMBERS: &[u16] = &[0, 1];
9053            pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[];
9054            pub(crate) static MEMBERS_BY_NAME: &[u16] = &[1, 0];
9055            pub(crate) const TYPE_ID: u64 = 0x9e0e_7871_1a7f_87a9;
9056        }
9057    }
9058
9059    pub mod struct_ {
9060        #[derive(Copy, Clone)]
9061        pub struct Owned(());
9062        impl crate::introspect::Introspect for Owned {
9063            fn introspect() -> crate::introspect::Type {
9064                crate::introspect::TypeVariant::Struct(crate::introspect::RawBrandedStructSchema {
9065                    generic: &_private::RAW_SCHEMA,
9066                    field_types: _private::get_field_types,
9067                    annotation_types: _private::get_annotation_types,
9068                    type_id: ::core::any::TypeId::of::<Owned>(),
9069                })
9070                .into()
9071            }
9072        }
9073        impl crate::traits::Owned for Owned {
9074            type Reader<'a> = Reader<'a>;
9075            type Builder<'a> = Builder<'a>;
9076        }
9077        impl crate::traits::OwnedStruct for Owned {
9078            type Reader<'a> = Reader<'a>;
9079            type Builder<'a> = Builder<'a>;
9080        }
9081        impl crate::traits::Pipelined for Owned {
9082            type Pipeline = Pipeline;
9083        }
9084
9085        pub struct Reader<'a> {
9086            reader: crate::private::layout::StructReader<'a>,
9087        }
9088        impl ::core::marker::Copy for Reader<'_> {}
9089        impl ::core::clone::Clone for Reader<'_> {
9090            fn clone(&self) -> Self {
9091                *self
9092            }
9093        }
9094
9095        impl crate::traits::HasTypeId for Reader<'_> {
9096            const TYPE_ID: u64 = _private::TYPE_ID;
9097        }
9098        impl<'a> ::core::convert::From<crate::private::layout::StructReader<'a>> for Reader<'a> {
9099            fn from(reader: crate::private::layout::StructReader<'a>) -> Self {
9100                Self { reader }
9101            }
9102        }
9103
9104        impl<'a> ::core::convert::From<Reader<'a>> for crate::dynamic_value::Reader<'a> {
9105            fn from(reader: Reader<'a>) -> Self {
9106                Self::Struct(crate::dynamic_struct::Reader::new(
9107                    reader.reader,
9108                    crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
9109                        generic: &_private::RAW_SCHEMA,
9110                        field_types: _private::get_field_types,
9111                        annotation_types: _private::get_annotation_types,
9112                        type_id: ::core::any::TypeId::of::<Owned>(),
9113                    }),
9114                ))
9115            }
9116        }
9117
9118        impl ::core::fmt::Debug for Reader<'_> {
9119            fn fmt(
9120                &self,
9121                f: &mut ::core::fmt::Formatter<'_>,
9122            ) -> ::core::result::Result<(), ::core::fmt::Error> {
9123                core::fmt::Debug::fmt(
9124                    &::core::convert::Into::<crate::dynamic_value::Reader<'_>>::into(*self),
9125                    f,
9126                )
9127            }
9128        }
9129
9130        impl<'a> crate::traits::FromPointerReader<'a> for Reader<'a> {
9131            fn get_from_pointer(
9132                reader: &crate::private::layout::PointerReader<'a>,
9133                default: ::core::option::Option<&'a [crate::Word]>,
9134            ) -> crate::Result<Self> {
9135                ::core::result::Result::Ok(reader.get_struct(default)?.into())
9136            }
9137        }
9138
9139        impl<'a> crate::traits::IntoInternalStructReader<'a> for Reader<'a> {
9140            fn into_internal_struct_reader(self) -> crate::private::layout::StructReader<'a> {
9141                self.reader
9142            }
9143        }
9144
9145        impl<'a> crate::traits::Imbue<'a> for Reader<'a> {
9146            fn imbue(&mut self, cap_table: &'a crate::private::layout::CapTable) {
9147                self.reader
9148                    .imbue(crate::private::layout::CapTableReader::from_ref(cap_table))
9149            }
9150        }
9151
9152        impl<'a> Reader<'a> {
9153            pub fn reborrow(&self) -> Reader<'_> {
9154                Self { ..*self }
9155            }
9156
9157            pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
9158                self.reader.total_size()
9159            }
9160            #[inline]
9161            pub fn get_type_id(self) -> u64 {
9162                self.reader.get_data_field::<u64>(1)
9163            }
9164            #[inline]
9165            pub fn get_brand(self) -> crate::Result<crate::schema_capnp::brand::Reader<'a>> {
9166                crate::traits::FromPointerReader::get_from_pointer(
9167                    &self.reader.get_pointer_field(0),
9168                    ::core::option::Option::None,
9169                )
9170            }
9171            #[inline]
9172            pub fn has_brand(&self) -> bool {
9173                !self.reader.get_pointer_field(0).is_null()
9174            }
9175        }
9176
9177        pub struct Builder<'a> {
9178            builder: crate::private::layout::StructBuilder<'a>,
9179        }
9180        impl crate::traits::HasStructSize for Builder<'_> {
9181            const STRUCT_SIZE: crate::private::layout::StructSize =
9182                crate::private::layout::StructSize {
9183                    data: 4,
9184                    pointers: 1,
9185                };
9186        }
9187        impl crate::traits::HasTypeId for Builder<'_> {
9188            const TYPE_ID: u64 = _private::TYPE_ID;
9189        }
9190        impl<'a> ::core::convert::From<crate::private::layout::StructBuilder<'a>> for Builder<'a> {
9191            fn from(builder: crate::private::layout::StructBuilder<'a>) -> Self {
9192                Self { builder }
9193            }
9194        }
9195
9196        impl<'a> crate::traits::IntoInternalStructBuilder<'a> for Builder<'a> {
9197            fn into_internal_struct_builder(self) -> crate::private::layout::StructBuilder<'a> {
9198                self.builder
9199            }
9200        }
9201
9202        impl<'a> ::core::convert::From<Builder<'a>> for crate::dynamic_value::Builder<'a> {
9203            fn from(builder: Builder<'a>) -> Self {
9204                Self::Struct(crate::dynamic_struct::Builder::new(
9205                    builder.builder,
9206                    crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
9207                        generic: &_private::RAW_SCHEMA,
9208                        field_types: _private::get_field_types,
9209                        annotation_types: _private::get_annotation_types,
9210                        type_id: ::core::any::TypeId::of::<Owned>(),
9211                    }),
9212                ))
9213            }
9214        }
9215
9216        impl<'a> crate::traits::ImbueMut<'a> for Builder<'a> {
9217            fn imbue_mut(&mut self, cap_table: &'a mut crate::private::layout::CapTable) {
9218                self.builder
9219                    .imbue(crate::private::layout::CapTableBuilder::from_ref(cap_table))
9220            }
9221        }
9222
9223        impl<'a> crate::traits::FromPointerBuilder<'a> for Builder<'a> {
9224            fn init_pointer(
9225                builder: crate::private::layout::PointerBuilder<'a>,
9226                _size: u32,
9227            ) -> Self {
9228                builder
9229                    .init_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE)
9230                    .into()
9231            }
9232            fn get_from_pointer(
9233                builder: crate::private::layout::PointerBuilder<'a>,
9234                default: ::core::option::Option<&'a [crate::Word]>,
9235            ) -> crate::Result<Self> {
9236                ::core::result::Result::Ok(
9237                    builder
9238                        .get_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE, default)?
9239                        .into(),
9240                )
9241            }
9242        }
9243
9244        impl crate::traits::SetterInput<Owned> for Reader<'_> {
9245            fn set_pointer_builder(
9246                mut pointer: crate::private::layout::PointerBuilder<'_>,
9247                value: Self,
9248                canonicalize: bool,
9249            ) -> crate::Result<()> {
9250                pointer.set_struct(&value.reader, canonicalize)
9251            }
9252        }
9253
9254        impl<'a> Builder<'a> {
9255            pub fn into_reader(self) -> Reader<'a> {
9256                self.builder.into_reader().into()
9257            }
9258            pub fn reborrow(&mut self) -> Builder<'_> {
9259                Builder {
9260                    builder: self.builder.reborrow(),
9261                }
9262            }
9263            pub fn reborrow_as_reader(&self) -> Reader<'_> {
9264                self.builder.as_reader().into()
9265            }
9266
9267            pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
9268                self.builder.as_reader().total_size()
9269            }
9270            #[inline]
9271            pub fn get_type_id(self) -> u64 {
9272                self.builder.get_data_field::<u64>(1)
9273            }
9274            #[inline]
9275            pub fn set_type_id(&mut self, value: u64) {
9276                self.builder.set_data_field::<u64>(1, value);
9277            }
9278            #[inline]
9279            pub fn get_brand(self) -> crate::Result<crate::schema_capnp::brand::Builder<'a>> {
9280                crate::traits::FromPointerBuilder::get_from_pointer(
9281                    self.builder.get_pointer_field(0),
9282                    ::core::option::Option::None,
9283                )
9284            }
9285            #[inline]
9286            pub fn set_brand(
9287                &mut self,
9288                value: crate::schema_capnp::brand::Reader<'_>,
9289            ) -> crate::Result<()> {
9290                crate::traits::SetterInput::set_pointer_builder(
9291                    self.builder.reborrow().get_pointer_field(0),
9292                    value,
9293                    false,
9294                )
9295            }
9296            #[inline]
9297            pub fn init_brand(self) -> crate::schema_capnp::brand::Builder<'a> {
9298                crate::traits::FromPointerBuilder::init_pointer(
9299                    self.builder.get_pointer_field(0),
9300                    0,
9301                )
9302            }
9303            #[inline]
9304            pub fn has_brand(&self) -> bool {
9305                !self.builder.is_pointer_field_null(0)
9306            }
9307        }
9308
9309        pub struct Pipeline {
9310            _typeless: crate::any_pointer::Pipeline,
9311        }
9312        impl crate::capability::FromTypelessPipeline for Pipeline {
9313            fn new(typeless: crate::any_pointer::Pipeline) -> Self {
9314                Self {
9315                    _typeless: typeless,
9316                }
9317            }
9318        }
9319        impl Pipeline {
9320            pub fn get_brand(&self) -> crate::schema_capnp::brand::Pipeline {
9321                crate::capability::FromTypelessPipeline::new(self._typeless.get_pointer_field(0))
9322            }
9323        }
9324        mod _private {
9325            pub(crate) static ENCODED_NODE: [crate::Word; 48] = [
9326                crate::word(0, 0, 0, 0, 6, 0, 6, 0),
9327                crate::word(211, 198, 76, 239, 96, 111, 58, 172),
9328                crate::word(18, 0, 0, 0, 1, 0, 4, 0),
9329                crate::word(96, 204, 249, 225, 237, 120, 115, 208),
9330                crate::word(1, 0, 7, 0, 1, 0, 0, 0),
9331                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9332                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9333                crate::word(21, 0, 0, 0, 202, 0, 0, 0),
9334                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9335                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9336                crate::word(25, 0, 0, 0, 119, 0, 0, 0),
9337                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9338                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9339                crate::word(115, 99, 104, 101, 109, 97, 46, 99),
9340                crate::word(97, 112, 110, 112, 58, 84, 121, 112),
9341                crate::word(101, 46, 115, 116, 114, 117, 99, 116),
9342                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9343                crate::word(8, 0, 0, 0, 3, 0, 4, 0),
9344                crate::word(0, 0, 0, 0, 1, 0, 0, 0),
9345                crate::word(0, 0, 1, 0, 16, 0, 0, 0),
9346                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9347                crate::word(41, 0, 0, 0, 58, 0, 0, 0),
9348                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9349                crate::word(36, 0, 0, 0, 3, 0, 1, 0),
9350                crate::word(48, 0, 0, 0, 2, 0, 1, 0),
9351                crate::word(1, 0, 0, 0, 0, 0, 0, 0),
9352                crate::word(0, 0, 1, 0, 22, 0, 0, 0),
9353                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9354                crate::word(45, 0, 0, 0, 50, 0, 0, 0),
9355                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9356                crate::word(40, 0, 0, 0, 3, 0, 1, 0),
9357                crate::word(52, 0, 0, 0, 2, 0, 1, 0),
9358                crate::word(116, 121, 112, 101, 73, 100, 0, 0),
9359                crate::word(9, 0, 0, 0, 0, 0, 0, 0),
9360                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9361                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9362                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9363                crate::word(9, 0, 0, 0, 0, 0, 0, 0),
9364                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9365                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9366                crate::word(98, 114, 97, 110, 100, 0, 0, 0),
9367                crate::word(16, 0, 0, 0, 0, 0, 0, 0),
9368                crate::word(43, 66, 101, 96, 240, 85, 52, 144),
9369                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9370                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9371                crate::word(16, 0, 0, 0, 0, 0, 0, 0),
9372                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9373                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9374            ];
9375            pub(crate) fn get_field_types(index: u16) -> crate::introspect::Type {
9376                match index {
9377                    0 => <u64 as crate::introspect::Introspect>::introspect(),
9378                    1 => <crate::schema_capnp::brand::Owned as crate::introspect::Introspect>::introspect(),
9379                    _ => crate::introspect::panic_invalid_field_index(index),
9380                }
9381            }
9382            pub(crate) fn get_annotation_types(
9383                child_index: Option<u16>,
9384                index: u32,
9385            ) -> crate::introspect::Type {
9386                crate::introspect::panic_invalid_annotation_indices(child_index, index)
9387            }
9388            pub(crate) static ARENA: crate::private::arena::GeneratedCodeArena =
9389                crate::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
9390            pub(crate) static RAW_SCHEMA: crate::introspect::RawStructSchema =
9391                crate::introspect::RawStructSchema::new(
9392                    &ARENA,
9393                    NONUNION_MEMBERS,
9394                    MEMBERS_BY_DISCRIMINANT,
9395                    MEMBERS_BY_NAME,
9396                );
9397            pub(crate) static NONUNION_MEMBERS: &[u16] = &[0, 1];
9398            pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[];
9399            pub(crate) static MEMBERS_BY_NAME: &[u16] = &[1, 0];
9400            pub(crate) const TYPE_ID: u64 = 0xac3a_6f60_ef4c_c6d3;
9401        }
9402    }
9403
9404    pub mod interface {
9405        #[derive(Copy, Clone)]
9406        pub struct Owned(());
9407        impl crate::introspect::Introspect for Owned {
9408            fn introspect() -> crate::introspect::Type {
9409                crate::introspect::TypeVariant::Struct(crate::introspect::RawBrandedStructSchema {
9410                    generic: &_private::RAW_SCHEMA,
9411                    field_types: _private::get_field_types,
9412                    annotation_types: _private::get_annotation_types,
9413                    type_id: ::core::any::TypeId::of::<Owned>(),
9414                })
9415                .into()
9416            }
9417        }
9418        impl crate::traits::Owned for Owned {
9419            type Reader<'a> = Reader<'a>;
9420            type Builder<'a> = Builder<'a>;
9421        }
9422        impl crate::traits::OwnedStruct for Owned {
9423            type Reader<'a> = Reader<'a>;
9424            type Builder<'a> = Builder<'a>;
9425        }
9426        impl crate::traits::Pipelined for Owned {
9427            type Pipeline = Pipeline;
9428        }
9429
9430        pub struct Reader<'a> {
9431            reader: crate::private::layout::StructReader<'a>,
9432        }
9433        impl ::core::marker::Copy for Reader<'_> {}
9434        impl ::core::clone::Clone for Reader<'_> {
9435            fn clone(&self) -> Self {
9436                *self
9437            }
9438        }
9439
9440        impl crate::traits::HasTypeId for Reader<'_> {
9441            const TYPE_ID: u64 = _private::TYPE_ID;
9442        }
9443        impl<'a> ::core::convert::From<crate::private::layout::StructReader<'a>> for Reader<'a> {
9444            fn from(reader: crate::private::layout::StructReader<'a>) -> Self {
9445                Self { reader }
9446            }
9447        }
9448
9449        impl<'a> ::core::convert::From<Reader<'a>> for crate::dynamic_value::Reader<'a> {
9450            fn from(reader: Reader<'a>) -> Self {
9451                Self::Struct(crate::dynamic_struct::Reader::new(
9452                    reader.reader,
9453                    crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
9454                        generic: &_private::RAW_SCHEMA,
9455                        field_types: _private::get_field_types,
9456                        annotation_types: _private::get_annotation_types,
9457                        type_id: ::core::any::TypeId::of::<Owned>(),
9458                    }),
9459                ))
9460            }
9461        }
9462
9463        impl ::core::fmt::Debug for Reader<'_> {
9464            fn fmt(
9465                &self,
9466                f: &mut ::core::fmt::Formatter<'_>,
9467            ) -> ::core::result::Result<(), ::core::fmt::Error> {
9468                core::fmt::Debug::fmt(
9469                    &::core::convert::Into::<crate::dynamic_value::Reader<'_>>::into(*self),
9470                    f,
9471                )
9472            }
9473        }
9474
9475        impl<'a> crate::traits::FromPointerReader<'a> for Reader<'a> {
9476            fn get_from_pointer(
9477                reader: &crate::private::layout::PointerReader<'a>,
9478                default: ::core::option::Option<&'a [crate::Word]>,
9479            ) -> crate::Result<Self> {
9480                ::core::result::Result::Ok(reader.get_struct(default)?.into())
9481            }
9482        }
9483
9484        impl<'a> crate::traits::IntoInternalStructReader<'a> for Reader<'a> {
9485            fn into_internal_struct_reader(self) -> crate::private::layout::StructReader<'a> {
9486                self.reader
9487            }
9488        }
9489
9490        impl<'a> crate::traits::Imbue<'a> for Reader<'a> {
9491            fn imbue(&mut self, cap_table: &'a crate::private::layout::CapTable) {
9492                self.reader
9493                    .imbue(crate::private::layout::CapTableReader::from_ref(cap_table))
9494            }
9495        }
9496
9497        impl<'a> Reader<'a> {
9498            pub fn reborrow(&self) -> Reader<'_> {
9499                Self { ..*self }
9500            }
9501
9502            pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
9503                self.reader.total_size()
9504            }
9505            #[inline]
9506            pub fn get_type_id(self) -> u64 {
9507                self.reader.get_data_field::<u64>(1)
9508            }
9509            #[inline]
9510            pub fn get_brand(self) -> crate::Result<crate::schema_capnp::brand::Reader<'a>> {
9511                crate::traits::FromPointerReader::get_from_pointer(
9512                    &self.reader.get_pointer_field(0),
9513                    ::core::option::Option::None,
9514                )
9515            }
9516            #[inline]
9517            pub fn has_brand(&self) -> bool {
9518                !self.reader.get_pointer_field(0).is_null()
9519            }
9520        }
9521
9522        pub struct Builder<'a> {
9523            builder: crate::private::layout::StructBuilder<'a>,
9524        }
9525        impl crate::traits::HasStructSize for Builder<'_> {
9526            const STRUCT_SIZE: crate::private::layout::StructSize =
9527                crate::private::layout::StructSize {
9528                    data: 4,
9529                    pointers: 1,
9530                };
9531        }
9532        impl crate::traits::HasTypeId for Builder<'_> {
9533            const TYPE_ID: u64 = _private::TYPE_ID;
9534        }
9535        impl<'a> ::core::convert::From<crate::private::layout::StructBuilder<'a>> for Builder<'a> {
9536            fn from(builder: crate::private::layout::StructBuilder<'a>) -> Self {
9537                Self { builder }
9538            }
9539        }
9540
9541        impl<'a> crate::traits::IntoInternalStructBuilder<'a> for Builder<'a> {
9542            fn into_internal_struct_builder(self) -> crate::private::layout::StructBuilder<'a> {
9543                self.builder
9544            }
9545        }
9546
9547        impl<'a> ::core::convert::From<Builder<'a>> for crate::dynamic_value::Builder<'a> {
9548            fn from(builder: Builder<'a>) -> Self {
9549                Self::Struct(crate::dynamic_struct::Builder::new(
9550                    builder.builder,
9551                    crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
9552                        generic: &_private::RAW_SCHEMA,
9553                        field_types: _private::get_field_types,
9554                        annotation_types: _private::get_annotation_types,
9555                        type_id: ::core::any::TypeId::of::<Owned>(),
9556                    }),
9557                ))
9558            }
9559        }
9560
9561        impl<'a> crate::traits::ImbueMut<'a> for Builder<'a> {
9562            fn imbue_mut(&mut self, cap_table: &'a mut crate::private::layout::CapTable) {
9563                self.builder
9564                    .imbue(crate::private::layout::CapTableBuilder::from_ref(cap_table))
9565            }
9566        }
9567
9568        impl<'a> crate::traits::FromPointerBuilder<'a> for Builder<'a> {
9569            fn init_pointer(
9570                builder: crate::private::layout::PointerBuilder<'a>,
9571                _size: u32,
9572            ) -> Self {
9573                builder
9574                    .init_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE)
9575                    .into()
9576            }
9577            fn get_from_pointer(
9578                builder: crate::private::layout::PointerBuilder<'a>,
9579                default: ::core::option::Option<&'a [crate::Word]>,
9580            ) -> crate::Result<Self> {
9581                ::core::result::Result::Ok(
9582                    builder
9583                        .get_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE, default)?
9584                        .into(),
9585                )
9586            }
9587        }
9588
9589        impl crate::traits::SetterInput<Owned> for Reader<'_> {
9590            fn set_pointer_builder(
9591                mut pointer: crate::private::layout::PointerBuilder<'_>,
9592                value: Self,
9593                canonicalize: bool,
9594            ) -> crate::Result<()> {
9595                pointer.set_struct(&value.reader, canonicalize)
9596            }
9597        }
9598
9599        impl<'a> Builder<'a> {
9600            pub fn into_reader(self) -> Reader<'a> {
9601                self.builder.into_reader().into()
9602            }
9603            pub fn reborrow(&mut self) -> Builder<'_> {
9604                Builder {
9605                    builder: self.builder.reborrow(),
9606                }
9607            }
9608            pub fn reborrow_as_reader(&self) -> Reader<'_> {
9609                self.builder.as_reader().into()
9610            }
9611
9612            pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
9613                self.builder.as_reader().total_size()
9614            }
9615            #[inline]
9616            pub fn get_type_id(self) -> u64 {
9617                self.builder.get_data_field::<u64>(1)
9618            }
9619            #[inline]
9620            pub fn set_type_id(&mut self, value: u64) {
9621                self.builder.set_data_field::<u64>(1, value);
9622            }
9623            #[inline]
9624            pub fn get_brand(self) -> crate::Result<crate::schema_capnp::brand::Builder<'a>> {
9625                crate::traits::FromPointerBuilder::get_from_pointer(
9626                    self.builder.get_pointer_field(0),
9627                    ::core::option::Option::None,
9628                )
9629            }
9630            #[inline]
9631            pub fn set_brand(
9632                &mut self,
9633                value: crate::schema_capnp::brand::Reader<'_>,
9634            ) -> crate::Result<()> {
9635                crate::traits::SetterInput::set_pointer_builder(
9636                    self.builder.reborrow().get_pointer_field(0),
9637                    value,
9638                    false,
9639                )
9640            }
9641            #[inline]
9642            pub fn init_brand(self) -> crate::schema_capnp::brand::Builder<'a> {
9643                crate::traits::FromPointerBuilder::init_pointer(
9644                    self.builder.get_pointer_field(0),
9645                    0,
9646                )
9647            }
9648            #[inline]
9649            pub fn has_brand(&self) -> bool {
9650                !self.builder.is_pointer_field_null(0)
9651            }
9652        }
9653
9654        pub struct Pipeline {
9655            _typeless: crate::any_pointer::Pipeline,
9656        }
9657        impl crate::capability::FromTypelessPipeline for Pipeline {
9658            fn new(typeless: crate::any_pointer::Pipeline) -> Self {
9659                Self {
9660                    _typeless: typeless,
9661                }
9662            }
9663        }
9664        impl Pipeline {
9665            pub fn get_brand(&self) -> crate::schema_capnp::brand::Pipeline {
9666                crate::capability::FromTypelessPipeline::new(self._typeless.get_pointer_field(0))
9667            }
9668        }
9669        mod _private {
9670            pub(crate) static ENCODED_NODE: [crate::Word; 48] = [
9671                crate::word(0, 0, 0, 0, 6, 0, 6, 0),
9672                crate::word(191, 12, 251, 247, 105, 202, 139, 237),
9673                crate::word(18, 0, 0, 0, 1, 0, 4, 0),
9674                crate::word(96, 204, 249, 225, 237, 120, 115, 208),
9675                crate::word(1, 0, 7, 0, 1, 0, 0, 0),
9676                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9677                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9678                crate::word(21, 0, 0, 0, 226, 0, 0, 0),
9679                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9680                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9681                crate::word(25, 0, 0, 0, 119, 0, 0, 0),
9682                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9683                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9684                crate::word(115, 99, 104, 101, 109, 97, 46, 99),
9685                crate::word(97, 112, 110, 112, 58, 84, 121, 112),
9686                crate::word(101, 46, 105, 110, 116, 101, 114, 102),
9687                crate::word(97, 99, 101, 0, 0, 0, 0, 0),
9688                crate::word(8, 0, 0, 0, 3, 0, 4, 0),
9689                crate::word(0, 0, 0, 0, 1, 0, 0, 0),
9690                crate::word(0, 0, 1, 0, 17, 0, 0, 0),
9691                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9692                crate::word(41, 0, 0, 0, 58, 0, 0, 0),
9693                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9694                crate::word(36, 0, 0, 0, 3, 0, 1, 0),
9695                crate::word(48, 0, 0, 0, 2, 0, 1, 0),
9696                crate::word(1, 0, 0, 0, 0, 0, 0, 0),
9697                crate::word(0, 0, 1, 0, 23, 0, 0, 0),
9698                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9699                crate::word(45, 0, 0, 0, 50, 0, 0, 0),
9700                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9701                crate::word(40, 0, 0, 0, 3, 0, 1, 0),
9702                crate::word(52, 0, 0, 0, 2, 0, 1, 0),
9703                crate::word(116, 121, 112, 101, 73, 100, 0, 0),
9704                crate::word(9, 0, 0, 0, 0, 0, 0, 0),
9705                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9706                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9707                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9708                crate::word(9, 0, 0, 0, 0, 0, 0, 0),
9709                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9710                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9711                crate::word(98, 114, 97, 110, 100, 0, 0, 0),
9712                crate::word(16, 0, 0, 0, 0, 0, 0, 0),
9713                crate::word(43, 66, 101, 96, 240, 85, 52, 144),
9714                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9715                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9716                crate::word(16, 0, 0, 0, 0, 0, 0, 0),
9717                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9718                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
9719            ];
9720            pub(crate) fn get_field_types(index: u16) -> crate::introspect::Type {
9721                match index {
9722                    0 => <u64 as crate::introspect::Introspect>::introspect(),
9723                    1 => <crate::schema_capnp::brand::Owned as crate::introspect::Introspect>::introspect(),
9724                    _ => crate::introspect::panic_invalid_field_index(index),
9725                }
9726            }
9727            pub(crate) fn get_annotation_types(
9728                child_index: Option<u16>,
9729                index: u32,
9730            ) -> crate::introspect::Type {
9731                crate::introspect::panic_invalid_annotation_indices(child_index, index)
9732            }
9733            pub(crate) static ARENA: crate::private::arena::GeneratedCodeArena =
9734                crate::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
9735            pub(crate) static RAW_SCHEMA: crate::introspect::RawStructSchema =
9736                crate::introspect::RawStructSchema::new(
9737                    &ARENA,
9738                    NONUNION_MEMBERS,
9739                    MEMBERS_BY_DISCRIMINANT,
9740                    MEMBERS_BY_NAME,
9741                );
9742            pub(crate) static NONUNION_MEMBERS: &[u16] = &[0, 1];
9743            pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[];
9744            pub(crate) static MEMBERS_BY_NAME: &[u16] = &[1, 0];
9745            pub(crate) const TYPE_ID: u64 = 0xed8b_ca69_f7fb_0cbf;
9746        }
9747    }
9748
9749    pub mod any_pointer {
9750        pub use self::Which::{ImplicitMethodParameter, Parameter, Unconstrained};
9751
9752        #[derive(Copy, Clone)]
9753        pub struct Owned(());
9754        impl crate::introspect::Introspect for Owned {
9755            fn introspect() -> crate::introspect::Type {
9756                crate::introspect::TypeVariant::Struct(crate::introspect::RawBrandedStructSchema {
9757                    generic: &_private::RAW_SCHEMA,
9758                    field_types: _private::get_field_types,
9759                    annotation_types: _private::get_annotation_types,
9760                    type_id: ::core::any::TypeId::of::<Owned>(),
9761                })
9762                .into()
9763            }
9764        }
9765        impl crate::traits::Owned for Owned {
9766            type Reader<'a> = Reader<'a>;
9767            type Builder<'a> = Builder<'a>;
9768        }
9769        impl crate::traits::OwnedStruct for Owned {
9770            type Reader<'a> = Reader<'a>;
9771            type Builder<'a> = Builder<'a>;
9772        }
9773        impl crate::traits::Pipelined for Owned {
9774            type Pipeline = Pipeline;
9775        }
9776
9777        pub struct Reader<'a> {
9778            reader: crate::private::layout::StructReader<'a>,
9779        }
9780        impl ::core::marker::Copy for Reader<'_> {}
9781        impl ::core::clone::Clone for Reader<'_> {
9782            fn clone(&self) -> Self {
9783                *self
9784            }
9785        }
9786
9787        impl crate::traits::HasTypeId for Reader<'_> {
9788            const TYPE_ID: u64 = _private::TYPE_ID;
9789        }
9790        impl<'a> ::core::convert::From<crate::private::layout::StructReader<'a>> for Reader<'a> {
9791            fn from(reader: crate::private::layout::StructReader<'a>) -> Self {
9792                Self { reader }
9793            }
9794        }
9795
9796        impl<'a> ::core::convert::From<Reader<'a>> for crate::dynamic_value::Reader<'a> {
9797            fn from(reader: Reader<'a>) -> Self {
9798                Self::Struct(crate::dynamic_struct::Reader::new(
9799                    reader.reader,
9800                    crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
9801                        generic: &_private::RAW_SCHEMA,
9802                        field_types: _private::get_field_types,
9803                        annotation_types: _private::get_annotation_types,
9804                        type_id: ::core::any::TypeId::of::<Owned>(),
9805                    }),
9806                ))
9807            }
9808        }
9809
9810        impl ::core::fmt::Debug for Reader<'_> {
9811            fn fmt(
9812                &self,
9813                f: &mut ::core::fmt::Formatter<'_>,
9814            ) -> ::core::result::Result<(), ::core::fmt::Error> {
9815                core::fmt::Debug::fmt(
9816                    &::core::convert::Into::<crate::dynamic_value::Reader<'_>>::into(*self),
9817                    f,
9818                )
9819            }
9820        }
9821
9822        impl<'a> crate::traits::FromPointerReader<'a> for Reader<'a> {
9823            fn get_from_pointer(
9824                reader: &crate::private::layout::PointerReader<'a>,
9825                default: ::core::option::Option<&'a [crate::Word]>,
9826            ) -> crate::Result<Self> {
9827                ::core::result::Result::Ok(reader.get_struct(default)?.into())
9828            }
9829        }
9830
9831        impl<'a> crate::traits::IntoInternalStructReader<'a> for Reader<'a> {
9832            fn into_internal_struct_reader(self) -> crate::private::layout::StructReader<'a> {
9833                self.reader
9834            }
9835        }
9836
9837        impl<'a> crate::traits::Imbue<'a> for Reader<'a> {
9838            fn imbue(&mut self, cap_table: &'a crate::private::layout::CapTable) {
9839                self.reader
9840                    .imbue(crate::private::layout::CapTableReader::from_ref(cap_table))
9841            }
9842        }
9843
9844        impl<'a> Reader<'a> {
9845            pub fn reborrow(&self) -> Reader<'_> {
9846                Self { ..*self }
9847            }
9848
9849            pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
9850                self.reader.total_size()
9851            }
9852            #[inline]
9853            pub fn which(self) -> ::core::result::Result<WhichReader<'a>, crate::NotInSchema> {
9854                match self.reader.get_data_field::<u16>(4) {
9855                    0 => ::core::result::Result::Ok(Unconstrained(self.reader.into())),
9856                    1 => ::core::result::Result::Ok(Parameter(self.reader.into())),
9857                    2 => ::core::result::Result::Ok(ImplicitMethodParameter(self.reader.into())),
9858                    x => ::core::result::Result::Err(crate::NotInSchema(x)),
9859                }
9860            }
9861        }
9862
9863        pub struct Builder<'a> {
9864            builder: crate::private::layout::StructBuilder<'a>,
9865        }
9866        impl crate::traits::HasStructSize for Builder<'_> {
9867            const STRUCT_SIZE: crate::private::layout::StructSize =
9868                crate::private::layout::StructSize {
9869                    data: 4,
9870                    pointers: 1,
9871                };
9872        }
9873        impl crate::traits::HasTypeId for Builder<'_> {
9874            const TYPE_ID: u64 = _private::TYPE_ID;
9875        }
9876        impl<'a> ::core::convert::From<crate::private::layout::StructBuilder<'a>> for Builder<'a> {
9877            fn from(builder: crate::private::layout::StructBuilder<'a>) -> Self {
9878                Self { builder }
9879            }
9880        }
9881
9882        impl<'a> crate::traits::IntoInternalStructBuilder<'a> for Builder<'a> {
9883            fn into_internal_struct_builder(self) -> crate::private::layout::StructBuilder<'a> {
9884                self.builder
9885            }
9886        }
9887
9888        impl<'a> ::core::convert::From<Builder<'a>> for crate::dynamic_value::Builder<'a> {
9889            fn from(builder: Builder<'a>) -> Self {
9890                Self::Struct(crate::dynamic_struct::Builder::new(
9891                    builder.builder,
9892                    crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
9893                        generic: &_private::RAW_SCHEMA,
9894                        field_types: _private::get_field_types,
9895                        annotation_types: _private::get_annotation_types,
9896                        type_id: ::core::any::TypeId::of::<Owned>(),
9897                    }),
9898                ))
9899            }
9900        }
9901
9902        impl<'a> crate::traits::ImbueMut<'a> for Builder<'a> {
9903            fn imbue_mut(&mut self, cap_table: &'a mut crate::private::layout::CapTable) {
9904                self.builder
9905                    .imbue(crate::private::layout::CapTableBuilder::from_ref(cap_table))
9906            }
9907        }
9908
9909        impl<'a> crate::traits::FromPointerBuilder<'a> for Builder<'a> {
9910            fn init_pointer(
9911                builder: crate::private::layout::PointerBuilder<'a>,
9912                _size: u32,
9913            ) -> Self {
9914                builder
9915                    .init_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE)
9916                    .into()
9917            }
9918            fn get_from_pointer(
9919                builder: crate::private::layout::PointerBuilder<'a>,
9920                default: ::core::option::Option<&'a [crate::Word]>,
9921            ) -> crate::Result<Self> {
9922                ::core::result::Result::Ok(
9923                    builder
9924                        .get_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE, default)?
9925                        .into(),
9926                )
9927            }
9928        }
9929
9930        impl crate::traits::SetterInput<Owned> for Reader<'_> {
9931            fn set_pointer_builder(
9932                mut pointer: crate::private::layout::PointerBuilder<'_>,
9933                value: Self,
9934                canonicalize: bool,
9935            ) -> crate::Result<()> {
9936                pointer.set_struct(&value.reader, canonicalize)
9937            }
9938        }
9939
9940        impl<'a> Builder<'a> {
9941            pub fn into_reader(self) -> Reader<'a> {
9942                self.builder.into_reader().into()
9943            }
9944            pub fn reborrow(&mut self) -> Builder<'_> {
9945                Builder {
9946                    builder: self.builder.reborrow(),
9947                }
9948            }
9949            pub fn reborrow_as_reader(&self) -> Reader<'_> {
9950                self.builder.as_reader().into()
9951            }
9952
9953            pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
9954                self.builder.as_reader().total_size()
9955            }
9956            #[inline]
9957            pub fn init_unconstrained(
9958                self,
9959            ) -> crate::schema_capnp::type_::any_pointer::unconstrained::Builder<'a> {
9960                self.builder.set_data_field::<u16>(4, 0);
9961                self.builder.set_data_field::<u16>(5, 0);
9962                self.builder.into()
9963            }
9964            #[inline]
9965            pub fn init_parameter(
9966                self,
9967            ) -> crate::schema_capnp::type_::any_pointer::parameter::Builder<'a> {
9968                self.builder.set_data_field::<u16>(4, 1);
9969                self.builder.set_data_field::<u64>(2, 0u64);
9970                self.builder.set_data_field::<u16>(5, 0u16);
9971                self.builder.into()
9972            }
9973            #[inline]
9974            pub fn init_implicit_method_parameter(
9975                self,
9976            ) -> crate::schema_capnp::type_::any_pointer::implicit_method_parameter::Builder<'a>
9977            {
9978                self.builder.set_data_field::<u16>(4, 2);
9979                self.builder.set_data_field::<u16>(5, 0u16);
9980                self.builder.into()
9981            }
9982            #[inline]
9983            pub fn which(self) -> ::core::result::Result<WhichBuilder<'a>, crate::NotInSchema> {
9984                match self.builder.get_data_field::<u16>(4) {
9985                    0 => ::core::result::Result::Ok(Unconstrained(self.builder.into())),
9986                    1 => ::core::result::Result::Ok(Parameter(self.builder.into())),
9987                    2 => ::core::result::Result::Ok(ImplicitMethodParameter(self.builder.into())),
9988                    x => ::core::result::Result::Err(crate::NotInSchema(x)),
9989                }
9990            }
9991        }
9992
9993        pub struct Pipeline {
9994            _typeless: crate::any_pointer::Pipeline,
9995        }
9996        impl crate::capability::FromTypelessPipeline for Pipeline {
9997            fn new(typeless: crate::any_pointer::Pipeline) -> Self {
9998                Self {
9999                    _typeless: typeless,
10000                }
10001            }
10002        }
10003        impl Pipeline {}
10004        mod _private {
10005            pub(crate) static ENCODED_NODE: [crate::Word; 46] = [
10006                crate::word(0, 0, 0, 0, 6, 0, 6, 0),
10007                crate::word(241, 73, 62, 162, 232, 63, 87, 194),
10008                crate::word(18, 0, 0, 0, 1, 0, 4, 0),
10009                crate::word(96, 204, 249, 225, 237, 120, 115, 208),
10010                crate::word(1, 0, 7, 0, 1, 0, 3, 0),
10011                crate::word(4, 0, 0, 0, 0, 0, 0, 0),
10012                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10013                crate::word(21, 0, 0, 0, 234, 0, 0, 0),
10014                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10015                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10016                crate::word(25, 0, 0, 0, 175, 0, 0, 0),
10017                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10018                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10019                crate::word(115, 99, 104, 101, 109, 97, 46, 99),
10020                crate::word(97, 112, 110, 112, 58, 84, 121, 112),
10021                crate::word(101, 46, 97, 110, 121, 80, 111, 105),
10022                crate::word(110, 116, 101, 114, 0, 0, 0, 0),
10023                crate::word(12, 0, 0, 0, 3, 0, 4, 0),
10024                crate::word(0, 0, 255, 255, 0, 0, 0, 0),
10025                crate::word(1, 0, 0, 0, 0, 0, 0, 0),
10026                crate::word(86, 54, 89, 254, 121, 95, 59, 142),
10027                crate::word(69, 0, 0, 0, 114, 0, 0, 0),
10028                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10029                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10030                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10031                crate::word(1, 0, 254, 255, 0, 0, 0, 0),
10032                crate::word(1, 0, 0, 0, 0, 0, 0, 0),
10033                crate::word(133, 74, 97, 244, 36, 247, 209, 157),
10034                crate::word(49, 0, 0, 0, 82, 0, 0, 0),
10035                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10036                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10037                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10038                crate::word(2, 0, 253, 255, 0, 0, 0, 0),
10039                crate::word(1, 0, 0, 0, 0, 0, 0, 0),
10040                crate::word(116, 226, 86, 12, 18, 201, 239, 186),
10041                crate::word(29, 0, 0, 0, 194, 0, 0, 0),
10042                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10043                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10044                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10045                crate::word(117, 110, 99, 111, 110, 115, 116, 114),
10046                crate::word(97, 105, 110, 101, 100, 0, 0, 0),
10047                crate::word(112, 97, 114, 97, 109, 101, 116, 101),
10048                crate::word(114, 0, 0, 0, 0, 0, 0, 0),
10049                crate::word(105, 109, 112, 108, 105, 99, 105, 116),
10050                crate::word(77, 101, 116, 104, 111, 100, 80, 97),
10051                crate::word(114, 97, 109, 101, 116, 101, 114, 0),
10052            ];
10053            pub(crate) fn get_field_types(index: u16) -> crate::introspect::Type {
10054                match index {
10055                    0 => <crate::schema_capnp::type_::any_pointer::unconstrained::Owned as crate::introspect::Introspect>::introspect(),
10056                    1 => <crate::schema_capnp::type_::any_pointer::parameter::Owned as crate::introspect::Introspect>::introspect(),
10057                    2 => <crate::schema_capnp::type_::any_pointer::implicit_method_parameter::Owned as crate::introspect::Introspect>::introspect(),
10058                    _ => crate::introspect::panic_invalid_field_index(index),
10059                }
10060            }
10061            pub(crate) fn get_annotation_types(
10062                child_index: Option<u16>,
10063                index: u32,
10064            ) -> crate::introspect::Type {
10065                crate::introspect::panic_invalid_annotation_indices(child_index, index)
10066            }
10067            pub(crate) static ARENA: crate::private::arena::GeneratedCodeArena =
10068                crate::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
10069            pub(crate) static RAW_SCHEMA: crate::introspect::RawStructSchema =
10070                crate::introspect::RawStructSchema::new(
10071                    &ARENA,
10072                    NONUNION_MEMBERS,
10073                    MEMBERS_BY_DISCRIMINANT,
10074                    MEMBERS_BY_NAME,
10075                );
10076            pub(crate) static NONUNION_MEMBERS: &[u16] = &[];
10077            pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[0, 1, 2];
10078            pub(crate) static MEMBERS_BY_NAME: &[u16] = &[2, 1, 0];
10079            pub(crate) const TYPE_ID: u64 = 0xc257_3fe8_a23e_49f1;
10080        }
10081        pub enum Which<A0, A1, A2> {
10082            Unconstrained(A0),
10083            Parameter(A1),
10084            ImplicitMethodParameter(A2),
10085        }
10086        pub type WhichReader<'a> = Which<
10087            crate::schema_capnp::type_::any_pointer::unconstrained::Reader<'a>,
10088            crate::schema_capnp::type_::any_pointer::parameter::Reader<'a>,
10089            crate::schema_capnp::type_::any_pointer::implicit_method_parameter::Reader<'a>,
10090        >;
10091        pub type WhichBuilder<'a> = Which<
10092            crate::schema_capnp::type_::any_pointer::unconstrained::Builder<'a>,
10093            crate::schema_capnp::type_::any_pointer::parameter::Builder<'a>,
10094            crate::schema_capnp::type_::any_pointer::implicit_method_parameter::Builder<'a>,
10095        >;
10096
10097        pub mod unconstrained {
10098            pub use self::Which::{AnyKind, Capability, List, Struct};
10099
10100            #[derive(Copy, Clone)]
10101            pub struct Owned(());
10102            impl crate::introspect::Introspect for Owned {
10103                fn introspect() -> crate::introspect::Type {
10104                    crate::introspect::TypeVariant::Struct(
10105                        crate::introspect::RawBrandedStructSchema {
10106                            generic: &_private::RAW_SCHEMA,
10107                            field_types: _private::get_field_types,
10108                            annotation_types: _private::get_annotation_types,
10109                            type_id: ::core::any::TypeId::of::<Owned>(),
10110                        },
10111                    )
10112                    .into()
10113                }
10114            }
10115            impl crate::traits::Owned for Owned {
10116                type Reader<'a> = Reader<'a>;
10117                type Builder<'a> = Builder<'a>;
10118            }
10119            impl crate::traits::OwnedStruct for Owned {
10120                type Reader<'a> = Reader<'a>;
10121                type Builder<'a> = Builder<'a>;
10122            }
10123            impl crate::traits::Pipelined for Owned {
10124                type Pipeline = Pipeline;
10125            }
10126
10127            pub struct Reader<'a> {
10128                reader: crate::private::layout::StructReader<'a>,
10129            }
10130            impl ::core::marker::Copy for Reader<'_> {}
10131            impl ::core::clone::Clone for Reader<'_> {
10132                fn clone(&self) -> Self {
10133                    *self
10134                }
10135            }
10136
10137            impl crate::traits::HasTypeId for Reader<'_> {
10138                const TYPE_ID: u64 = _private::TYPE_ID;
10139            }
10140            impl<'a> ::core::convert::From<crate::private::layout::StructReader<'a>> for Reader<'a> {
10141                fn from(reader: crate::private::layout::StructReader<'a>) -> Self {
10142                    Self { reader }
10143                }
10144            }
10145
10146            impl<'a> ::core::convert::From<Reader<'a>> for crate::dynamic_value::Reader<'a> {
10147                fn from(reader: Reader<'a>) -> Self {
10148                    Self::Struct(crate::dynamic_struct::Reader::new(
10149                        reader.reader,
10150                        crate::schema::StructSchema::new(
10151                            crate::introspect::RawBrandedStructSchema {
10152                                generic: &_private::RAW_SCHEMA,
10153                                field_types: _private::get_field_types,
10154                                annotation_types: _private::get_annotation_types,
10155                                type_id: ::core::any::TypeId::of::<Owned>(),
10156                            },
10157                        ),
10158                    ))
10159                }
10160            }
10161
10162            impl ::core::fmt::Debug for Reader<'_> {
10163                fn fmt(
10164                    &self,
10165                    f: &mut ::core::fmt::Formatter<'_>,
10166                ) -> ::core::result::Result<(), ::core::fmt::Error> {
10167                    core::fmt::Debug::fmt(
10168                        &::core::convert::Into::<crate::dynamic_value::Reader<'_>>::into(*self),
10169                        f,
10170                    )
10171                }
10172            }
10173
10174            impl<'a> crate::traits::FromPointerReader<'a> for Reader<'a> {
10175                fn get_from_pointer(
10176                    reader: &crate::private::layout::PointerReader<'a>,
10177                    default: ::core::option::Option<&'a [crate::Word]>,
10178                ) -> crate::Result<Self> {
10179                    ::core::result::Result::Ok(reader.get_struct(default)?.into())
10180                }
10181            }
10182
10183            impl<'a> crate::traits::IntoInternalStructReader<'a> for Reader<'a> {
10184                fn into_internal_struct_reader(self) -> crate::private::layout::StructReader<'a> {
10185                    self.reader
10186                }
10187            }
10188
10189            impl<'a> crate::traits::Imbue<'a> for Reader<'a> {
10190                fn imbue(&mut self, cap_table: &'a crate::private::layout::CapTable) {
10191                    self.reader
10192                        .imbue(crate::private::layout::CapTableReader::from_ref(cap_table))
10193                }
10194            }
10195
10196            impl Reader<'_> {
10197                pub fn reborrow(&self) -> Reader<'_> {
10198                    Self { ..*self }
10199                }
10200
10201                pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
10202                    self.reader.total_size()
10203                }
10204                #[inline]
10205                pub fn which(self) -> ::core::result::Result<WhichReader, crate::NotInSchema> {
10206                    match self.reader.get_data_field::<u16>(5) {
10207                        0 => ::core::result::Result::Ok(AnyKind(())),
10208                        1 => ::core::result::Result::Ok(Struct(())),
10209                        2 => ::core::result::Result::Ok(List(())),
10210                        3 => ::core::result::Result::Ok(Capability(())),
10211                        x => ::core::result::Result::Err(crate::NotInSchema(x)),
10212                    }
10213                }
10214            }
10215
10216            pub struct Builder<'a> {
10217                builder: crate::private::layout::StructBuilder<'a>,
10218            }
10219            impl crate::traits::HasStructSize for Builder<'_> {
10220                const STRUCT_SIZE: crate::private::layout::StructSize =
10221                    crate::private::layout::StructSize {
10222                        data: 4,
10223                        pointers: 1,
10224                    };
10225            }
10226            impl crate::traits::HasTypeId for Builder<'_> {
10227                const TYPE_ID: u64 = _private::TYPE_ID;
10228            }
10229            impl<'a> ::core::convert::From<crate::private::layout::StructBuilder<'a>> for Builder<'a> {
10230                fn from(builder: crate::private::layout::StructBuilder<'a>) -> Self {
10231                    Self { builder }
10232                }
10233            }
10234
10235            impl<'a> crate::traits::IntoInternalStructBuilder<'a> for Builder<'a> {
10236                fn into_internal_struct_builder(self) -> crate::private::layout::StructBuilder<'a> {
10237                    self.builder
10238                }
10239            }
10240
10241            impl<'a> ::core::convert::From<Builder<'a>> for crate::dynamic_value::Builder<'a> {
10242                fn from(builder: Builder<'a>) -> Self {
10243                    Self::Struct(crate::dynamic_struct::Builder::new(
10244                        builder.builder,
10245                        crate::schema::StructSchema::new(
10246                            crate::introspect::RawBrandedStructSchema {
10247                                generic: &_private::RAW_SCHEMA,
10248                                field_types: _private::get_field_types,
10249                                annotation_types: _private::get_annotation_types,
10250                                type_id: ::core::any::TypeId::of::<Owned>(),
10251                            },
10252                        ),
10253                    ))
10254                }
10255            }
10256
10257            impl<'a> crate::traits::ImbueMut<'a> for Builder<'a> {
10258                fn imbue_mut(&mut self, cap_table: &'a mut crate::private::layout::CapTable) {
10259                    self.builder
10260                        .imbue(crate::private::layout::CapTableBuilder::from_ref(cap_table))
10261                }
10262            }
10263
10264            impl<'a> crate::traits::FromPointerBuilder<'a> for Builder<'a> {
10265                fn init_pointer(
10266                    builder: crate::private::layout::PointerBuilder<'a>,
10267                    _size: u32,
10268                ) -> Self {
10269                    builder
10270                        .init_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE)
10271                        .into()
10272                }
10273                fn get_from_pointer(
10274                    builder: crate::private::layout::PointerBuilder<'a>,
10275                    default: ::core::option::Option<&'a [crate::Word]>,
10276                ) -> crate::Result<Self> {
10277                    ::core::result::Result::Ok(
10278                        builder
10279                            .get_struct(
10280                                <Self as crate::traits::HasStructSize>::STRUCT_SIZE,
10281                                default,
10282                            )?
10283                            .into(),
10284                    )
10285                }
10286            }
10287
10288            impl crate::traits::SetterInput<Owned> for Reader<'_> {
10289                fn set_pointer_builder(
10290                    mut pointer: crate::private::layout::PointerBuilder<'_>,
10291                    value: Self,
10292                    canonicalize: bool,
10293                ) -> crate::Result<()> {
10294                    pointer.set_struct(&value.reader, canonicalize)
10295                }
10296            }
10297
10298            impl<'a> Builder<'a> {
10299                pub fn into_reader(self) -> Reader<'a> {
10300                    self.builder.into_reader().into()
10301                }
10302                pub fn reborrow(&mut self) -> Builder<'_> {
10303                    Builder {
10304                        builder: self.builder.reborrow(),
10305                    }
10306                }
10307                pub fn reborrow_as_reader(&self) -> Reader<'_> {
10308                    self.builder.as_reader().into()
10309                }
10310
10311                pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
10312                    self.builder.as_reader().total_size()
10313                }
10314                #[inline]
10315                pub fn set_any_kind(&mut self, _value: ()) {
10316                    self.builder.set_data_field::<u16>(5, 0);
10317                }
10318                #[inline]
10319                pub fn set_struct(&mut self, _value: ()) {
10320                    self.builder.set_data_field::<u16>(5, 1);
10321                }
10322                #[inline]
10323                pub fn set_list(&mut self, _value: ()) {
10324                    self.builder.set_data_field::<u16>(5, 2);
10325                }
10326                #[inline]
10327                pub fn set_capability(&mut self, _value: ()) {
10328                    self.builder.set_data_field::<u16>(5, 3);
10329                }
10330                #[inline]
10331                pub fn which(self) -> ::core::result::Result<WhichBuilder, crate::NotInSchema> {
10332                    match self.builder.get_data_field::<u16>(5) {
10333                        0 => ::core::result::Result::Ok(AnyKind(())),
10334                        1 => ::core::result::Result::Ok(Struct(())),
10335                        2 => ::core::result::Result::Ok(List(())),
10336                        3 => ::core::result::Result::Ok(Capability(())),
10337                        x => ::core::result::Result::Err(crate::NotInSchema(x)),
10338                    }
10339                }
10340            }
10341
10342            pub struct Pipeline {
10343                _typeless: crate::any_pointer::Pipeline,
10344            }
10345            impl crate::capability::FromTypelessPipeline for Pipeline {
10346                fn new(typeless: crate::any_pointer::Pipeline) -> Self {
10347                    Self {
10348                        _typeless: typeless,
10349                    }
10350                }
10351            }
10352            impl Pipeline {}
10353            mod _private {
10354                pub(crate) static ENCODED_NODE: [crate::Word; 81] = [
10355                    crate::word(0, 0, 0, 0, 6, 0, 6, 0),
10356                    crate::word(86, 54, 89, 254, 121, 95, 59, 142),
10357                    crate::word(29, 0, 0, 0, 1, 0, 4, 0),
10358                    crate::word(241, 73, 62, 162, 232, 63, 87, 194),
10359                    crate::word(1, 0, 7, 0, 1, 0, 4, 0),
10360                    crate::word(5, 0, 0, 0, 0, 0, 0, 0),
10361                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10362                    crate::word(21, 0, 0, 0, 90, 1, 0, 0),
10363                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10364                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10365                    crate::word(33, 0, 0, 0, 231, 0, 0, 0),
10366                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10367                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10368                    crate::word(115, 99, 104, 101, 109, 97, 46, 99),
10369                    crate::word(97, 112, 110, 112, 58, 84, 121, 112),
10370                    crate::word(101, 46, 97, 110, 121, 80, 111, 105),
10371                    crate::word(110, 116, 101, 114, 46, 117, 110, 99),
10372                    crate::word(111, 110, 115, 116, 114, 97, 105, 110),
10373                    crate::word(101, 100, 0, 0, 0, 0, 0, 0),
10374                    crate::word(16, 0, 0, 0, 3, 0, 4, 0),
10375                    crate::word(0, 0, 255, 255, 0, 0, 0, 0),
10376                    crate::word(0, 0, 1, 0, 18, 0, 0, 0),
10377                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10378                    crate::word(97, 0, 0, 0, 66, 0, 0, 0),
10379                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10380                    crate::word(92, 0, 0, 0, 3, 0, 1, 0),
10381                    crate::word(104, 0, 0, 0, 2, 0, 1, 0),
10382                    crate::word(1, 0, 254, 255, 0, 0, 0, 0),
10383                    crate::word(0, 0, 1, 0, 25, 0, 0, 0),
10384                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10385                    crate::word(101, 0, 0, 0, 58, 0, 0, 0),
10386                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10387                    crate::word(96, 0, 0, 0, 3, 0, 1, 0),
10388                    crate::word(108, 0, 0, 0, 2, 0, 1, 0),
10389                    crate::word(2, 0, 253, 255, 0, 0, 0, 0),
10390                    crate::word(0, 0, 1, 0, 26, 0, 0, 0),
10391                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10392                    crate::word(105, 0, 0, 0, 42, 0, 0, 0),
10393                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10394                    crate::word(100, 0, 0, 0, 3, 0, 1, 0),
10395                    crate::word(112, 0, 0, 0, 2, 0, 1, 0),
10396                    crate::word(3, 0, 252, 255, 0, 0, 0, 0),
10397                    crate::word(0, 0, 1, 0, 27, 0, 0, 0),
10398                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10399                    crate::word(109, 0, 0, 0, 90, 0, 0, 0),
10400                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10401                    crate::word(108, 0, 0, 0, 3, 0, 1, 0),
10402                    crate::word(120, 0, 0, 0, 2, 0, 1, 0),
10403                    crate::word(97, 110, 121, 75, 105, 110, 100, 0),
10404                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10405                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10406                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10407                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10408                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10409                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10410                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10411                    crate::word(115, 116, 114, 117, 99, 116, 0, 0),
10412                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10413                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10414                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10415                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10416                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10417                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10418                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10419                    crate::word(108, 105, 115, 116, 0, 0, 0, 0),
10420                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10421                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10422                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10423                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10424                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10425                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10426                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10427                    crate::word(99, 97, 112, 97, 98, 105, 108, 105),
10428                    crate::word(116, 121, 0, 0, 0, 0, 0, 0),
10429                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10430                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10431                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10432                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10433                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10434                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10435                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10436                ];
10437                pub(crate) fn get_field_types(index: u16) -> crate::introspect::Type {
10438                    match index {
10439                        0 => <() as crate::introspect::Introspect>::introspect(),
10440                        1 => <() as crate::introspect::Introspect>::introspect(),
10441                        2 => <() as crate::introspect::Introspect>::introspect(),
10442                        3 => <() as crate::introspect::Introspect>::introspect(),
10443                        _ => crate::introspect::panic_invalid_field_index(index),
10444                    }
10445                }
10446                pub(crate) fn get_annotation_types(
10447                    child_index: Option<u16>,
10448                    index: u32,
10449                ) -> crate::introspect::Type {
10450                    crate::introspect::panic_invalid_annotation_indices(child_index, index)
10451                }
10452                pub(crate) static ARENA: crate::private::arena::GeneratedCodeArena =
10453                    crate::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
10454                pub(crate) static RAW_SCHEMA: crate::introspect::RawStructSchema =
10455                    crate::introspect::RawStructSchema::new(
10456                        &ARENA,
10457                        NONUNION_MEMBERS,
10458                        MEMBERS_BY_DISCRIMINANT,
10459                        MEMBERS_BY_NAME,
10460                    );
10461                pub(crate) static NONUNION_MEMBERS: &[u16] = &[];
10462                pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[0, 1, 2, 3];
10463                pub(crate) static MEMBERS_BY_NAME: &[u16] = &[0, 3, 2, 1];
10464                pub(crate) const TYPE_ID: u64 = 0x8e3b_5f79_fe59_3656;
10465            }
10466            pub enum Which {
10467                AnyKind(()),
10468                Struct(()),
10469                List(()),
10470                Capability(()),
10471            }
10472            pub type WhichReader = Which;
10473            pub type WhichBuilder = Which;
10474        }
10475
10476        pub mod parameter {
10477            #[derive(Copy, Clone)]
10478            pub struct Owned(());
10479            impl crate::introspect::Introspect for Owned {
10480                fn introspect() -> crate::introspect::Type {
10481                    crate::introspect::TypeVariant::Struct(
10482                        crate::introspect::RawBrandedStructSchema {
10483                            generic: &_private::RAW_SCHEMA,
10484                            field_types: _private::get_field_types,
10485                            annotation_types: _private::get_annotation_types,
10486                            type_id: ::core::any::TypeId::of::<Owned>(),
10487                        },
10488                    )
10489                    .into()
10490                }
10491            }
10492            impl crate::traits::Owned for Owned {
10493                type Reader<'a> = Reader<'a>;
10494                type Builder<'a> = Builder<'a>;
10495            }
10496            impl crate::traits::OwnedStruct for Owned {
10497                type Reader<'a> = Reader<'a>;
10498                type Builder<'a> = Builder<'a>;
10499            }
10500            impl crate::traits::Pipelined for Owned {
10501                type Pipeline = Pipeline;
10502            }
10503
10504            pub struct Reader<'a> {
10505                reader: crate::private::layout::StructReader<'a>,
10506            }
10507            impl ::core::marker::Copy for Reader<'_> {}
10508            impl ::core::clone::Clone for Reader<'_> {
10509                fn clone(&self) -> Self {
10510                    *self
10511                }
10512            }
10513
10514            impl crate::traits::HasTypeId for Reader<'_> {
10515                const TYPE_ID: u64 = _private::TYPE_ID;
10516            }
10517            impl<'a> ::core::convert::From<crate::private::layout::StructReader<'a>> for Reader<'a> {
10518                fn from(reader: crate::private::layout::StructReader<'a>) -> Self {
10519                    Self { reader }
10520                }
10521            }
10522
10523            impl<'a> ::core::convert::From<Reader<'a>> for crate::dynamic_value::Reader<'a> {
10524                fn from(reader: Reader<'a>) -> Self {
10525                    Self::Struct(crate::dynamic_struct::Reader::new(
10526                        reader.reader,
10527                        crate::schema::StructSchema::new(
10528                            crate::introspect::RawBrandedStructSchema {
10529                                generic: &_private::RAW_SCHEMA,
10530                                field_types: _private::get_field_types,
10531                                annotation_types: _private::get_annotation_types,
10532                                type_id: ::core::any::TypeId::of::<Owned>(),
10533                            },
10534                        ),
10535                    ))
10536                }
10537            }
10538
10539            impl ::core::fmt::Debug for Reader<'_> {
10540                fn fmt(
10541                    &self,
10542                    f: &mut ::core::fmt::Formatter<'_>,
10543                ) -> ::core::result::Result<(), ::core::fmt::Error> {
10544                    core::fmt::Debug::fmt(
10545                        &::core::convert::Into::<crate::dynamic_value::Reader<'_>>::into(*self),
10546                        f,
10547                    )
10548                }
10549            }
10550
10551            impl<'a> crate::traits::FromPointerReader<'a> for Reader<'a> {
10552                fn get_from_pointer(
10553                    reader: &crate::private::layout::PointerReader<'a>,
10554                    default: ::core::option::Option<&'a [crate::Word]>,
10555                ) -> crate::Result<Self> {
10556                    ::core::result::Result::Ok(reader.get_struct(default)?.into())
10557                }
10558            }
10559
10560            impl<'a> crate::traits::IntoInternalStructReader<'a> for Reader<'a> {
10561                fn into_internal_struct_reader(self) -> crate::private::layout::StructReader<'a> {
10562                    self.reader
10563                }
10564            }
10565
10566            impl<'a> crate::traits::Imbue<'a> for Reader<'a> {
10567                fn imbue(&mut self, cap_table: &'a crate::private::layout::CapTable) {
10568                    self.reader
10569                        .imbue(crate::private::layout::CapTableReader::from_ref(cap_table))
10570                }
10571            }
10572
10573            impl Reader<'_> {
10574                pub fn reborrow(&self) -> Reader<'_> {
10575                    Self { ..*self }
10576                }
10577
10578                pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
10579                    self.reader.total_size()
10580                }
10581                #[inline]
10582                pub fn get_scope_id(self) -> u64 {
10583                    self.reader.get_data_field::<u64>(2)
10584                }
10585                #[inline]
10586                pub fn get_parameter_index(self) -> u16 {
10587                    self.reader.get_data_field::<u16>(5)
10588                }
10589            }
10590
10591            pub struct Builder<'a> {
10592                builder: crate::private::layout::StructBuilder<'a>,
10593            }
10594            impl crate::traits::HasStructSize for Builder<'_> {
10595                const STRUCT_SIZE: crate::private::layout::StructSize =
10596                    crate::private::layout::StructSize {
10597                        data: 4,
10598                        pointers: 1,
10599                    };
10600            }
10601            impl crate::traits::HasTypeId for Builder<'_> {
10602                const TYPE_ID: u64 = _private::TYPE_ID;
10603            }
10604            impl<'a> ::core::convert::From<crate::private::layout::StructBuilder<'a>> for Builder<'a> {
10605                fn from(builder: crate::private::layout::StructBuilder<'a>) -> Self {
10606                    Self { builder }
10607                }
10608            }
10609
10610            impl<'a> crate::traits::IntoInternalStructBuilder<'a> for Builder<'a> {
10611                fn into_internal_struct_builder(self) -> crate::private::layout::StructBuilder<'a> {
10612                    self.builder
10613                }
10614            }
10615
10616            impl<'a> ::core::convert::From<Builder<'a>> for crate::dynamic_value::Builder<'a> {
10617                fn from(builder: Builder<'a>) -> Self {
10618                    Self::Struct(crate::dynamic_struct::Builder::new(
10619                        builder.builder,
10620                        crate::schema::StructSchema::new(
10621                            crate::introspect::RawBrandedStructSchema {
10622                                generic: &_private::RAW_SCHEMA,
10623                                field_types: _private::get_field_types,
10624                                annotation_types: _private::get_annotation_types,
10625                                type_id: ::core::any::TypeId::of::<Owned>(),
10626                            },
10627                        ),
10628                    ))
10629                }
10630            }
10631
10632            impl<'a> crate::traits::ImbueMut<'a> for Builder<'a> {
10633                fn imbue_mut(&mut self, cap_table: &'a mut crate::private::layout::CapTable) {
10634                    self.builder
10635                        .imbue(crate::private::layout::CapTableBuilder::from_ref(cap_table))
10636                }
10637            }
10638
10639            impl<'a> crate::traits::FromPointerBuilder<'a> for Builder<'a> {
10640                fn init_pointer(
10641                    builder: crate::private::layout::PointerBuilder<'a>,
10642                    _size: u32,
10643                ) -> Self {
10644                    builder
10645                        .init_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE)
10646                        .into()
10647                }
10648                fn get_from_pointer(
10649                    builder: crate::private::layout::PointerBuilder<'a>,
10650                    default: ::core::option::Option<&'a [crate::Word]>,
10651                ) -> crate::Result<Self> {
10652                    ::core::result::Result::Ok(
10653                        builder
10654                            .get_struct(
10655                                <Self as crate::traits::HasStructSize>::STRUCT_SIZE,
10656                                default,
10657                            )?
10658                            .into(),
10659                    )
10660                }
10661            }
10662
10663            impl crate::traits::SetterInput<Owned> for Reader<'_> {
10664                fn set_pointer_builder(
10665                    mut pointer: crate::private::layout::PointerBuilder<'_>,
10666                    value: Self,
10667                    canonicalize: bool,
10668                ) -> crate::Result<()> {
10669                    pointer.set_struct(&value.reader, canonicalize)
10670                }
10671            }
10672
10673            impl<'a> Builder<'a> {
10674                pub fn into_reader(self) -> Reader<'a> {
10675                    self.builder.into_reader().into()
10676                }
10677                pub fn reborrow(&mut self) -> Builder<'_> {
10678                    Builder {
10679                        builder: self.builder.reborrow(),
10680                    }
10681                }
10682                pub fn reborrow_as_reader(&self) -> Reader<'_> {
10683                    self.builder.as_reader().into()
10684                }
10685
10686                pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
10687                    self.builder.as_reader().total_size()
10688                }
10689                #[inline]
10690                pub fn get_scope_id(self) -> u64 {
10691                    self.builder.get_data_field::<u64>(2)
10692                }
10693                #[inline]
10694                pub fn set_scope_id(&mut self, value: u64) {
10695                    self.builder.set_data_field::<u64>(2, value);
10696                }
10697                #[inline]
10698                pub fn get_parameter_index(self) -> u16 {
10699                    self.builder.get_data_field::<u16>(5)
10700                }
10701                #[inline]
10702                pub fn set_parameter_index(&mut self, value: u16) {
10703                    self.builder.set_data_field::<u16>(5, value);
10704                }
10705            }
10706
10707            pub struct Pipeline {
10708                _typeless: crate::any_pointer::Pipeline,
10709            }
10710            impl crate::capability::FromTypelessPipeline for Pipeline {
10711                fn new(typeless: crate::any_pointer::Pipeline) -> Self {
10712                    Self {
10713                        _typeless: typeless,
10714                    }
10715                }
10716            }
10717            impl Pipeline {}
10718            mod _private {
10719                pub(crate) static ENCODED_NODE: [crate::Word; 50] = [
10720                    crate::word(0, 0, 0, 0, 6, 0, 6, 0),
10721                    crate::word(133, 74, 97, 244, 36, 247, 209, 157),
10722                    crate::word(29, 0, 0, 0, 1, 0, 4, 0),
10723                    crate::word(241, 73, 62, 162, 232, 63, 87, 194),
10724                    crate::word(1, 0, 7, 0, 1, 0, 0, 0),
10725                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10726                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10727                    crate::word(21, 0, 0, 0, 58, 1, 0, 0),
10728                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10729                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10730                    crate::word(29, 0, 0, 0, 119, 0, 0, 0),
10731                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10732                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10733                    crate::word(115, 99, 104, 101, 109, 97, 46, 99),
10734                    crate::word(97, 112, 110, 112, 58, 84, 121, 112),
10735                    crate::word(101, 46, 97, 110, 121, 80, 111, 105),
10736                    crate::word(110, 116, 101, 114, 46, 112, 97, 114),
10737                    crate::word(97, 109, 101, 116, 101, 114, 0, 0),
10738                    crate::word(8, 0, 0, 0, 3, 0, 4, 0),
10739                    crate::word(0, 0, 0, 0, 2, 0, 0, 0),
10740                    crate::word(0, 0, 1, 0, 19, 0, 0, 0),
10741                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10742                    crate::word(41, 0, 0, 0, 66, 0, 0, 0),
10743                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10744                    crate::word(36, 0, 0, 0, 3, 0, 1, 0),
10745                    crate::word(48, 0, 0, 0, 2, 0, 1, 0),
10746                    crate::word(1, 0, 0, 0, 5, 0, 0, 0),
10747                    crate::word(0, 0, 1, 0, 20, 0, 0, 0),
10748                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10749                    crate::word(45, 0, 0, 0, 122, 0, 0, 0),
10750                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10751                    crate::word(44, 0, 0, 0, 3, 0, 1, 0),
10752                    crate::word(56, 0, 0, 0, 2, 0, 1, 0),
10753                    crate::word(115, 99, 111, 112, 101, 73, 100, 0),
10754                    crate::word(9, 0, 0, 0, 0, 0, 0, 0),
10755                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10756                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10757                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10758                    crate::word(9, 0, 0, 0, 0, 0, 0, 0),
10759                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10760                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10761                    crate::word(112, 97, 114, 97, 109, 101, 116, 101),
10762                    crate::word(114, 73, 110, 100, 101, 120, 0, 0),
10763                    crate::word(7, 0, 0, 0, 0, 0, 0, 0),
10764                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10765                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10766                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10767                    crate::word(7, 0, 0, 0, 0, 0, 0, 0),
10768                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10769                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
10770                ];
10771                pub(crate) fn get_field_types(index: u16) -> crate::introspect::Type {
10772                    match index {
10773                        0 => <u64 as crate::introspect::Introspect>::introspect(),
10774                        1 => <u16 as crate::introspect::Introspect>::introspect(),
10775                        _ => crate::introspect::panic_invalid_field_index(index),
10776                    }
10777                }
10778                pub(crate) fn get_annotation_types(
10779                    child_index: Option<u16>,
10780                    index: u32,
10781                ) -> crate::introspect::Type {
10782                    crate::introspect::panic_invalid_annotation_indices(child_index, index)
10783                }
10784                pub(crate) static ARENA: crate::private::arena::GeneratedCodeArena =
10785                    crate::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
10786                pub(crate) static RAW_SCHEMA: crate::introspect::RawStructSchema =
10787                    crate::introspect::RawStructSchema::new(
10788                        &ARENA,
10789                        NONUNION_MEMBERS,
10790                        MEMBERS_BY_DISCRIMINANT,
10791                        MEMBERS_BY_NAME,
10792                    );
10793                pub(crate) static NONUNION_MEMBERS: &[u16] = &[0, 1];
10794                pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[];
10795                pub(crate) static MEMBERS_BY_NAME: &[u16] = &[1, 0];
10796                pub(crate) const TYPE_ID: u64 = 0x9dd1_f724_f461_4a85;
10797            }
10798        }
10799
10800        pub mod implicit_method_parameter {
10801            #[derive(Copy, Clone)]
10802            pub struct Owned(());
10803            impl crate::introspect::Introspect for Owned {
10804                fn introspect() -> crate::introspect::Type {
10805                    crate::introspect::TypeVariant::Struct(
10806                        crate::introspect::RawBrandedStructSchema {
10807                            generic: &_private::RAW_SCHEMA,
10808                            field_types: _private::get_field_types,
10809                            annotation_types: _private::get_annotation_types,
10810                            type_id: ::core::any::TypeId::of::<Owned>(),
10811                        },
10812                    )
10813                    .into()
10814                }
10815            }
10816            impl crate::traits::Owned for Owned {
10817                type Reader<'a> = Reader<'a>;
10818                type Builder<'a> = Builder<'a>;
10819            }
10820            impl crate::traits::OwnedStruct for Owned {
10821                type Reader<'a> = Reader<'a>;
10822                type Builder<'a> = Builder<'a>;
10823            }
10824            impl crate::traits::Pipelined for Owned {
10825                type Pipeline = Pipeline;
10826            }
10827
10828            pub struct Reader<'a> {
10829                reader: crate::private::layout::StructReader<'a>,
10830            }
10831            impl ::core::marker::Copy for Reader<'_> {}
10832            impl ::core::clone::Clone for Reader<'_> {
10833                fn clone(&self) -> Self {
10834                    *self
10835                }
10836            }
10837
10838            impl crate::traits::HasTypeId for Reader<'_> {
10839                const TYPE_ID: u64 = _private::TYPE_ID;
10840            }
10841            impl<'a> ::core::convert::From<crate::private::layout::StructReader<'a>> for Reader<'a> {
10842                fn from(reader: crate::private::layout::StructReader<'a>) -> Self {
10843                    Self { reader }
10844                }
10845            }
10846
10847            impl<'a> ::core::convert::From<Reader<'a>> for crate::dynamic_value::Reader<'a> {
10848                fn from(reader: Reader<'a>) -> Self {
10849                    Self::Struct(crate::dynamic_struct::Reader::new(
10850                        reader.reader,
10851                        crate::schema::StructSchema::new(
10852                            crate::introspect::RawBrandedStructSchema {
10853                                generic: &_private::RAW_SCHEMA,
10854                                field_types: _private::get_field_types,
10855                                annotation_types: _private::get_annotation_types,
10856                                type_id: ::core::any::TypeId::of::<Owned>(),
10857                            },
10858                        ),
10859                    ))
10860                }
10861            }
10862
10863            impl ::core::fmt::Debug for Reader<'_> {
10864                fn fmt(
10865                    &self,
10866                    f: &mut ::core::fmt::Formatter<'_>,
10867                ) -> ::core::result::Result<(), ::core::fmt::Error> {
10868                    core::fmt::Debug::fmt(
10869                        &::core::convert::Into::<crate::dynamic_value::Reader<'_>>::into(*self),
10870                        f,
10871                    )
10872                }
10873            }
10874
10875            impl<'a> crate::traits::FromPointerReader<'a> for Reader<'a> {
10876                fn get_from_pointer(
10877                    reader: &crate::private::layout::PointerReader<'a>,
10878                    default: ::core::option::Option<&'a [crate::Word]>,
10879                ) -> crate::Result<Self> {
10880                    ::core::result::Result::Ok(reader.get_struct(default)?.into())
10881                }
10882            }
10883
10884            impl<'a> crate::traits::IntoInternalStructReader<'a> for Reader<'a> {
10885                fn into_internal_struct_reader(self) -> crate::private::layout::StructReader<'a> {
10886                    self.reader
10887                }
10888            }
10889
10890            impl<'a> crate::traits::Imbue<'a> for Reader<'a> {
10891                fn imbue(&mut self, cap_table: &'a crate::private::layout::CapTable) {
10892                    self.reader
10893                        .imbue(crate::private::layout::CapTableReader::from_ref(cap_table))
10894                }
10895            }
10896
10897            impl Reader<'_> {
10898                pub fn reborrow(&self) -> Reader<'_> {
10899                    Self { ..*self }
10900                }
10901
10902                pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
10903                    self.reader.total_size()
10904                }
10905                #[inline]
10906                pub fn get_parameter_index(self) -> u16 {
10907                    self.reader.get_data_field::<u16>(5)
10908                }
10909            }
10910
10911            pub struct Builder<'a> {
10912                builder: crate::private::layout::StructBuilder<'a>,
10913            }
10914            impl crate::traits::HasStructSize for Builder<'_> {
10915                const STRUCT_SIZE: crate::private::layout::StructSize =
10916                    crate::private::layout::StructSize {
10917                        data: 4,
10918                        pointers: 1,
10919                    };
10920            }
10921            impl crate::traits::HasTypeId for Builder<'_> {
10922                const TYPE_ID: u64 = _private::TYPE_ID;
10923            }
10924            impl<'a> ::core::convert::From<crate::private::layout::StructBuilder<'a>> for Builder<'a> {
10925                fn from(builder: crate::private::layout::StructBuilder<'a>) -> Self {
10926                    Self { builder }
10927                }
10928            }
10929
10930            impl<'a> crate::traits::IntoInternalStructBuilder<'a> for Builder<'a> {
10931                fn into_internal_struct_builder(self) -> crate::private::layout::StructBuilder<'a> {
10932                    self.builder
10933                }
10934            }
10935
10936            impl<'a> ::core::convert::From<Builder<'a>> for crate::dynamic_value::Builder<'a> {
10937                fn from(builder: Builder<'a>) -> Self {
10938                    Self::Struct(crate::dynamic_struct::Builder::new(
10939                        builder.builder,
10940                        crate::schema::StructSchema::new(
10941                            crate::introspect::RawBrandedStructSchema {
10942                                generic: &_private::RAW_SCHEMA,
10943                                field_types: _private::get_field_types,
10944                                annotation_types: _private::get_annotation_types,
10945                                type_id: ::core::any::TypeId::of::<Owned>(),
10946                            },
10947                        ),
10948                    ))
10949                }
10950            }
10951
10952            impl<'a> crate::traits::ImbueMut<'a> for Builder<'a> {
10953                fn imbue_mut(&mut self, cap_table: &'a mut crate::private::layout::CapTable) {
10954                    self.builder
10955                        .imbue(crate::private::layout::CapTableBuilder::from_ref(cap_table))
10956                }
10957            }
10958
10959            impl<'a> crate::traits::FromPointerBuilder<'a> for Builder<'a> {
10960                fn init_pointer(
10961                    builder: crate::private::layout::PointerBuilder<'a>,
10962                    _size: u32,
10963                ) -> Self {
10964                    builder
10965                        .init_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE)
10966                        .into()
10967                }
10968                fn get_from_pointer(
10969                    builder: crate::private::layout::PointerBuilder<'a>,
10970                    default: ::core::option::Option<&'a [crate::Word]>,
10971                ) -> crate::Result<Self> {
10972                    ::core::result::Result::Ok(
10973                        builder
10974                            .get_struct(
10975                                <Self as crate::traits::HasStructSize>::STRUCT_SIZE,
10976                                default,
10977                            )?
10978                            .into(),
10979                    )
10980                }
10981            }
10982
10983            impl crate::traits::SetterInput<Owned> for Reader<'_> {
10984                fn set_pointer_builder(
10985                    mut pointer: crate::private::layout::PointerBuilder<'_>,
10986                    value: Self,
10987                    canonicalize: bool,
10988                ) -> crate::Result<()> {
10989                    pointer.set_struct(&value.reader, canonicalize)
10990                }
10991            }
10992
10993            impl<'a> Builder<'a> {
10994                pub fn into_reader(self) -> Reader<'a> {
10995                    self.builder.into_reader().into()
10996                }
10997                pub fn reborrow(&mut self) -> Builder<'_> {
10998                    Builder {
10999                        builder: self.builder.reborrow(),
11000                    }
11001                }
11002                pub fn reborrow_as_reader(&self) -> Reader<'_> {
11003                    self.builder.as_reader().into()
11004                }
11005
11006                pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
11007                    self.builder.as_reader().total_size()
11008                }
11009                #[inline]
11010                pub fn get_parameter_index(self) -> u16 {
11011                    self.builder.get_data_field::<u16>(5)
11012                }
11013                #[inline]
11014                pub fn set_parameter_index(&mut self, value: u16) {
11015                    self.builder.set_data_field::<u16>(5, value);
11016                }
11017            }
11018
11019            pub struct Pipeline {
11020                _typeless: crate::any_pointer::Pipeline,
11021            }
11022            impl crate::capability::FromTypelessPipeline for Pipeline {
11023                fn new(typeless: crate::any_pointer::Pipeline) -> Self {
11024                    Self {
11025                        _typeless: typeless,
11026                    }
11027                }
11028            }
11029            impl Pipeline {}
11030            mod _private {
11031                pub(crate) static ENCODED_NODE: [crate::Word; 37] = [
11032                    crate::word(0, 0, 0, 0, 6, 0, 6, 0),
11033                    crate::word(116, 226, 86, 12, 18, 201, 239, 186),
11034                    crate::word(29, 0, 0, 0, 1, 0, 4, 0),
11035                    crate::word(241, 73, 62, 162, 232, 63, 87, 194),
11036                    crate::word(1, 0, 7, 0, 1, 0, 0, 0),
11037                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11038                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11039                    crate::word(21, 0, 0, 0, 170, 1, 0, 0),
11040                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11041                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11042                    crate::word(37, 0, 0, 0, 63, 0, 0, 0),
11043                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11044                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11045                    crate::word(115, 99, 104, 101, 109, 97, 46, 99),
11046                    crate::word(97, 112, 110, 112, 58, 84, 121, 112),
11047                    crate::word(101, 46, 97, 110, 121, 80, 111, 105),
11048                    crate::word(110, 116, 101, 114, 46, 105, 109, 112),
11049                    crate::word(108, 105, 99, 105, 116, 77, 101, 116),
11050                    crate::word(104, 111, 100, 80, 97, 114, 97, 109),
11051                    crate::word(101, 116, 101, 114, 0, 0, 0, 0),
11052                    crate::word(4, 0, 0, 0, 3, 0, 4, 0),
11053                    crate::word(0, 0, 0, 0, 5, 0, 0, 0),
11054                    crate::word(0, 0, 1, 0, 24, 0, 0, 0),
11055                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11056                    crate::word(13, 0, 0, 0, 122, 0, 0, 0),
11057                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11058                    crate::word(12, 0, 0, 0, 3, 0, 1, 0),
11059                    crate::word(24, 0, 0, 0, 2, 0, 1, 0),
11060                    crate::word(112, 97, 114, 97, 109, 101, 116, 101),
11061                    crate::word(114, 73, 110, 100, 101, 120, 0, 0),
11062                    crate::word(7, 0, 0, 0, 0, 0, 0, 0),
11063                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11064                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11065                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11066                    crate::word(7, 0, 0, 0, 0, 0, 0, 0),
11067                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11068                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11069                ];
11070                pub(crate) fn get_field_types(index: u16) -> crate::introspect::Type {
11071                    match index {
11072                        0 => <u16 as crate::introspect::Introspect>::introspect(),
11073                        _ => crate::introspect::panic_invalid_field_index(index),
11074                    }
11075                }
11076                pub(crate) fn get_annotation_types(
11077                    child_index: Option<u16>,
11078                    index: u32,
11079                ) -> crate::introspect::Type {
11080                    crate::introspect::panic_invalid_annotation_indices(child_index, index)
11081                }
11082                pub(crate) static ARENA: crate::private::arena::GeneratedCodeArena =
11083                    crate::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
11084                pub(crate) static RAW_SCHEMA: crate::introspect::RawStructSchema =
11085                    crate::introspect::RawStructSchema::new(
11086                        &ARENA,
11087                        NONUNION_MEMBERS,
11088                        MEMBERS_BY_DISCRIMINANT,
11089                        MEMBERS_BY_NAME,
11090                    );
11091                pub(crate) static NONUNION_MEMBERS: &[u16] = &[0];
11092                pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[];
11093                pub(crate) static MEMBERS_BY_NAME: &[u16] = &[0];
11094                pub(crate) const TYPE_ID: u64 = 0xbaef_c912_0c56_e274;
11095            }
11096        }
11097    }
11098}
11099
11100pub mod brand {
11101    #[derive(Copy, Clone)]
11102    pub struct Owned(());
11103    impl crate::introspect::Introspect for Owned {
11104        fn introspect() -> crate::introspect::Type {
11105            crate::introspect::TypeVariant::Struct(crate::introspect::RawBrandedStructSchema {
11106                generic: &_private::RAW_SCHEMA,
11107                field_types: _private::get_field_types,
11108                annotation_types: _private::get_annotation_types,
11109                type_id: ::core::any::TypeId::of::<Owned>(),
11110            })
11111            .into()
11112        }
11113    }
11114    impl crate::traits::Owned for Owned {
11115        type Reader<'a> = Reader<'a>;
11116        type Builder<'a> = Builder<'a>;
11117    }
11118    impl crate::traits::OwnedStruct for Owned {
11119        type Reader<'a> = Reader<'a>;
11120        type Builder<'a> = Builder<'a>;
11121    }
11122    impl crate::traits::Pipelined for Owned {
11123        type Pipeline = Pipeline;
11124    }
11125
11126    pub struct Reader<'a> {
11127        reader: crate::private::layout::StructReader<'a>,
11128    }
11129    impl ::core::marker::Copy for Reader<'_> {}
11130    impl ::core::clone::Clone for Reader<'_> {
11131        fn clone(&self) -> Self {
11132            *self
11133        }
11134    }
11135
11136    impl crate::traits::HasTypeId for Reader<'_> {
11137        const TYPE_ID: u64 = _private::TYPE_ID;
11138    }
11139    impl<'a> ::core::convert::From<crate::private::layout::StructReader<'a>> for Reader<'a> {
11140        fn from(reader: crate::private::layout::StructReader<'a>) -> Self {
11141            Self { reader }
11142        }
11143    }
11144
11145    impl<'a> ::core::convert::From<Reader<'a>> for crate::dynamic_value::Reader<'a> {
11146        fn from(reader: Reader<'a>) -> Self {
11147            Self::Struct(crate::dynamic_struct::Reader::new(
11148                reader.reader,
11149                crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
11150                    generic: &_private::RAW_SCHEMA,
11151                    field_types: _private::get_field_types,
11152                    annotation_types: _private::get_annotation_types,
11153                    type_id: ::core::any::TypeId::of::<Owned>(),
11154                }),
11155            ))
11156        }
11157    }
11158
11159    impl ::core::fmt::Debug for Reader<'_> {
11160        fn fmt(
11161            &self,
11162            f: &mut ::core::fmt::Formatter<'_>,
11163        ) -> ::core::result::Result<(), ::core::fmt::Error> {
11164            core::fmt::Debug::fmt(
11165                &::core::convert::Into::<crate::dynamic_value::Reader<'_>>::into(*self),
11166                f,
11167            )
11168        }
11169    }
11170
11171    impl<'a> crate::traits::FromPointerReader<'a> for Reader<'a> {
11172        fn get_from_pointer(
11173            reader: &crate::private::layout::PointerReader<'a>,
11174            default: ::core::option::Option<&'a [crate::Word]>,
11175        ) -> crate::Result<Self> {
11176            ::core::result::Result::Ok(reader.get_struct(default)?.into())
11177        }
11178    }
11179
11180    impl<'a> crate::traits::IntoInternalStructReader<'a> for Reader<'a> {
11181        fn into_internal_struct_reader(self) -> crate::private::layout::StructReader<'a> {
11182            self.reader
11183        }
11184    }
11185
11186    impl<'a> crate::traits::Imbue<'a> for Reader<'a> {
11187        fn imbue(&mut self, cap_table: &'a crate::private::layout::CapTable) {
11188            self.reader
11189                .imbue(crate::private::layout::CapTableReader::from_ref(cap_table))
11190        }
11191    }
11192
11193    impl<'a> Reader<'a> {
11194        pub fn reborrow(&self) -> Reader<'_> {
11195            Self { ..*self }
11196        }
11197
11198        pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
11199            self.reader.total_size()
11200        }
11201        #[inline]
11202        pub fn get_scopes(
11203            self,
11204        ) -> crate::Result<crate::struct_list::Reader<'a, crate::schema_capnp::brand::scope::Owned>>
11205        {
11206            crate::traits::FromPointerReader::get_from_pointer(
11207                &self.reader.get_pointer_field(0),
11208                ::core::option::Option::None,
11209            )
11210        }
11211        #[inline]
11212        pub fn has_scopes(&self) -> bool {
11213            !self.reader.get_pointer_field(0).is_null()
11214        }
11215    }
11216
11217    pub struct Builder<'a> {
11218        builder: crate::private::layout::StructBuilder<'a>,
11219    }
11220    impl crate::traits::HasStructSize for Builder<'_> {
11221        const STRUCT_SIZE: crate::private::layout::StructSize =
11222            crate::private::layout::StructSize {
11223                data: 0,
11224                pointers: 1,
11225            };
11226    }
11227    impl crate::traits::HasTypeId for Builder<'_> {
11228        const TYPE_ID: u64 = _private::TYPE_ID;
11229    }
11230    impl<'a> ::core::convert::From<crate::private::layout::StructBuilder<'a>> for Builder<'a> {
11231        fn from(builder: crate::private::layout::StructBuilder<'a>) -> Self {
11232            Self { builder }
11233        }
11234    }
11235
11236    impl<'a> crate::traits::IntoInternalStructBuilder<'a> for Builder<'a> {
11237        fn into_internal_struct_builder(self) -> crate::private::layout::StructBuilder<'a> {
11238            self.builder
11239        }
11240    }
11241
11242    impl<'a> ::core::convert::From<Builder<'a>> for crate::dynamic_value::Builder<'a> {
11243        fn from(builder: Builder<'a>) -> Self {
11244            Self::Struct(crate::dynamic_struct::Builder::new(
11245                builder.builder,
11246                crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
11247                    generic: &_private::RAW_SCHEMA,
11248                    field_types: _private::get_field_types,
11249                    annotation_types: _private::get_annotation_types,
11250                    type_id: ::core::any::TypeId::of::<Owned>(),
11251                }),
11252            ))
11253        }
11254    }
11255
11256    impl<'a> crate::traits::ImbueMut<'a> for Builder<'a> {
11257        fn imbue_mut(&mut self, cap_table: &'a mut crate::private::layout::CapTable) {
11258            self.builder
11259                .imbue(crate::private::layout::CapTableBuilder::from_ref(cap_table))
11260        }
11261    }
11262
11263    impl<'a> crate::traits::FromPointerBuilder<'a> for Builder<'a> {
11264        fn init_pointer(builder: crate::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
11265            builder
11266                .init_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE)
11267                .into()
11268        }
11269        fn get_from_pointer(
11270            builder: crate::private::layout::PointerBuilder<'a>,
11271            default: ::core::option::Option<&'a [crate::Word]>,
11272        ) -> crate::Result<Self> {
11273            ::core::result::Result::Ok(
11274                builder
11275                    .get_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE, default)?
11276                    .into(),
11277            )
11278        }
11279    }
11280
11281    impl crate::traits::SetterInput<Owned> for Reader<'_> {
11282        fn set_pointer_builder(
11283            mut pointer: crate::private::layout::PointerBuilder<'_>,
11284            value: Self,
11285            canonicalize: bool,
11286        ) -> crate::Result<()> {
11287            pointer.set_struct(&value.reader, canonicalize)
11288        }
11289    }
11290
11291    impl<'a> Builder<'a> {
11292        pub fn into_reader(self) -> Reader<'a> {
11293            self.builder.into_reader().into()
11294        }
11295        pub fn reborrow(&mut self) -> Builder<'_> {
11296            Builder {
11297                builder: self.builder.reborrow(),
11298            }
11299        }
11300        pub fn reborrow_as_reader(&self) -> Reader<'_> {
11301            self.builder.as_reader().into()
11302        }
11303
11304        pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
11305            self.builder.as_reader().total_size()
11306        }
11307        #[inline]
11308        pub fn get_scopes(
11309            self,
11310        ) -> crate::Result<crate::struct_list::Builder<'a, crate::schema_capnp::brand::scope::Owned>>
11311        {
11312            crate::traits::FromPointerBuilder::get_from_pointer(
11313                self.builder.get_pointer_field(0),
11314                ::core::option::Option::None,
11315            )
11316        }
11317        #[inline]
11318        pub fn set_scopes(
11319            &mut self,
11320            value: crate::struct_list::Reader<'_, crate::schema_capnp::brand::scope::Owned>,
11321        ) -> crate::Result<()> {
11322            crate::traits::SetterInput::set_pointer_builder(
11323                self.builder.reborrow().get_pointer_field(0),
11324                value,
11325                false,
11326            )
11327        }
11328        #[inline]
11329        pub fn init_scopes(
11330            self,
11331            size: u32,
11332        ) -> crate::struct_list::Builder<'a, crate::schema_capnp::brand::scope::Owned> {
11333            crate::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), size)
11334        }
11335        #[inline]
11336        pub fn has_scopes(&self) -> bool {
11337            !self.builder.is_pointer_field_null(0)
11338        }
11339    }
11340
11341    pub struct Pipeline {
11342        _typeless: crate::any_pointer::Pipeline,
11343    }
11344    impl crate::capability::FromTypelessPipeline for Pipeline {
11345        fn new(typeless: crate::any_pointer::Pipeline) -> Self {
11346            Self {
11347                _typeless: typeless,
11348            }
11349        }
11350    }
11351    impl Pipeline {}
11352    mod _private {
11353        pub(crate) static ENCODED_NODE: [crate::Word; 43] = [
11354            crate::word(0, 0, 0, 0, 6, 0, 6, 0),
11355            crate::word(43, 66, 101, 96, 240, 85, 52, 144),
11356            crate::word(13, 0, 0, 0, 1, 0, 0, 0),
11357            crate::word(217, 114, 76, 98, 9, 197, 63, 169),
11358            crate::word(1, 0, 7, 0, 0, 0, 0, 0),
11359            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11360            crate::word(212, 58, 0, 0, 202, 64, 0, 0),
11361            crate::word(21, 0, 0, 0, 154, 0, 0, 0),
11362            crate::word(29, 0, 0, 0, 39, 0, 0, 0),
11363            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11364            crate::word(49, 0, 0, 0, 63, 0, 0, 0),
11365            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11366            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11367            crate::word(115, 99, 104, 101, 109, 97, 46, 99),
11368            crate::word(97, 112, 110, 112, 58, 66, 114, 97),
11369            crate::word(110, 100, 0, 0, 0, 0, 0, 0),
11370            crate::word(8, 0, 0, 0, 1, 0, 1, 0),
11371            crate::word(201, 107, 99, 169, 133, 52, 215, 171),
11372            crate::word(9, 0, 0, 0, 50, 0, 0, 0),
11373            crate::word(252, 231, 158, 150, 22, 205, 99, 200),
11374            crate::word(5, 0, 0, 0, 66, 0, 0, 0),
11375            crate::word(83, 99, 111, 112, 101, 0, 0, 0),
11376            crate::word(66, 105, 110, 100, 105, 110, 103, 0),
11377            crate::word(4, 0, 0, 0, 3, 0, 4, 0),
11378            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11379            crate::word(0, 0, 1, 0, 0, 0, 0, 0),
11380            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11381            crate::word(13, 0, 0, 0, 58, 0, 0, 0),
11382            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11383            crate::word(8, 0, 0, 0, 3, 0, 1, 0),
11384            crate::word(36, 0, 0, 0, 2, 0, 1, 0),
11385            crate::word(115, 99, 111, 112, 101, 115, 0, 0),
11386            crate::word(14, 0, 0, 0, 0, 0, 0, 0),
11387            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11388            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11389            crate::word(0, 0, 0, 0, 3, 0, 1, 0),
11390            crate::word(16, 0, 0, 0, 0, 0, 0, 0),
11391            crate::word(201, 107, 99, 169, 133, 52, 215, 171),
11392            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11393            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11394            crate::word(14, 0, 0, 0, 0, 0, 0, 0),
11395            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11396            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11397        ];
11398        pub(crate) fn get_field_types(index: u16) -> crate::introspect::Type {
11399            match index {
11400                0 => <crate::struct_list::Owned<crate::schema_capnp::brand::scope::Owned> as crate::introspect::Introspect>::introspect(),
11401                _ => crate::introspect::panic_invalid_field_index(index),
11402            }
11403        }
11404        pub(crate) fn get_annotation_types(
11405            child_index: Option<u16>,
11406            index: u32,
11407        ) -> crate::introspect::Type {
11408            crate::introspect::panic_invalid_annotation_indices(child_index, index)
11409        }
11410        pub(crate) static ARENA: crate::private::arena::GeneratedCodeArena =
11411            crate::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
11412        pub(crate) static RAW_SCHEMA: crate::introspect::RawStructSchema =
11413            crate::introspect::RawStructSchema::new(
11414                &ARENA,
11415                NONUNION_MEMBERS,
11416                MEMBERS_BY_DISCRIMINANT,
11417                MEMBERS_BY_NAME,
11418            );
11419        pub(crate) static NONUNION_MEMBERS: &[u16] = &[0];
11420        pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[];
11421        pub(crate) static MEMBERS_BY_NAME: &[u16] = &[0];
11422        pub(crate) const TYPE_ID: u64 = 0x9034_55f0_6065_422b;
11423    }
11424
11425    pub mod scope {
11426        pub use self::Which::{Bind, Inherit};
11427
11428        #[derive(Copy, Clone)]
11429        pub struct Owned(());
11430        impl crate::introspect::Introspect for Owned {
11431            fn introspect() -> crate::introspect::Type {
11432                crate::introspect::TypeVariant::Struct(crate::introspect::RawBrandedStructSchema {
11433                    generic: &_private::RAW_SCHEMA,
11434                    field_types: _private::get_field_types,
11435                    annotation_types: _private::get_annotation_types,
11436                    type_id: ::core::any::TypeId::of::<Owned>(),
11437                })
11438                .into()
11439            }
11440        }
11441        impl crate::traits::Owned for Owned {
11442            type Reader<'a> = Reader<'a>;
11443            type Builder<'a> = Builder<'a>;
11444        }
11445        impl crate::traits::OwnedStruct for Owned {
11446            type Reader<'a> = Reader<'a>;
11447            type Builder<'a> = Builder<'a>;
11448        }
11449        impl crate::traits::Pipelined for Owned {
11450            type Pipeline = Pipeline;
11451        }
11452
11453        pub struct Reader<'a> {
11454            reader: crate::private::layout::StructReader<'a>,
11455        }
11456        impl ::core::marker::Copy for Reader<'_> {}
11457        impl ::core::clone::Clone for Reader<'_> {
11458            fn clone(&self) -> Self {
11459                *self
11460            }
11461        }
11462
11463        impl crate::traits::HasTypeId for Reader<'_> {
11464            const TYPE_ID: u64 = _private::TYPE_ID;
11465        }
11466        impl<'a> ::core::convert::From<crate::private::layout::StructReader<'a>> for Reader<'a> {
11467            fn from(reader: crate::private::layout::StructReader<'a>) -> Self {
11468                Self { reader }
11469            }
11470        }
11471
11472        impl<'a> ::core::convert::From<Reader<'a>> for crate::dynamic_value::Reader<'a> {
11473            fn from(reader: Reader<'a>) -> Self {
11474                Self::Struct(crate::dynamic_struct::Reader::new(
11475                    reader.reader,
11476                    crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
11477                        generic: &_private::RAW_SCHEMA,
11478                        field_types: _private::get_field_types,
11479                        annotation_types: _private::get_annotation_types,
11480                        type_id: ::core::any::TypeId::of::<Owned>(),
11481                    }),
11482                ))
11483            }
11484        }
11485
11486        impl ::core::fmt::Debug for Reader<'_> {
11487            fn fmt(
11488                &self,
11489                f: &mut ::core::fmt::Formatter<'_>,
11490            ) -> ::core::result::Result<(), ::core::fmt::Error> {
11491                core::fmt::Debug::fmt(
11492                    &::core::convert::Into::<crate::dynamic_value::Reader<'_>>::into(*self),
11493                    f,
11494                )
11495            }
11496        }
11497
11498        impl<'a> crate::traits::FromPointerReader<'a> for Reader<'a> {
11499            fn get_from_pointer(
11500                reader: &crate::private::layout::PointerReader<'a>,
11501                default: ::core::option::Option<&'a [crate::Word]>,
11502            ) -> crate::Result<Self> {
11503                ::core::result::Result::Ok(reader.get_struct(default)?.into())
11504            }
11505        }
11506
11507        impl<'a> crate::traits::IntoInternalStructReader<'a> for Reader<'a> {
11508            fn into_internal_struct_reader(self) -> crate::private::layout::StructReader<'a> {
11509                self.reader
11510            }
11511        }
11512
11513        impl<'a> crate::traits::Imbue<'a> for Reader<'a> {
11514            fn imbue(&mut self, cap_table: &'a crate::private::layout::CapTable) {
11515                self.reader
11516                    .imbue(crate::private::layout::CapTableReader::from_ref(cap_table))
11517            }
11518        }
11519
11520        impl<'a> Reader<'a> {
11521            pub fn reborrow(&self) -> Reader<'_> {
11522                Self { ..*self }
11523            }
11524
11525            pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
11526                self.reader.total_size()
11527            }
11528            #[inline]
11529            pub fn get_scope_id(self) -> u64 {
11530                self.reader.get_data_field::<u64>(0)
11531            }
11532            #[inline]
11533            pub fn has_bind(&self) -> bool {
11534                if self.reader.get_data_field::<u16>(4) != 0 {
11535                    return false;
11536                }
11537                !self.reader.get_pointer_field(0).is_null()
11538            }
11539            #[inline]
11540            pub fn which(self) -> ::core::result::Result<WhichReader<'a>, crate::NotInSchema> {
11541                match self.reader.get_data_field::<u16>(4) {
11542                    0 => ::core::result::Result::Ok(Bind(
11543                        crate::traits::FromPointerReader::get_from_pointer(
11544                            &self.reader.get_pointer_field(0),
11545                            ::core::option::Option::None,
11546                        ),
11547                    )),
11548                    1 => ::core::result::Result::Ok(Inherit(())),
11549                    x => ::core::result::Result::Err(crate::NotInSchema(x)),
11550                }
11551            }
11552        }
11553
11554        pub struct Builder<'a> {
11555            builder: crate::private::layout::StructBuilder<'a>,
11556        }
11557        impl crate::traits::HasStructSize for Builder<'_> {
11558            const STRUCT_SIZE: crate::private::layout::StructSize =
11559                crate::private::layout::StructSize {
11560                    data: 2,
11561                    pointers: 1,
11562                };
11563        }
11564        impl crate::traits::HasTypeId for Builder<'_> {
11565            const TYPE_ID: u64 = _private::TYPE_ID;
11566        }
11567        impl<'a> ::core::convert::From<crate::private::layout::StructBuilder<'a>> for Builder<'a> {
11568            fn from(builder: crate::private::layout::StructBuilder<'a>) -> Self {
11569                Self { builder }
11570            }
11571        }
11572
11573        impl<'a> crate::traits::IntoInternalStructBuilder<'a> for Builder<'a> {
11574            fn into_internal_struct_builder(self) -> crate::private::layout::StructBuilder<'a> {
11575                self.builder
11576            }
11577        }
11578
11579        impl<'a> ::core::convert::From<Builder<'a>> for crate::dynamic_value::Builder<'a> {
11580            fn from(builder: Builder<'a>) -> Self {
11581                Self::Struct(crate::dynamic_struct::Builder::new(
11582                    builder.builder,
11583                    crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
11584                        generic: &_private::RAW_SCHEMA,
11585                        field_types: _private::get_field_types,
11586                        annotation_types: _private::get_annotation_types,
11587                        type_id: ::core::any::TypeId::of::<Owned>(),
11588                    }),
11589                ))
11590            }
11591        }
11592
11593        impl<'a> crate::traits::ImbueMut<'a> for Builder<'a> {
11594            fn imbue_mut(&mut self, cap_table: &'a mut crate::private::layout::CapTable) {
11595                self.builder
11596                    .imbue(crate::private::layout::CapTableBuilder::from_ref(cap_table))
11597            }
11598        }
11599
11600        impl<'a> crate::traits::FromPointerBuilder<'a> for Builder<'a> {
11601            fn init_pointer(
11602                builder: crate::private::layout::PointerBuilder<'a>,
11603                _size: u32,
11604            ) -> Self {
11605                builder
11606                    .init_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE)
11607                    .into()
11608            }
11609            fn get_from_pointer(
11610                builder: crate::private::layout::PointerBuilder<'a>,
11611                default: ::core::option::Option<&'a [crate::Word]>,
11612            ) -> crate::Result<Self> {
11613                ::core::result::Result::Ok(
11614                    builder
11615                        .get_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE, default)?
11616                        .into(),
11617                )
11618            }
11619        }
11620
11621        impl crate::traits::SetterInput<Owned> for Reader<'_> {
11622            fn set_pointer_builder(
11623                mut pointer: crate::private::layout::PointerBuilder<'_>,
11624                value: Self,
11625                canonicalize: bool,
11626            ) -> crate::Result<()> {
11627                pointer.set_struct(&value.reader, canonicalize)
11628            }
11629        }
11630
11631        impl<'a> Builder<'a> {
11632            pub fn into_reader(self) -> Reader<'a> {
11633                self.builder.into_reader().into()
11634            }
11635            pub fn reborrow(&mut self) -> Builder<'_> {
11636                Builder {
11637                    builder: self.builder.reborrow(),
11638                }
11639            }
11640            pub fn reborrow_as_reader(&self) -> Reader<'_> {
11641                self.builder.as_reader().into()
11642            }
11643
11644            pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
11645                self.builder.as_reader().total_size()
11646            }
11647            #[inline]
11648            pub fn get_scope_id(self) -> u64 {
11649                self.builder.get_data_field::<u64>(0)
11650            }
11651            #[inline]
11652            pub fn set_scope_id(&mut self, value: u64) {
11653                self.builder.set_data_field::<u64>(0, value);
11654            }
11655            #[inline]
11656            pub fn set_bind(
11657                &mut self,
11658                value: crate::struct_list::Reader<'_, crate::schema_capnp::brand::binding::Owned>,
11659            ) -> crate::Result<()> {
11660                self.builder.set_data_field::<u16>(4, 0);
11661                crate::traits::SetterInput::set_pointer_builder(
11662                    self.builder.reborrow().get_pointer_field(0),
11663                    value,
11664                    false,
11665                )
11666            }
11667            #[inline]
11668            pub fn init_bind(
11669                self,
11670                size: u32,
11671            ) -> crate::struct_list::Builder<'a, crate::schema_capnp::brand::binding::Owned>
11672            {
11673                self.builder.set_data_field::<u16>(4, 0);
11674                crate::traits::FromPointerBuilder::init_pointer(
11675                    self.builder.get_pointer_field(0),
11676                    size,
11677                )
11678            }
11679            #[inline]
11680            pub fn has_bind(&self) -> bool {
11681                if self.builder.get_data_field::<u16>(4) != 0 {
11682                    return false;
11683                }
11684                !self.builder.is_pointer_field_null(0)
11685            }
11686            #[inline]
11687            pub fn set_inherit(&mut self, _value: ()) {
11688                self.builder.set_data_field::<u16>(4, 1);
11689            }
11690            #[inline]
11691            pub fn which(self) -> ::core::result::Result<WhichBuilder<'a>, crate::NotInSchema> {
11692                match self.builder.get_data_field::<u16>(4) {
11693                    0 => ::core::result::Result::Ok(Bind(
11694                        crate::traits::FromPointerBuilder::get_from_pointer(
11695                            self.builder.get_pointer_field(0),
11696                            ::core::option::Option::None,
11697                        ),
11698                    )),
11699                    1 => ::core::result::Result::Ok(Inherit(())),
11700                    x => ::core::result::Result::Err(crate::NotInSchema(x)),
11701                }
11702            }
11703        }
11704
11705        pub struct Pipeline {
11706            _typeless: crate::any_pointer::Pipeline,
11707        }
11708        impl crate::capability::FromTypelessPipeline for Pipeline {
11709            fn new(typeless: crate::any_pointer::Pipeline) -> Self {
11710                Self {
11711                    _typeless: typeless,
11712                }
11713            }
11714        }
11715        impl Pipeline {}
11716        mod _private {
11717            pub(crate) static ENCODED_NODE: [crate::Word; 68] = [
11718                crate::word(0, 0, 0, 0, 6, 0, 6, 0),
11719                crate::word(201, 107, 99, 169, 133, 52, 215, 171),
11720                crate::word(19, 0, 0, 0, 1, 0, 2, 0),
11721                crate::word(43, 66, 101, 96, 240, 85, 52, 144),
11722                crate::word(1, 0, 7, 0, 0, 0, 2, 0),
11723                crate::word(4, 0, 0, 0, 0, 0, 0, 0),
11724                crate::word(168, 60, 0, 0, 44, 64, 0, 0),
11725                crate::word(21, 0, 0, 0, 202, 0, 0, 0),
11726                crate::word(33, 0, 0, 0, 7, 0, 0, 0),
11727                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11728                crate::word(29, 0, 0, 0, 175, 0, 0, 0),
11729                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11730                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11731                crate::word(115, 99, 104, 101, 109, 97, 46, 99),
11732                crate::word(97, 112, 110, 112, 58, 66, 114, 97),
11733                crate::word(110, 100, 46, 83, 99, 111, 112, 101),
11734                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11735                crate::word(0, 0, 0, 0, 1, 0, 1, 0),
11736                crate::word(12, 0, 0, 0, 3, 0, 4, 0),
11737                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11738                crate::word(0, 0, 1, 0, 0, 0, 0, 0),
11739                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11740                crate::word(69, 0, 0, 0, 66, 0, 0, 0),
11741                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11742                crate::word(64, 0, 0, 0, 3, 0, 1, 0),
11743                crate::word(76, 0, 0, 0, 2, 0, 1, 0),
11744                crate::word(1, 0, 255, 255, 0, 0, 0, 0),
11745                crate::word(0, 0, 1, 0, 1, 0, 0, 0),
11746                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11747                crate::word(73, 0, 0, 0, 42, 0, 0, 0),
11748                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11749                crate::word(68, 0, 0, 0, 3, 0, 1, 0),
11750                crate::word(96, 0, 0, 0, 2, 0, 1, 0),
11751                crate::word(2, 0, 254, 255, 0, 0, 0, 0),
11752                crate::word(0, 0, 1, 0, 2, 0, 0, 0),
11753                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11754                crate::word(93, 0, 0, 0, 66, 0, 0, 0),
11755                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11756                crate::word(88, 0, 0, 0, 3, 0, 1, 0),
11757                crate::word(100, 0, 0, 0, 2, 0, 1, 0),
11758                crate::word(115, 99, 111, 112, 101, 73, 100, 0),
11759                crate::word(9, 0, 0, 0, 0, 0, 0, 0),
11760                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11761                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11762                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11763                crate::word(9, 0, 0, 0, 0, 0, 0, 0),
11764                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11765                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11766                crate::word(98, 105, 110, 100, 0, 0, 0, 0),
11767                crate::word(14, 0, 0, 0, 0, 0, 0, 0),
11768                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11769                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11770                crate::word(0, 0, 0, 0, 3, 0, 1, 0),
11771                crate::word(16, 0, 0, 0, 0, 0, 0, 0),
11772                crate::word(252, 231, 158, 150, 22, 205, 99, 200),
11773                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11774                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11775                crate::word(14, 0, 0, 0, 0, 0, 0, 0),
11776                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11777                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11778                crate::word(105, 110, 104, 101, 114, 105, 116, 0),
11779                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11780                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11781                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11782                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11783                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11784                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11785                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
11786            ];
11787            pub(crate) fn get_field_types(index: u16) -> crate::introspect::Type {
11788                match index {
11789                    0 => <u64 as crate::introspect::Introspect>::introspect(),
11790                    1 => <crate::struct_list::Owned<crate::schema_capnp::brand::binding::Owned> as crate::introspect::Introspect>::introspect(),
11791                    2 => <() as crate::introspect::Introspect>::introspect(),
11792                    _ => crate::introspect::panic_invalid_field_index(index),
11793                }
11794            }
11795            pub(crate) fn get_annotation_types(
11796                child_index: Option<u16>,
11797                index: u32,
11798            ) -> crate::introspect::Type {
11799                crate::introspect::panic_invalid_annotation_indices(child_index, index)
11800            }
11801            pub(crate) static ARENA: crate::private::arena::GeneratedCodeArena =
11802                crate::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
11803            pub(crate) static RAW_SCHEMA: crate::introspect::RawStructSchema =
11804                crate::introspect::RawStructSchema::new(
11805                    &ARENA,
11806                    NONUNION_MEMBERS,
11807                    MEMBERS_BY_DISCRIMINANT,
11808                    MEMBERS_BY_NAME,
11809                );
11810            pub(crate) static NONUNION_MEMBERS: &[u16] = &[0];
11811            pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[1, 2];
11812            pub(crate) static MEMBERS_BY_NAME: &[u16] = &[1, 2, 0];
11813            pub(crate) const TYPE_ID: u64 = 0xabd7_3485_a963_6bc9;
11814        }
11815        pub enum Which<A0> {
11816            Bind(A0),
11817            Inherit(()),
11818        }
11819        pub type WhichReader<'a> = Which<
11820            crate::Result<
11821                crate::struct_list::Reader<'a, crate::schema_capnp::brand::binding::Owned>,
11822            >,
11823        >;
11824        pub type WhichBuilder<'a> = Which<
11825            crate::Result<
11826                crate::struct_list::Builder<'a, crate::schema_capnp::brand::binding::Owned>,
11827            >,
11828        >;
11829    }
11830
11831    pub mod binding {
11832        pub use self::Which::{Type, Unbound};
11833
11834        #[derive(Copy, Clone)]
11835        pub struct Owned(());
11836        impl crate::introspect::Introspect for Owned {
11837            fn introspect() -> crate::introspect::Type {
11838                crate::introspect::TypeVariant::Struct(crate::introspect::RawBrandedStructSchema {
11839                    generic: &_private::RAW_SCHEMA,
11840                    field_types: _private::get_field_types,
11841                    annotation_types: _private::get_annotation_types,
11842                    type_id: ::core::any::TypeId::of::<Owned>(),
11843                })
11844                .into()
11845            }
11846        }
11847        impl crate::traits::Owned for Owned {
11848            type Reader<'a> = Reader<'a>;
11849            type Builder<'a> = Builder<'a>;
11850        }
11851        impl crate::traits::OwnedStruct for Owned {
11852            type Reader<'a> = Reader<'a>;
11853            type Builder<'a> = Builder<'a>;
11854        }
11855        impl crate::traits::Pipelined for Owned {
11856            type Pipeline = Pipeline;
11857        }
11858
11859        pub struct Reader<'a> {
11860            reader: crate::private::layout::StructReader<'a>,
11861        }
11862        impl ::core::marker::Copy for Reader<'_> {}
11863        impl ::core::clone::Clone for Reader<'_> {
11864            fn clone(&self) -> Self {
11865                *self
11866            }
11867        }
11868
11869        impl crate::traits::HasTypeId for Reader<'_> {
11870            const TYPE_ID: u64 = _private::TYPE_ID;
11871        }
11872        impl<'a> ::core::convert::From<crate::private::layout::StructReader<'a>> for Reader<'a> {
11873            fn from(reader: crate::private::layout::StructReader<'a>) -> Self {
11874                Self { reader }
11875            }
11876        }
11877
11878        impl<'a> ::core::convert::From<Reader<'a>> for crate::dynamic_value::Reader<'a> {
11879            fn from(reader: Reader<'a>) -> Self {
11880                Self::Struct(crate::dynamic_struct::Reader::new(
11881                    reader.reader,
11882                    crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
11883                        generic: &_private::RAW_SCHEMA,
11884                        field_types: _private::get_field_types,
11885                        annotation_types: _private::get_annotation_types,
11886                        type_id: ::core::any::TypeId::of::<Owned>(),
11887                    }),
11888                ))
11889            }
11890        }
11891
11892        impl ::core::fmt::Debug for Reader<'_> {
11893            fn fmt(
11894                &self,
11895                f: &mut ::core::fmt::Formatter<'_>,
11896            ) -> ::core::result::Result<(), ::core::fmt::Error> {
11897                core::fmt::Debug::fmt(
11898                    &::core::convert::Into::<crate::dynamic_value::Reader<'_>>::into(*self),
11899                    f,
11900                )
11901            }
11902        }
11903
11904        impl<'a> crate::traits::FromPointerReader<'a> for Reader<'a> {
11905            fn get_from_pointer(
11906                reader: &crate::private::layout::PointerReader<'a>,
11907                default: ::core::option::Option<&'a [crate::Word]>,
11908            ) -> crate::Result<Self> {
11909                ::core::result::Result::Ok(reader.get_struct(default)?.into())
11910            }
11911        }
11912
11913        impl<'a> crate::traits::IntoInternalStructReader<'a> for Reader<'a> {
11914            fn into_internal_struct_reader(self) -> crate::private::layout::StructReader<'a> {
11915                self.reader
11916            }
11917        }
11918
11919        impl<'a> crate::traits::Imbue<'a> for Reader<'a> {
11920            fn imbue(&mut self, cap_table: &'a crate::private::layout::CapTable) {
11921                self.reader
11922                    .imbue(crate::private::layout::CapTableReader::from_ref(cap_table))
11923            }
11924        }
11925
11926        impl<'a> Reader<'a> {
11927            pub fn reborrow(&self) -> Reader<'_> {
11928                Self { ..*self }
11929            }
11930
11931            pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
11932                self.reader.total_size()
11933            }
11934            #[inline]
11935            pub fn has_type(&self) -> bool {
11936                if self.reader.get_data_field::<u16>(0) != 1 {
11937                    return false;
11938                }
11939                !self.reader.get_pointer_field(0).is_null()
11940            }
11941            #[inline]
11942            pub fn which(self) -> ::core::result::Result<WhichReader<'a>, crate::NotInSchema> {
11943                match self.reader.get_data_field::<u16>(0) {
11944                    0 => ::core::result::Result::Ok(Unbound(())),
11945                    1 => ::core::result::Result::Ok(Type(
11946                        crate::traits::FromPointerReader::get_from_pointer(
11947                            &self.reader.get_pointer_field(0),
11948                            ::core::option::Option::None,
11949                        ),
11950                    )),
11951                    x => ::core::result::Result::Err(crate::NotInSchema(x)),
11952                }
11953            }
11954        }
11955
11956        pub struct Builder<'a> {
11957            builder: crate::private::layout::StructBuilder<'a>,
11958        }
11959        impl crate::traits::HasStructSize for Builder<'_> {
11960            const STRUCT_SIZE: crate::private::layout::StructSize =
11961                crate::private::layout::StructSize {
11962                    data: 1,
11963                    pointers: 1,
11964                };
11965        }
11966        impl crate::traits::HasTypeId for Builder<'_> {
11967            const TYPE_ID: u64 = _private::TYPE_ID;
11968        }
11969        impl<'a> ::core::convert::From<crate::private::layout::StructBuilder<'a>> for Builder<'a> {
11970            fn from(builder: crate::private::layout::StructBuilder<'a>) -> Self {
11971                Self { builder }
11972            }
11973        }
11974
11975        impl<'a> crate::traits::IntoInternalStructBuilder<'a> for Builder<'a> {
11976            fn into_internal_struct_builder(self) -> crate::private::layout::StructBuilder<'a> {
11977                self.builder
11978            }
11979        }
11980
11981        impl<'a> ::core::convert::From<Builder<'a>> for crate::dynamic_value::Builder<'a> {
11982            fn from(builder: Builder<'a>) -> Self {
11983                Self::Struct(crate::dynamic_struct::Builder::new(
11984                    builder.builder,
11985                    crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
11986                        generic: &_private::RAW_SCHEMA,
11987                        field_types: _private::get_field_types,
11988                        annotation_types: _private::get_annotation_types,
11989                        type_id: ::core::any::TypeId::of::<Owned>(),
11990                    }),
11991                ))
11992            }
11993        }
11994
11995        impl<'a> crate::traits::ImbueMut<'a> for Builder<'a> {
11996            fn imbue_mut(&mut self, cap_table: &'a mut crate::private::layout::CapTable) {
11997                self.builder
11998                    .imbue(crate::private::layout::CapTableBuilder::from_ref(cap_table))
11999            }
12000        }
12001
12002        impl<'a> crate::traits::FromPointerBuilder<'a> for Builder<'a> {
12003            fn init_pointer(
12004                builder: crate::private::layout::PointerBuilder<'a>,
12005                _size: u32,
12006            ) -> Self {
12007                builder
12008                    .init_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE)
12009                    .into()
12010            }
12011            fn get_from_pointer(
12012                builder: crate::private::layout::PointerBuilder<'a>,
12013                default: ::core::option::Option<&'a [crate::Word]>,
12014            ) -> crate::Result<Self> {
12015                ::core::result::Result::Ok(
12016                    builder
12017                        .get_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE, default)?
12018                        .into(),
12019                )
12020            }
12021        }
12022
12023        impl crate::traits::SetterInput<Owned> for Reader<'_> {
12024            fn set_pointer_builder(
12025                mut pointer: crate::private::layout::PointerBuilder<'_>,
12026                value: Self,
12027                canonicalize: bool,
12028            ) -> crate::Result<()> {
12029                pointer.set_struct(&value.reader, canonicalize)
12030            }
12031        }
12032
12033        impl<'a> Builder<'a> {
12034            pub fn into_reader(self) -> Reader<'a> {
12035                self.builder.into_reader().into()
12036            }
12037            pub fn reborrow(&mut self) -> Builder<'_> {
12038                Builder {
12039                    builder: self.builder.reborrow(),
12040                }
12041            }
12042            pub fn reborrow_as_reader(&self) -> Reader<'_> {
12043                self.builder.as_reader().into()
12044            }
12045
12046            pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
12047                self.builder.as_reader().total_size()
12048            }
12049            #[inline]
12050            pub fn set_unbound(&mut self, _value: ()) {
12051                self.builder.set_data_field::<u16>(0, 0);
12052            }
12053            #[inline]
12054            pub fn set_type(
12055                &mut self,
12056                value: crate::schema_capnp::type_::Reader<'_>,
12057            ) -> crate::Result<()> {
12058                self.builder.set_data_field::<u16>(0, 1);
12059                crate::traits::SetterInput::set_pointer_builder(
12060                    self.builder.reborrow().get_pointer_field(0),
12061                    value,
12062                    false,
12063                )
12064            }
12065            #[inline]
12066            pub fn init_type(self) -> crate::schema_capnp::type_::Builder<'a> {
12067                self.builder.set_data_field::<u16>(0, 1);
12068                crate::traits::FromPointerBuilder::init_pointer(
12069                    self.builder.get_pointer_field(0),
12070                    0,
12071                )
12072            }
12073            #[inline]
12074            pub fn has_type(&self) -> bool {
12075                if self.builder.get_data_field::<u16>(0) != 1 {
12076                    return false;
12077                }
12078                !self.builder.is_pointer_field_null(0)
12079            }
12080            #[inline]
12081            pub fn which(self) -> ::core::result::Result<WhichBuilder<'a>, crate::NotInSchema> {
12082                match self.builder.get_data_field::<u16>(0) {
12083                    0 => ::core::result::Result::Ok(Unbound(())),
12084                    1 => ::core::result::Result::Ok(Type(
12085                        crate::traits::FromPointerBuilder::get_from_pointer(
12086                            self.builder.get_pointer_field(0),
12087                            ::core::option::Option::None,
12088                        ),
12089                    )),
12090                    x => ::core::result::Result::Err(crate::NotInSchema(x)),
12091                }
12092            }
12093        }
12094
12095        pub struct Pipeline {
12096            _typeless: crate::any_pointer::Pipeline,
12097        }
12098        impl crate::capability::FromTypelessPipeline for Pipeline {
12099            fn new(typeless: crate::any_pointer::Pipeline) -> Self {
12100                Self {
12101                    _typeless: typeless,
12102                }
12103            }
12104        }
12105        impl Pipeline {}
12106        mod _private {
12107            pub(crate) static ENCODED_NODE: [crate::Word; 49] = [
12108                crate::word(0, 0, 0, 0, 6, 0, 6, 0),
12109                crate::word(252, 231, 158, 150, 22, 205, 99, 200),
12110                crate::word(19, 0, 0, 0, 1, 0, 1, 0),
12111                crate::word(43, 66, 101, 96, 240, 85, 52, 144),
12112                crate::word(1, 0, 7, 0, 0, 0, 2, 0),
12113                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12114                crate::word(48, 64, 0, 0, 200, 64, 0, 0),
12115                crate::word(21, 0, 0, 0, 218, 0, 0, 0),
12116                crate::word(33, 0, 0, 0, 7, 0, 0, 0),
12117                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12118                crate::word(29, 0, 0, 0, 119, 0, 0, 0),
12119                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12120                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12121                crate::word(115, 99, 104, 101, 109, 97, 46, 99),
12122                crate::word(97, 112, 110, 112, 58, 66, 114, 97),
12123                crate::word(110, 100, 46, 66, 105, 110, 100, 105),
12124                crate::word(110, 103, 0, 0, 0, 0, 0, 0),
12125                crate::word(0, 0, 0, 0, 1, 0, 1, 0),
12126                crate::word(8, 0, 0, 0, 3, 0, 4, 0),
12127                crate::word(0, 0, 255, 255, 0, 0, 0, 0),
12128                crate::word(0, 0, 1, 0, 0, 0, 0, 0),
12129                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12130                crate::word(41, 0, 0, 0, 66, 0, 0, 0),
12131                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12132                crate::word(36, 0, 0, 0, 3, 0, 1, 0),
12133                crate::word(48, 0, 0, 0, 2, 0, 1, 0),
12134                crate::word(1, 0, 254, 255, 0, 0, 0, 0),
12135                crate::word(0, 0, 1, 0, 1, 0, 0, 0),
12136                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12137                crate::word(45, 0, 0, 0, 42, 0, 0, 0),
12138                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12139                crate::word(40, 0, 0, 0, 3, 0, 1, 0),
12140                crate::word(52, 0, 0, 0, 2, 0, 1, 0),
12141                crate::word(117, 110, 98, 111, 117, 110, 100, 0),
12142                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12143                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12144                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12145                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12146                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12147                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12148                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12149                crate::word(116, 121, 112, 101, 0, 0, 0, 0),
12150                crate::word(16, 0, 0, 0, 0, 0, 0, 0),
12151                crate::word(96, 204, 249, 225, 237, 120, 115, 208),
12152                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12153                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12154                crate::word(16, 0, 0, 0, 0, 0, 0, 0),
12155                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12156                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12157            ];
12158            pub(crate) fn get_field_types(index: u16) -> crate::introspect::Type {
12159                match index {
12160                    0 => <() as crate::introspect::Introspect>::introspect(),
12161                    1 => <crate::schema_capnp::type_::Owned as crate::introspect::Introspect>::introspect(),
12162                    _ => crate::introspect::panic_invalid_field_index(index),
12163                }
12164            }
12165            pub(crate) fn get_annotation_types(
12166                child_index: Option<u16>,
12167                index: u32,
12168            ) -> crate::introspect::Type {
12169                crate::introspect::panic_invalid_annotation_indices(child_index, index)
12170            }
12171            pub(crate) static ARENA: crate::private::arena::GeneratedCodeArena =
12172                crate::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
12173            pub(crate) static RAW_SCHEMA: crate::introspect::RawStructSchema =
12174                crate::introspect::RawStructSchema::new(
12175                    &ARENA,
12176                    NONUNION_MEMBERS,
12177                    MEMBERS_BY_DISCRIMINANT,
12178                    MEMBERS_BY_NAME,
12179                );
12180            pub(crate) static NONUNION_MEMBERS: &[u16] = &[];
12181            pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[0, 1];
12182            pub(crate) static MEMBERS_BY_NAME: &[u16] = &[1, 0];
12183            pub(crate) const TYPE_ID: u64 = 0xc863_cd16_969e_e7fc;
12184        }
12185        pub enum Which<A0> {
12186            Unbound(()),
12187            Type(A0),
12188        }
12189        pub type WhichReader<'a> = Which<crate::Result<crate::schema_capnp::type_::Reader<'a>>>;
12190        pub type WhichBuilder<'a> = Which<crate::Result<crate::schema_capnp::type_::Builder<'a>>>;
12191    }
12192}
12193
12194pub mod value {
12195    pub use self::Which::{
12196        AnyPointer, Bool, Data, Enum, Float32, Float64, Int16, Int32, Int64, Int8, Interface, List,
12197        Struct, Text, Uint16, Uint32, Uint64, Uint8, Void,
12198    };
12199
12200    #[derive(Copy, Clone)]
12201    pub struct Owned(());
12202    impl crate::introspect::Introspect for Owned {
12203        fn introspect() -> crate::introspect::Type {
12204            crate::introspect::TypeVariant::Struct(crate::introspect::RawBrandedStructSchema {
12205                generic: &_private::RAW_SCHEMA,
12206                field_types: _private::get_field_types,
12207                annotation_types: _private::get_annotation_types,
12208                type_id: ::core::any::TypeId::of::<Owned>(),
12209            })
12210            .into()
12211        }
12212    }
12213    impl crate::traits::Owned for Owned {
12214        type Reader<'a> = Reader<'a>;
12215        type Builder<'a> = Builder<'a>;
12216    }
12217    impl crate::traits::OwnedStruct for Owned {
12218        type Reader<'a> = Reader<'a>;
12219        type Builder<'a> = Builder<'a>;
12220    }
12221    impl crate::traits::Pipelined for Owned {
12222        type Pipeline = Pipeline;
12223    }
12224
12225    pub struct Reader<'a> {
12226        reader: crate::private::layout::StructReader<'a>,
12227    }
12228    impl ::core::marker::Copy for Reader<'_> {}
12229    impl ::core::clone::Clone for Reader<'_> {
12230        fn clone(&self) -> Self {
12231            *self
12232        }
12233    }
12234
12235    impl crate::traits::HasTypeId for Reader<'_> {
12236        const TYPE_ID: u64 = _private::TYPE_ID;
12237    }
12238    impl<'a> ::core::convert::From<crate::private::layout::StructReader<'a>> for Reader<'a> {
12239        fn from(reader: crate::private::layout::StructReader<'a>) -> Self {
12240            Self { reader }
12241        }
12242    }
12243
12244    impl<'a> ::core::convert::From<Reader<'a>> for crate::dynamic_value::Reader<'a> {
12245        fn from(reader: Reader<'a>) -> Self {
12246            Self::Struct(crate::dynamic_struct::Reader::new(
12247                reader.reader,
12248                crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
12249                    generic: &_private::RAW_SCHEMA,
12250                    field_types: _private::get_field_types,
12251                    annotation_types: _private::get_annotation_types,
12252                    type_id: ::core::any::TypeId::of::<Owned>(),
12253                }),
12254            ))
12255        }
12256    }
12257
12258    impl ::core::fmt::Debug for Reader<'_> {
12259        fn fmt(
12260            &self,
12261            f: &mut ::core::fmt::Formatter<'_>,
12262        ) -> ::core::result::Result<(), ::core::fmt::Error> {
12263            core::fmt::Debug::fmt(
12264                &::core::convert::Into::<crate::dynamic_value::Reader<'_>>::into(*self),
12265                f,
12266            )
12267        }
12268    }
12269
12270    impl<'a> crate::traits::FromPointerReader<'a> for Reader<'a> {
12271        fn get_from_pointer(
12272            reader: &crate::private::layout::PointerReader<'a>,
12273            default: ::core::option::Option<&'a [crate::Word]>,
12274        ) -> crate::Result<Self> {
12275            ::core::result::Result::Ok(reader.get_struct(default)?.into())
12276        }
12277    }
12278
12279    impl<'a> crate::traits::IntoInternalStructReader<'a> for Reader<'a> {
12280        fn into_internal_struct_reader(self) -> crate::private::layout::StructReader<'a> {
12281            self.reader
12282        }
12283    }
12284
12285    impl<'a> crate::traits::Imbue<'a> for Reader<'a> {
12286        fn imbue(&mut self, cap_table: &'a crate::private::layout::CapTable) {
12287            self.reader
12288                .imbue(crate::private::layout::CapTableReader::from_ref(cap_table))
12289        }
12290    }
12291
12292    impl<'a> Reader<'a> {
12293        pub fn reborrow(&self) -> Reader<'_> {
12294            Self { ..*self }
12295        }
12296
12297        pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
12298            self.reader.total_size()
12299        }
12300        #[inline]
12301        pub fn has_text(&self) -> bool {
12302            if self.reader.get_data_field::<u16>(0) != 12 {
12303                return false;
12304            }
12305            !self.reader.get_pointer_field(0).is_null()
12306        }
12307        #[inline]
12308        pub fn has_data(&self) -> bool {
12309            if self.reader.get_data_field::<u16>(0) != 13 {
12310                return false;
12311            }
12312            !self.reader.get_pointer_field(0).is_null()
12313        }
12314        #[inline]
12315        pub fn has_list(&self) -> bool {
12316            if self.reader.get_data_field::<u16>(0) != 14 {
12317                return false;
12318            }
12319            !self.reader.get_pointer_field(0).is_null()
12320        }
12321        #[inline]
12322        pub fn has_struct(&self) -> bool {
12323            if self.reader.get_data_field::<u16>(0) != 16 {
12324                return false;
12325            }
12326            !self.reader.get_pointer_field(0).is_null()
12327        }
12328        #[inline]
12329        pub fn has_any_pointer(&self) -> bool {
12330            if self.reader.get_data_field::<u16>(0) != 18 {
12331                return false;
12332            }
12333            !self.reader.get_pointer_field(0).is_null()
12334        }
12335        #[inline]
12336        pub fn which(self) -> ::core::result::Result<WhichReader<'a>, crate::NotInSchema> {
12337            match self.reader.get_data_field::<u16>(0) {
12338                0 => ::core::result::Result::Ok(Void(())),
12339                1 => ::core::result::Result::Ok(Bool(self.reader.get_bool_field(16))),
12340                2 => ::core::result::Result::Ok(Int8(self.reader.get_data_field::<i8>(2))),
12341                3 => ::core::result::Result::Ok(Int16(self.reader.get_data_field::<i16>(1))),
12342                4 => ::core::result::Result::Ok(Int32(self.reader.get_data_field::<i32>(1))),
12343                5 => ::core::result::Result::Ok(Int64(self.reader.get_data_field::<i64>(1))),
12344                6 => ::core::result::Result::Ok(Uint8(self.reader.get_data_field::<u8>(2))),
12345                7 => ::core::result::Result::Ok(Uint16(self.reader.get_data_field::<u16>(1))),
12346                8 => ::core::result::Result::Ok(Uint32(self.reader.get_data_field::<u32>(1))),
12347                9 => ::core::result::Result::Ok(Uint64(self.reader.get_data_field::<u64>(1))),
12348                10 => ::core::result::Result::Ok(Float32(self.reader.get_data_field::<f32>(1))),
12349                11 => ::core::result::Result::Ok(Float64(self.reader.get_data_field::<f64>(1))),
12350                12 => ::core::result::Result::Ok(Text(
12351                    crate::traits::FromPointerReader::get_from_pointer(
12352                        &self.reader.get_pointer_field(0),
12353                        ::core::option::Option::None,
12354                    ),
12355                )),
12356                13 => ::core::result::Result::Ok(Data(
12357                    crate::traits::FromPointerReader::get_from_pointer(
12358                        &self.reader.get_pointer_field(0),
12359                        ::core::option::Option::None,
12360                    ),
12361                )),
12362                14 => ::core::result::Result::Ok(List(crate::any_pointer::Reader::new(
12363                    self.reader.get_pointer_field(0),
12364                ))),
12365                15 => ::core::result::Result::Ok(Enum(self.reader.get_data_field::<u16>(1))),
12366                16 => ::core::result::Result::Ok(Struct(crate::any_pointer::Reader::new(
12367                    self.reader.get_pointer_field(0),
12368                ))),
12369                17 => ::core::result::Result::Ok(Interface(())),
12370                18 => ::core::result::Result::Ok(AnyPointer(crate::any_pointer::Reader::new(
12371                    self.reader.get_pointer_field(0),
12372                ))),
12373                x => ::core::result::Result::Err(crate::NotInSchema(x)),
12374            }
12375        }
12376    }
12377
12378    pub struct Builder<'a> {
12379        builder: crate::private::layout::StructBuilder<'a>,
12380    }
12381    impl crate::traits::HasStructSize for Builder<'_> {
12382        const STRUCT_SIZE: crate::private::layout::StructSize =
12383            crate::private::layout::StructSize {
12384                data: 2,
12385                pointers: 1,
12386            };
12387    }
12388    impl crate::traits::HasTypeId for Builder<'_> {
12389        const TYPE_ID: u64 = _private::TYPE_ID;
12390    }
12391    impl<'a> ::core::convert::From<crate::private::layout::StructBuilder<'a>> for Builder<'a> {
12392        fn from(builder: crate::private::layout::StructBuilder<'a>) -> Self {
12393            Self { builder }
12394        }
12395    }
12396
12397    impl<'a> crate::traits::IntoInternalStructBuilder<'a> for Builder<'a> {
12398        fn into_internal_struct_builder(self) -> crate::private::layout::StructBuilder<'a> {
12399            self.builder
12400        }
12401    }
12402
12403    impl<'a> ::core::convert::From<Builder<'a>> for crate::dynamic_value::Builder<'a> {
12404        fn from(builder: Builder<'a>) -> Self {
12405            Self::Struct(crate::dynamic_struct::Builder::new(
12406                builder.builder,
12407                crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
12408                    generic: &_private::RAW_SCHEMA,
12409                    field_types: _private::get_field_types,
12410                    annotation_types: _private::get_annotation_types,
12411                    type_id: ::core::any::TypeId::of::<Owned>(),
12412                }),
12413            ))
12414        }
12415    }
12416
12417    impl<'a> crate::traits::ImbueMut<'a> for Builder<'a> {
12418        fn imbue_mut(&mut self, cap_table: &'a mut crate::private::layout::CapTable) {
12419            self.builder
12420                .imbue(crate::private::layout::CapTableBuilder::from_ref(cap_table))
12421        }
12422    }
12423
12424    impl<'a> crate::traits::FromPointerBuilder<'a> for Builder<'a> {
12425        fn init_pointer(builder: crate::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
12426            builder
12427                .init_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE)
12428                .into()
12429        }
12430        fn get_from_pointer(
12431            builder: crate::private::layout::PointerBuilder<'a>,
12432            default: ::core::option::Option<&'a [crate::Word]>,
12433        ) -> crate::Result<Self> {
12434            ::core::result::Result::Ok(
12435                builder
12436                    .get_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE, default)?
12437                    .into(),
12438            )
12439        }
12440    }
12441
12442    impl crate::traits::SetterInput<Owned> for Reader<'_> {
12443        fn set_pointer_builder(
12444            mut pointer: crate::private::layout::PointerBuilder<'_>,
12445            value: Self,
12446            canonicalize: bool,
12447        ) -> crate::Result<()> {
12448            pointer.set_struct(&value.reader, canonicalize)
12449        }
12450    }
12451
12452    impl<'a> Builder<'a> {
12453        pub fn into_reader(self) -> Reader<'a> {
12454            self.builder.into_reader().into()
12455        }
12456        pub fn reborrow(&mut self) -> Builder<'_> {
12457            Builder {
12458                builder: self.builder.reborrow(),
12459            }
12460        }
12461        pub fn reborrow_as_reader(&self) -> Reader<'_> {
12462            self.builder.as_reader().into()
12463        }
12464
12465        pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
12466            self.builder.as_reader().total_size()
12467        }
12468        #[inline]
12469        pub fn set_void(&mut self, _value: ()) {
12470            self.builder.set_data_field::<u16>(0, 0);
12471        }
12472        #[inline]
12473        pub fn set_bool(&mut self, value: bool) {
12474            self.builder.set_data_field::<u16>(0, 1);
12475            self.builder.set_bool_field(16, value);
12476        }
12477        #[inline]
12478        pub fn set_int8(&mut self, value: i8) {
12479            self.builder.set_data_field::<u16>(0, 2);
12480            self.builder.set_data_field::<i8>(2, value);
12481        }
12482        #[inline]
12483        pub fn set_int16(&mut self, value: i16) {
12484            self.builder.set_data_field::<u16>(0, 3);
12485            self.builder.set_data_field::<i16>(1, value);
12486        }
12487        #[inline]
12488        pub fn set_int32(&mut self, value: i32) {
12489            self.builder.set_data_field::<u16>(0, 4);
12490            self.builder.set_data_field::<i32>(1, value);
12491        }
12492        #[inline]
12493        pub fn set_int64(&mut self, value: i64) {
12494            self.builder.set_data_field::<u16>(0, 5);
12495            self.builder.set_data_field::<i64>(1, value);
12496        }
12497        #[inline]
12498        pub fn set_uint8(&mut self, value: u8) {
12499            self.builder.set_data_field::<u16>(0, 6);
12500            self.builder.set_data_field::<u8>(2, value);
12501        }
12502        #[inline]
12503        pub fn set_uint16(&mut self, value: u16) {
12504            self.builder.set_data_field::<u16>(0, 7);
12505            self.builder.set_data_field::<u16>(1, value);
12506        }
12507        #[inline]
12508        pub fn set_uint32(&mut self, value: u32) {
12509            self.builder.set_data_field::<u16>(0, 8);
12510            self.builder.set_data_field::<u32>(1, value);
12511        }
12512        #[inline]
12513        pub fn set_uint64(&mut self, value: u64) {
12514            self.builder.set_data_field::<u16>(0, 9);
12515            self.builder.set_data_field::<u64>(1, value);
12516        }
12517        #[inline]
12518        pub fn set_float32(&mut self, value: f32) {
12519            self.builder.set_data_field::<u16>(0, 10);
12520            self.builder.set_data_field::<f32>(1, value);
12521        }
12522        #[inline]
12523        pub fn set_float64(&mut self, value: f64) {
12524            self.builder.set_data_field::<u16>(0, 11);
12525            self.builder.set_data_field::<f64>(1, value);
12526        }
12527        #[inline]
12528        pub fn set_text(&mut self, value: impl crate::traits::SetterInput<crate::text::Owned>) {
12529            self.builder.set_data_field::<u16>(0, 12);
12530            crate::traits::SetterInput::set_pointer_builder(
12531                self.builder.reborrow().get_pointer_field(0),
12532                value,
12533                false,
12534            )
12535            .unwrap()
12536        }
12537        #[inline]
12538        pub fn init_text(self, size: u32) -> crate::text::Builder<'a> {
12539            self.builder.set_data_field::<u16>(0, 12);
12540            self.builder.get_pointer_field(0).init_text(size)
12541        }
12542        #[inline]
12543        pub fn has_text(&self) -> bool {
12544            if self.builder.get_data_field::<u16>(0) != 12 {
12545                return false;
12546            }
12547            !self.builder.is_pointer_field_null(0)
12548        }
12549        #[inline]
12550        pub fn set_data(&mut self, value: crate::data::Reader<'_>) {
12551            self.builder.set_data_field::<u16>(0, 13);
12552            self.builder.reborrow().get_pointer_field(0).set_data(value);
12553        }
12554        #[inline]
12555        pub fn init_data(self, size: u32) -> crate::data::Builder<'a> {
12556            self.builder.set_data_field::<u16>(0, 13);
12557            self.builder.get_pointer_field(0).init_data(size)
12558        }
12559        #[inline]
12560        pub fn has_data(&self) -> bool {
12561            if self.builder.get_data_field::<u16>(0) != 13 {
12562                return false;
12563            }
12564            !self.builder.is_pointer_field_null(0)
12565        }
12566        #[inline]
12567        pub fn init_list(self) -> crate::any_pointer::Builder<'a> {
12568            self.builder.set_data_field::<u16>(0, 14);
12569            let mut result = crate::any_pointer::Builder::new(self.builder.get_pointer_field(0));
12570            result.clear();
12571            result
12572        }
12573        #[inline]
12574        pub fn has_list(&self) -> bool {
12575            if self.builder.get_data_field::<u16>(0) != 14 {
12576                return false;
12577            }
12578            !self.builder.is_pointer_field_null(0)
12579        }
12580        #[inline]
12581        pub fn set_enum(&mut self, value: u16) {
12582            self.builder.set_data_field::<u16>(0, 15);
12583            self.builder.set_data_field::<u16>(1, value);
12584        }
12585        #[inline]
12586        pub fn init_struct(self) -> crate::any_pointer::Builder<'a> {
12587            self.builder.set_data_field::<u16>(0, 16);
12588            let mut result = crate::any_pointer::Builder::new(self.builder.get_pointer_field(0));
12589            result.clear();
12590            result
12591        }
12592        #[inline]
12593        pub fn has_struct(&self) -> bool {
12594            if self.builder.get_data_field::<u16>(0) != 16 {
12595                return false;
12596            }
12597            !self.builder.is_pointer_field_null(0)
12598        }
12599        #[inline]
12600        pub fn set_interface(&mut self, _value: ()) {
12601            self.builder.set_data_field::<u16>(0, 17);
12602        }
12603        #[inline]
12604        pub fn init_any_pointer(self) -> crate::any_pointer::Builder<'a> {
12605            self.builder.set_data_field::<u16>(0, 18);
12606            let mut result = crate::any_pointer::Builder::new(self.builder.get_pointer_field(0));
12607            result.clear();
12608            result
12609        }
12610        #[inline]
12611        pub fn has_any_pointer(&self) -> bool {
12612            if self.builder.get_data_field::<u16>(0) != 18 {
12613                return false;
12614            }
12615            !self.builder.is_pointer_field_null(0)
12616        }
12617        #[inline]
12618        pub fn which(self) -> ::core::result::Result<WhichBuilder<'a>, crate::NotInSchema> {
12619            match self.builder.get_data_field::<u16>(0) {
12620                0 => ::core::result::Result::Ok(Void(())),
12621                1 => ::core::result::Result::Ok(Bool(self.builder.get_bool_field(16))),
12622                2 => ::core::result::Result::Ok(Int8(self.builder.get_data_field::<i8>(2))),
12623                3 => ::core::result::Result::Ok(Int16(self.builder.get_data_field::<i16>(1))),
12624                4 => ::core::result::Result::Ok(Int32(self.builder.get_data_field::<i32>(1))),
12625                5 => ::core::result::Result::Ok(Int64(self.builder.get_data_field::<i64>(1))),
12626                6 => ::core::result::Result::Ok(Uint8(self.builder.get_data_field::<u8>(2))),
12627                7 => ::core::result::Result::Ok(Uint16(self.builder.get_data_field::<u16>(1))),
12628                8 => ::core::result::Result::Ok(Uint32(self.builder.get_data_field::<u32>(1))),
12629                9 => ::core::result::Result::Ok(Uint64(self.builder.get_data_field::<u64>(1))),
12630                10 => ::core::result::Result::Ok(Float32(self.builder.get_data_field::<f32>(1))),
12631                11 => ::core::result::Result::Ok(Float64(self.builder.get_data_field::<f64>(1))),
12632                12 => ::core::result::Result::Ok(Text(
12633                    crate::traits::FromPointerBuilder::get_from_pointer(
12634                        self.builder.get_pointer_field(0),
12635                        ::core::option::Option::None,
12636                    ),
12637                )),
12638                13 => ::core::result::Result::Ok(Data(
12639                    crate::traits::FromPointerBuilder::get_from_pointer(
12640                        self.builder.get_pointer_field(0),
12641                        ::core::option::Option::None,
12642                    ),
12643                )),
12644                14 => ::core::result::Result::Ok(List(crate::any_pointer::Builder::new(
12645                    self.builder.get_pointer_field(0),
12646                ))),
12647                15 => ::core::result::Result::Ok(Enum(self.builder.get_data_field::<u16>(1))),
12648                16 => ::core::result::Result::Ok(Struct(crate::any_pointer::Builder::new(
12649                    self.builder.get_pointer_field(0),
12650                ))),
12651                17 => ::core::result::Result::Ok(Interface(())),
12652                18 => ::core::result::Result::Ok(AnyPointer(crate::any_pointer::Builder::new(
12653                    self.builder.get_pointer_field(0),
12654                ))),
12655                x => ::core::result::Result::Err(crate::NotInSchema(x)),
12656            }
12657        }
12658    }
12659
12660    pub struct Pipeline {
12661        _typeless: crate::any_pointer::Pipeline,
12662    }
12663    impl crate::capability::FromTypelessPipeline for Pipeline {
12664        fn new(typeless: crate::any_pointer::Pipeline) -> Self {
12665            Self {
12666                _typeless: typeless,
12667            }
12668        }
12669    }
12670    impl Pipeline {}
12671    mod _private {
12672        pub(crate) static ENCODED_NODE: [crate::Word; 305] = [
12673            crate::word(0, 0, 0, 0, 6, 0, 6, 0),
12674            crate::word(155, 12, 176, 215, 210, 220, 35, 206),
12675            crate::word(13, 0, 0, 0, 1, 0, 2, 0),
12676            crate::word(217, 114, 76, 98, 9, 197, 63, 169),
12677            crate::word(1, 0, 7, 0, 0, 0, 19, 0),
12678            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12679            crate::word(204, 64, 0, 0, 172, 67, 0, 0),
12680            crate::word(21, 0, 0, 0, 154, 0, 0, 0),
12681            crate::word(29, 0, 0, 0, 7, 0, 0, 0),
12682            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12683            crate::word(25, 0, 0, 0, 47, 4, 0, 0),
12684            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12685            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12686            crate::word(115, 99, 104, 101, 109, 97, 46, 99),
12687            crate::word(97, 112, 110, 112, 58, 86, 97, 108),
12688            crate::word(117, 101, 0, 0, 0, 0, 0, 0),
12689            crate::word(0, 0, 0, 0, 1, 0, 1, 0),
12690            crate::word(76, 0, 0, 0, 3, 0, 4, 0),
12691            crate::word(0, 0, 255, 255, 0, 0, 0, 0),
12692            crate::word(0, 0, 1, 0, 0, 0, 0, 0),
12693            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12694            crate::word(5, 2, 0, 0, 42, 0, 0, 0),
12695            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12696            crate::word(0, 2, 0, 0, 3, 0, 1, 0),
12697            crate::word(12, 2, 0, 0, 2, 0, 1, 0),
12698            crate::word(1, 0, 254, 255, 16, 0, 0, 0),
12699            crate::word(0, 0, 1, 0, 1, 0, 0, 0),
12700            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12701            crate::word(9, 2, 0, 0, 42, 0, 0, 0),
12702            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12703            crate::word(4, 2, 0, 0, 3, 0, 1, 0),
12704            crate::word(16, 2, 0, 0, 2, 0, 1, 0),
12705            crate::word(2, 0, 253, 255, 2, 0, 0, 0),
12706            crate::word(0, 0, 1, 0, 2, 0, 0, 0),
12707            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12708            crate::word(13, 2, 0, 0, 42, 0, 0, 0),
12709            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12710            crate::word(8, 2, 0, 0, 3, 0, 1, 0),
12711            crate::word(20, 2, 0, 0, 2, 0, 1, 0),
12712            crate::word(3, 0, 252, 255, 1, 0, 0, 0),
12713            crate::word(0, 0, 1, 0, 3, 0, 0, 0),
12714            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12715            crate::word(17, 2, 0, 0, 50, 0, 0, 0),
12716            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12717            crate::word(12, 2, 0, 0, 3, 0, 1, 0),
12718            crate::word(24, 2, 0, 0, 2, 0, 1, 0),
12719            crate::word(4, 0, 251, 255, 1, 0, 0, 0),
12720            crate::word(0, 0, 1, 0, 4, 0, 0, 0),
12721            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12722            crate::word(21, 2, 0, 0, 50, 0, 0, 0),
12723            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12724            crate::word(16, 2, 0, 0, 3, 0, 1, 0),
12725            crate::word(28, 2, 0, 0, 2, 0, 1, 0),
12726            crate::word(5, 0, 250, 255, 1, 0, 0, 0),
12727            crate::word(0, 0, 1, 0, 5, 0, 0, 0),
12728            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12729            crate::word(25, 2, 0, 0, 50, 0, 0, 0),
12730            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12731            crate::word(20, 2, 0, 0, 3, 0, 1, 0),
12732            crate::word(32, 2, 0, 0, 2, 0, 1, 0),
12733            crate::word(6, 0, 249, 255, 2, 0, 0, 0),
12734            crate::word(0, 0, 1, 0, 6, 0, 0, 0),
12735            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12736            crate::word(29, 2, 0, 0, 50, 0, 0, 0),
12737            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12738            crate::word(24, 2, 0, 0, 3, 0, 1, 0),
12739            crate::word(36, 2, 0, 0, 2, 0, 1, 0),
12740            crate::word(7, 0, 248, 255, 1, 0, 0, 0),
12741            crate::word(0, 0, 1, 0, 7, 0, 0, 0),
12742            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12743            crate::word(33, 2, 0, 0, 58, 0, 0, 0),
12744            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12745            crate::word(28, 2, 0, 0, 3, 0, 1, 0),
12746            crate::word(40, 2, 0, 0, 2, 0, 1, 0),
12747            crate::word(8, 0, 247, 255, 1, 0, 0, 0),
12748            crate::word(0, 0, 1, 0, 8, 0, 0, 0),
12749            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12750            crate::word(37, 2, 0, 0, 58, 0, 0, 0),
12751            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12752            crate::word(32, 2, 0, 0, 3, 0, 1, 0),
12753            crate::word(44, 2, 0, 0, 2, 0, 1, 0),
12754            crate::word(9, 0, 246, 255, 1, 0, 0, 0),
12755            crate::word(0, 0, 1, 0, 9, 0, 0, 0),
12756            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12757            crate::word(41, 2, 0, 0, 58, 0, 0, 0),
12758            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12759            crate::word(36, 2, 0, 0, 3, 0, 1, 0),
12760            crate::word(48, 2, 0, 0, 2, 0, 1, 0),
12761            crate::word(10, 0, 245, 255, 1, 0, 0, 0),
12762            crate::word(0, 0, 1, 0, 10, 0, 0, 0),
12763            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12764            crate::word(45, 2, 0, 0, 66, 0, 0, 0),
12765            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12766            crate::word(40, 2, 0, 0, 3, 0, 1, 0),
12767            crate::word(52, 2, 0, 0, 2, 0, 1, 0),
12768            crate::word(11, 0, 244, 255, 1, 0, 0, 0),
12769            crate::word(0, 0, 1, 0, 11, 0, 0, 0),
12770            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12771            crate::word(49, 2, 0, 0, 66, 0, 0, 0),
12772            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12773            crate::word(44, 2, 0, 0, 3, 0, 1, 0),
12774            crate::word(56, 2, 0, 0, 2, 0, 1, 0),
12775            crate::word(12, 0, 243, 255, 0, 0, 0, 0),
12776            crate::word(0, 0, 1, 0, 12, 0, 0, 0),
12777            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12778            crate::word(53, 2, 0, 0, 42, 0, 0, 0),
12779            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12780            crate::word(48, 2, 0, 0, 3, 0, 1, 0),
12781            crate::word(60, 2, 0, 0, 2, 0, 1, 0),
12782            crate::word(13, 0, 242, 255, 0, 0, 0, 0),
12783            crate::word(0, 0, 1, 0, 13, 0, 0, 0),
12784            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12785            crate::word(57, 2, 0, 0, 42, 0, 0, 0),
12786            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12787            crate::word(52, 2, 0, 0, 3, 0, 1, 0),
12788            crate::word(64, 2, 0, 0, 2, 0, 1, 0),
12789            crate::word(14, 0, 241, 255, 0, 0, 0, 0),
12790            crate::word(0, 0, 1, 0, 14, 0, 0, 0),
12791            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12792            crate::word(61, 2, 0, 0, 42, 0, 0, 0),
12793            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12794            crate::word(56, 2, 0, 0, 3, 0, 1, 0),
12795            crate::word(68, 2, 0, 0, 2, 0, 1, 0),
12796            crate::word(15, 0, 240, 255, 1, 0, 0, 0),
12797            crate::word(0, 0, 1, 0, 15, 0, 0, 0),
12798            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12799            crate::word(65, 2, 0, 0, 42, 0, 0, 0),
12800            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12801            crate::word(60, 2, 0, 0, 3, 0, 1, 0),
12802            crate::word(72, 2, 0, 0, 2, 0, 1, 0),
12803            crate::word(16, 0, 239, 255, 0, 0, 0, 0),
12804            crate::word(0, 0, 1, 0, 16, 0, 0, 0),
12805            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12806            crate::word(69, 2, 0, 0, 58, 0, 0, 0),
12807            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12808            crate::word(64, 2, 0, 0, 3, 0, 1, 0),
12809            crate::word(76, 2, 0, 0, 2, 0, 1, 0),
12810            crate::word(17, 0, 238, 255, 0, 0, 0, 0),
12811            crate::word(0, 0, 1, 0, 17, 0, 0, 0),
12812            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12813            crate::word(73, 2, 0, 0, 82, 0, 0, 0),
12814            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12815            crate::word(72, 2, 0, 0, 3, 0, 1, 0),
12816            crate::word(84, 2, 0, 0, 2, 0, 1, 0),
12817            crate::word(18, 0, 237, 255, 0, 0, 0, 0),
12818            crate::word(0, 0, 1, 0, 18, 0, 0, 0),
12819            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12820            crate::word(81, 2, 0, 0, 90, 0, 0, 0),
12821            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12822            crate::word(80, 2, 0, 0, 3, 0, 1, 0),
12823            crate::word(92, 2, 0, 0, 2, 0, 1, 0),
12824            crate::word(118, 111, 105, 100, 0, 0, 0, 0),
12825            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12826            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12827            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12828            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12829            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12830            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12831            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12832            crate::word(98, 111, 111, 108, 0, 0, 0, 0),
12833            crate::word(1, 0, 0, 0, 0, 0, 0, 0),
12834            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12835            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12836            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12837            crate::word(1, 0, 0, 0, 0, 0, 0, 0),
12838            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12839            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12840            crate::word(105, 110, 116, 56, 0, 0, 0, 0),
12841            crate::word(2, 0, 0, 0, 0, 0, 0, 0),
12842            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12843            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12844            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12845            crate::word(2, 0, 0, 0, 0, 0, 0, 0),
12846            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12847            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12848            crate::word(105, 110, 116, 49, 54, 0, 0, 0),
12849            crate::word(3, 0, 0, 0, 0, 0, 0, 0),
12850            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12851            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12852            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12853            crate::word(3, 0, 0, 0, 0, 0, 0, 0),
12854            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12855            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12856            crate::word(105, 110, 116, 51, 50, 0, 0, 0),
12857            crate::word(4, 0, 0, 0, 0, 0, 0, 0),
12858            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12859            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12860            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12861            crate::word(4, 0, 0, 0, 0, 0, 0, 0),
12862            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12863            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12864            crate::word(105, 110, 116, 54, 52, 0, 0, 0),
12865            crate::word(5, 0, 0, 0, 0, 0, 0, 0),
12866            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12867            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12868            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12869            crate::word(5, 0, 0, 0, 0, 0, 0, 0),
12870            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12871            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12872            crate::word(117, 105, 110, 116, 56, 0, 0, 0),
12873            crate::word(6, 0, 0, 0, 0, 0, 0, 0),
12874            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12875            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12876            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12877            crate::word(6, 0, 0, 0, 0, 0, 0, 0),
12878            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12879            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12880            crate::word(117, 105, 110, 116, 49, 54, 0, 0),
12881            crate::word(7, 0, 0, 0, 0, 0, 0, 0),
12882            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12883            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12884            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12885            crate::word(7, 0, 0, 0, 0, 0, 0, 0),
12886            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12887            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12888            crate::word(117, 105, 110, 116, 51, 50, 0, 0),
12889            crate::word(8, 0, 0, 0, 0, 0, 0, 0),
12890            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12891            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12892            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12893            crate::word(8, 0, 0, 0, 0, 0, 0, 0),
12894            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12895            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12896            crate::word(117, 105, 110, 116, 54, 52, 0, 0),
12897            crate::word(9, 0, 0, 0, 0, 0, 0, 0),
12898            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12899            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12900            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12901            crate::word(9, 0, 0, 0, 0, 0, 0, 0),
12902            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12903            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12904            crate::word(102, 108, 111, 97, 116, 51, 50, 0),
12905            crate::word(10, 0, 0, 0, 0, 0, 0, 0),
12906            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12907            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12908            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12909            crate::word(10, 0, 0, 0, 0, 0, 0, 0),
12910            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12911            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12912            crate::word(102, 108, 111, 97, 116, 54, 52, 0),
12913            crate::word(11, 0, 0, 0, 0, 0, 0, 0),
12914            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12915            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12916            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12917            crate::word(11, 0, 0, 0, 0, 0, 0, 0),
12918            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12919            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12920            crate::word(116, 101, 120, 116, 0, 0, 0, 0),
12921            crate::word(12, 0, 0, 0, 0, 0, 0, 0),
12922            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12923            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12924            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12925            crate::word(12, 0, 0, 0, 0, 0, 0, 0),
12926            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12927            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12928            crate::word(100, 97, 116, 97, 0, 0, 0, 0),
12929            crate::word(13, 0, 0, 0, 0, 0, 0, 0),
12930            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12931            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12932            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12933            crate::word(13, 0, 0, 0, 0, 0, 0, 0),
12934            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12935            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12936            crate::word(108, 105, 115, 116, 0, 0, 0, 0),
12937            crate::word(18, 0, 0, 0, 0, 0, 0, 0),
12938            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12939            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12940            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12941            crate::word(18, 0, 0, 0, 0, 0, 0, 0),
12942            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12943            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12944            crate::word(101, 110, 117, 109, 0, 0, 0, 0),
12945            crate::word(7, 0, 0, 0, 0, 0, 0, 0),
12946            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12947            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12948            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12949            crate::word(7, 0, 0, 0, 0, 0, 0, 0),
12950            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12951            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12952            crate::word(115, 116, 114, 117, 99, 116, 0, 0),
12953            crate::word(18, 0, 0, 0, 0, 0, 0, 0),
12954            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12955            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12956            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12957            crate::word(18, 0, 0, 0, 0, 0, 0, 0),
12958            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12959            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12960            crate::word(105, 110, 116, 101, 114, 102, 97, 99),
12961            crate::word(101, 0, 0, 0, 0, 0, 0, 0),
12962            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12963            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12964            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12965            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12966            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12967            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12968            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12969            crate::word(97, 110, 121, 80, 111, 105, 110, 116),
12970            crate::word(101, 114, 0, 0, 0, 0, 0, 0),
12971            crate::word(18, 0, 0, 0, 0, 0, 0, 0),
12972            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12973            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12974            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12975            crate::word(18, 0, 0, 0, 0, 0, 0, 0),
12976            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12977            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
12978        ];
12979        pub(crate) fn get_field_types(index: u16) -> crate::introspect::Type {
12980            match index {
12981                0 => <() as crate::introspect::Introspect>::introspect(),
12982                1 => <bool as crate::introspect::Introspect>::introspect(),
12983                2 => <i8 as crate::introspect::Introspect>::introspect(),
12984                3 => <i16 as crate::introspect::Introspect>::introspect(),
12985                4 => <i32 as crate::introspect::Introspect>::introspect(),
12986                5 => <i64 as crate::introspect::Introspect>::introspect(),
12987                6 => <u8 as crate::introspect::Introspect>::introspect(),
12988                7 => <u16 as crate::introspect::Introspect>::introspect(),
12989                8 => <u32 as crate::introspect::Introspect>::introspect(),
12990                9 => <u64 as crate::introspect::Introspect>::introspect(),
12991                10 => <f32 as crate::introspect::Introspect>::introspect(),
12992                11 => <f64 as crate::introspect::Introspect>::introspect(),
12993                12 => <crate::text::Owned as crate::introspect::Introspect>::introspect(),
12994                13 => <crate::data::Owned as crate::introspect::Introspect>::introspect(),
12995                14 => <crate::any_pointer::Owned as crate::introspect::Introspect>::introspect(),
12996                15 => <u16 as crate::introspect::Introspect>::introspect(),
12997                16 => <crate::any_pointer::Owned as crate::introspect::Introspect>::introspect(),
12998                17 => <() as crate::introspect::Introspect>::introspect(),
12999                18 => <crate::any_pointer::Owned as crate::introspect::Introspect>::introspect(),
13000                _ => crate::introspect::panic_invalid_field_index(index),
13001            }
13002        }
13003        pub(crate) fn get_annotation_types(
13004            child_index: Option<u16>,
13005            index: u32,
13006        ) -> crate::introspect::Type {
13007            crate::introspect::panic_invalid_annotation_indices(child_index, index)
13008        }
13009        pub(crate) static ARENA: crate::private::arena::GeneratedCodeArena =
13010            crate::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
13011        pub(crate) static RAW_SCHEMA: crate::introspect::RawStructSchema =
13012            crate::introspect::RawStructSchema::new(
13013                &ARENA,
13014                NONUNION_MEMBERS,
13015                MEMBERS_BY_DISCRIMINANT,
13016                MEMBERS_BY_NAME,
13017            );
13018        pub(crate) static NONUNION_MEMBERS: &[u16] = &[];
13019        pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[
13020            0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18,
13021        ];
13022        pub(crate) static MEMBERS_BY_NAME: &[u16] = &[
13023            18, 1, 13, 15, 10, 11, 3, 4, 5, 2, 17, 14, 16, 12, 7, 8, 9, 6, 0,
13024        ];
13025        pub(crate) const TYPE_ID: u64 = 0xce23_dcd2_d7b0_0c9b;
13026    }
13027    pub enum Which<A0, A1, A2, A3, A4> {
13028        Void(()),
13029        Bool(bool),
13030        Int8(i8),
13031        Int16(i16),
13032        Int32(i32),
13033        Int64(i64),
13034        Uint8(u8),
13035        Uint16(u16),
13036        Uint32(u32),
13037        Uint64(u64),
13038        Float32(f32),
13039        Float64(f64),
13040        Text(A0),
13041        Data(A1),
13042        List(A2),
13043        Enum(u16),
13044        Struct(A3),
13045        Interface(()),
13046        AnyPointer(A4),
13047    }
13048    pub type WhichReader<'a> = Which<
13049        crate::Result<crate::text::Reader<'a>>,
13050        crate::Result<crate::data::Reader<'a>>,
13051        crate::any_pointer::Reader<'a>,
13052        crate::any_pointer::Reader<'a>,
13053        crate::any_pointer::Reader<'a>,
13054    >;
13055    pub type WhichBuilder<'a> = Which<
13056        crate::Result<crate::text::Builder<'a>>,
13057        crate::Result<crate::data::Builder<'a>>,
13058        crate::any_pointer::Builder<'a>,
13059        crate::any_pointer::Builder<'a>,
13060        crate::any_pointer::Builder<'a>,
13061    >;
13062}
13063
13064pub mod annotation {
13065    #[derive(Copy, Clone)]
13066    pub struct Owned(());
13067    impl crate::introspect::Introspect for Owned {
13068        fn introspect() -> crate::introspect::Type {
13069            crate::introspect::TypeVariant::Struct(crate::introspect::RawBrandedStructSchema {
13070                generic: &_private::RAW_SCHEMA,
13071                field_types: _private::get_field_types,
13072                annotation_types: _private::get_annotation_types,
13073                type_id: ::core::any::TypeId::of::<Owned>(),
13074            })
13075            .into()
13076        }
13077    }
13078    impl crate::traits::Owned for Owned {
13079        type Reader<'a> = Reader<'a>;
13080        type Builder<'a> = Builder<'a>;
13081    }
13082    impl crate::traits::OwnedStruct for Owned {
13083        type Reader<'a> = Reader<'a>;
13084        type Builder<'a> = Builder<'a>;
13085    }
13086    impl crate::traits::Pipelined for Owned {
13087        type Pipeline = Pipeline;
13088    }
13089
13090    pub struct Reader<'a> {
13091        reader: crate::private::layout::StructReader<'a>,
13092    }
13093    impl ::core::marker::Copy for Reader<'_> {}
13094    impl ::core::clone::Clone for Reader<'_> {
13095        fn clone(&self) -> Self {
13096            *self
13097        }
13098    }
13099
13100    impl crate::traits::HasTypeId for Reader<'_> {
13101        const TYPE_ID: u64 = _private::TYPE_ID;
13102    }
13103    impl<'a> ::core::convert::From<crate::private::layout::StructReader<'a>> for Reader<'a> {
13104        fn from(reader: crate::private::layout::StructReader<'a>) -> Self {
13105            Self { reader }
13106        }
13107    }
13108
13109    impl<'a> ::core::convert::From<Reader<'a>> for crate::dynamic_value::Reader<'a> {
13110        fn from(reader: Reader<'a>) -> Self {
13111            Self::Struct(crate::dynamic_struct::Reader::new(
13112                reader.reader,
13113                crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
13114                    generic: &_private::RAW_SCHEMA,
13115                    field_types: _private::get_field_types,
13116                    annotation_types: _private::get_annotation_types,
13117                    type_id: ::core::any::TypeId::of::<Owned>(),
13118                }),
13119            ))
13120        }
13121    }
13122
13123    impl ::core::fmt::Debug for Reader<'_> {
13124        fn fmt(
13125            &self,
13126            f: &mut ::core::fmt::Formatter<'_>,
13127        ) -> ::core::result::Result<(), ::core::fmt::Error> {
13128            core::fmt::Debug::fmt(
13129                &::core::convert::Into::<crate::dynamic_value::Reader<'_>>::into(*self),
13130                f,
13131            )
13132        }
13133    }
13134
13135    impl<'a> crate::traits::FromPointerReader<'a> for Reader<'a> {
13136        fn get_from_pointer(
13137            reader: &crate::private::layout::PointerReader<'a>,
13138            default: ::core::option::Option<&'a [crate::Word]>,
13139        ) -> crate::Result<Self> {
13140            ::core::result::Result::Ok(reader.get_struct(default)?.into())
13141        }
13142    }
13143
13144    impl<'a> crate::traits::IntoInternalStructReader<'a> for Reader<'a> {
13145        fn into_internal_struct_reader(self) -> crate::private::layout::StructReader<'a> {
13146            self.reader
13147        }
13148    }
13149
13150    impl<'a> crate::traits::Imbue<'a> for Reader<'a> {
13151        fn imbue(&mut self, cap_table: &'a crate::private::layout::CapTable) {
13152            self.reader
13153                .imbue(crate::private::layout::CapTableReader::from_ref(cap_table))
13154        }
13155    }
13156
13157    impl<'a> Reader<'a> {
13158        pub fn reborrow(&self) -> Reader<'_> {
13159            Self { ..*self }
13160        }
13161
13162        pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
13163            self.reader.total_size()
13164        }
13165        #[inline]
13166        pub fn get_id(self) -> u64 {
13167            self.reader.get_data_field::<u64>(0)
13168        }
13169        #[inline]
13170        pub fn get_value(self) -> crate::Result<crate::schema_capnp::value::Reader<'a>> {
13171            crate::traits::FromPointerReader::get_from_pointer(
13172                &self.reader.get_pointer_field(0),
13173                ::core::option::Option::None,
13174            )
13175        }
13176        #[inline]
13177        pub fn has_value(&self) -> bool {
13178            !self.reader.get_pointer_field(0).is_null()
13179        }
13180        #[inline]
13181        pub fn get_brand(self) -> crate::Result<crate::schema_capnp::brand::Reader<'a>> {
13182            crate::traits::FromPointerReader::get_from_pointer(
13183                &self.reader.get_pointer_field(1),
13184                ::core::option::Option::None,
13185            )
13186        }
13187        #[inline]
13188        pub fn has_brand(&self) -> bool {
13189            !self.reader.get_pointer_field(1).is_null()
13190        }
13191    }
13192
13193    pub struct Builder<'a> {
13194        builder: crate::private::layout::StructBuilder<'a>,
13195    }
13196    impl crate::traits::HasStructSize for Builder<'_> {
13197        const STRUCT_SIZE: crate::private::layout::StructSize =
13198            crate::private::layout::StructSize {
13199                data: 1,
13200                pointers: 2,
13201            };
13202    }
13203    impl crate::traits::HasTypeId for Builder<'_> {
13204        const TYPE_ID: u64 = _private::TYPE_ID;
13205    }
13206    impl<'a> ::core::convert::From<crate::private::layout::StructBuilder<'a>> for Builder<'a> {
13207        fn from(builder: crate::private::layout::StructBuilder<'a>) -> Self {
13208            Self { builder }
13209        }
13210    }
13211
13212    impl<'a> crate::traits::IntoInternalStructBuilder<'a> for Builder<'a> {
13213        fn into_internal_struct_builder(self) -> crate::private::layout::StructBuilder<'a> {
13214            self.builder
13215        }
13216    }
13217
13218    impl<'a> ::core::convert::From<Builder<'a>> for crate::dynamic_value::Builder<'a> {
13219        fn from(builder: Builder<'a>) -> Self {
13220            Self::Struct(crate::dynamic_struct::Builder::new(
13221                builder.builder,
13222                crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
13223                    generic: &_private::RAW_SCHEMA,
13224                    field_types: _private::get_field_types,
13225                    annotation_types: _private::get_annotation_types,
13226                    type_id: ::core::any::TypeId::of::<Owned>(),
13227                }),
13228            ))
13229        }
13230    }
13231
13232    impl<'a> crate::traits::ImbueMut<'a> for Builder<'a> {
13233        fn imbue_mut(&mut self, cap_table: &'a mut crate::private::layout::CapTable) {
13234            self.builder
13235                .imbue(crate::private::layout::CapTableBuilder::from_ref(cap_table))
13236        }
13237    }
13238
13239    impl<'a> crate::traits::FromPointerBuilder<'a> for Builder<'a> {
13240        fn init_pointer(builder: crate::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
13241            builder
13242                .init_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE)
13243                .into()
13244        }
13245        fn get_from_pointer(
13246            builder: crate::private::layout::PointerBuilder<'a>,
13247            default: ::core::option::Option<&'a [crate::Word]>,
13248        ) -> crate::Result<Self> {
13249            ::core::result::Result::Ok(
13250                builder
13251                    .get_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE, default)?
13252                    .into(),
13253            )
13254        }
13255    }
13256
13257    impl crate::traits::SetterInput<Owned> for Reader<'_> {
13258        fn set_pointer_builder(
13259            mut pointer: crate::private::layout::PointerBuilder<'_>,
13260            value: Self,
13261            canonicalize: bool,
13262        ) -> crate::Result<()> {
13263            pointer.set_struct(&value.reader, canonicalize)
13264        }
13265    }
13266
13267    impl<'a> Builder<'a> {
13268        pub fn into_reader(self) -> Reader<'a> {
13269            self.builder.into_reader().into()
13270        }
13271        pub fn reborrow(&mut self) -> Builder<'_> {
13272            Builder {
13273                builder: self.builder.reborrow(),
13274            }
13275        }
13276        pub fn reborrow_as_reader(&self) -> Reader<'_> {
13277            self.builder.as_reader().into()
13278        }
13279
13280        pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
13281            self.builder.as_reader().total_size()
13282        }
13283        #[inline]
13284        pub fn get_id(self) -> u64 {
13285            self.builder.get_data_field::<u64>(0)
13286        }
13287        #[inline]
13288        pub fn set_id(&mut self, value: u64) {
13289            self.builder.set_data_field::<u64>(0, value);
13290        }
13291        #[inline]
13292        pub fn get_value(self) -> crate::Result<crate::schema_capnp::value::Builder<'a>> {
13293            crate::traits::FromPointerBuilder::get_from_pointer(
13294                self.builder.get_pointer_field(0),
13295                ::core::option::Option::None,
13296            )
13297        }
13298        #[inline]
13299        pub fn set_value(
13300            &mut self,
13301            value: crate::schema_capnp::value::Reader<'_>,
13302        ) -> crate::Result<()> {
13303            crate::traits::SetterInput::set_pointer_builder(
13304                self.builder.reborrow().get_pointer_field(0),
13305                value,
13306                false,
13307            )
13308        }
13309        #[inline]
13310        pub fn init_value(self) -> crate::schema_capnp::value::Builder<'a> {
13311            crate::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
13312        }
13313        #[inline]
13314        pub fn has_value(&self) -> bool {
13315            !self.builder.is_pointer_field_null(0)
13316        }
13317        #[inline]
13318        pub fn get_brand(self) -> crate::Result<crate::schema_capnp::brand::Builder<'a>> {
13319            crate::traits::FromPointerBuilder::get_from_pointer(
13320                self.builder.get_pointer_field(1),
13321                ::core::option::Option::None,
13322            )
13323        }
13324        #[inline]
13325        pub fn set_brand(
13326            &mut self,
13327            value: crate::schema_capnp::brand::Reader<'_>,
13328        ) -> crate::Result<()> {
13329            crate::traits::SetterInput::set_pointer_builder(
13330                self.builder.reborrow().get_pointer_field(1),
13331                value,
13332                false,
13333            )
13334        }
13335        #[inline]
13336        pub fn init_brand(self) -> crate::schema_capnp::brand::Builder<'a> {
13337            crate::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(1), 0)
13338        }
13339        #[inline]
13340        pub fn has_brand(&self) -> bool {
13341            !self.builder.is_pointer_field_null(1)
13342        }
13343    }
13344
13345    pub struct Pipeline {
13346        _typeless: crate::any_pointer::Pipeline,
13347    }
13348    impl crate::capability::FromTypelessPipeline for Pipeline {
13349        fn new(typeless: crate::any_pointer::Pipeline) -> Self {
13350            Self {
13351                _typeless: typeless,
13352            }
13353        }
13354    }
13355    impl Pipeline {
13356        pub fn get_value(&self) -> crate::schema_capnp::value::Pipeline {
13357            crate::capability::FromTypelessPipeline::new(self._typeless.get_pointer_field(0))
13358        }
13359        pub fn get_brand(&self) -> crate::schema_capnp::brand::Pipeline {
13360            crate::capability::FromTypelessPipeline::new(self._typeless.get_pointer_field(1))
13361        }
13362    }
13363    mod _private {
13364        pub(crate) static ENCODED_NODE: [crate::Word; 63] = [
13365            crate::word(0, 0, 0, 0, 6, 0, 6, 0),
13366            crate::word(66, 117, 37, 171, 13, 149, 200, 241),
13367            crate::word(13, 0, 0, 0, 1, 0, 1, 0),
13368            crate::word(217, 114, 76, 98, 9, 197, 63, 169),
13369            crate::word(2, 0, 7, 0, 0, 0, 0, 0),
13370            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13371            crate::word(174, 67, 0, 0, 62, 69, 0, 0),
13372            crate::word(21, 0, 0, 0, 194, 0, 0, 0),
13373            crate::word(29, 0, 0, 0, 7, 0, 0, 0),
13374            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13375            crate::word(25, 0, 0, 0, 175, 0, 0, 0),
13376            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13377            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13378            crate::word(115, 99, 104, 101, 109, 97, 46, 99),
13379            crate::word(97, 112, 110, 112, 58, 65, 110, 110),
13380            crate::word(111, 116, 97, 116, 105, 111, 110, 0),
13381            crate::word(0, 0, 0, 0, 1, 0, 1, 0),
13382            crate::word(12, 0, 0, 0, 3, 0, 4, 0),
13383            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13384            crate::word(0, 0, 1, 0, 0, 0, 0, 0),
13385            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13386            crate::word(69, 0, 0, 0, 26, 0, 0, 0),
13387            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13388            crate::word(64, 0, 0, 0, 3, 0, 1, 0),
13389            crate::word(76, 0, 0, 0, 2, 0, 1, 0),
13390            crate::word(2, 0, 0, 0, 0, 0, 0, 0),
13391            crate::word(0, 0, 1, 0, 1, 0, 0, 0),
13392            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13393            crate::word(73, 0, 0, 0, 50, 0, 0, 0),
13394            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13395            crate::word(68, 0, 0, 0, 3, 0, 1, 0),
13396            crate::word(80, 0, 0, 0, 2, 0, 1, 0),
13397            crate::word(1, 0, 0, 0, 1, 0, 0, 0),
13398            crate::word(0, 0, 1, 0, 2, 0, 0, 0),
13399            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13400            crate::word(77, 0, 0, 0, 50, 0, 0, 0),
13401            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13402            crate::word(72, 0, 0, 0, 3, 0, 1, 0),
13403            crate::word(84, 0, 0, 0, 2, 0, 1, 0),
13404            crate::word(105, 100, 0, 0, 0, 0, 0, 0),
13405            crate::word(9, 0, 0, 0, 0, 0, 0, 0),
13406            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13407            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13408            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13409            crate::word(9, 0, 0, 0, 0, 0, 0, 0),
13410            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13411            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13412            crate::word(118, 97, 108, 117, 101, 0, 0, 0),
13413            crate::word(16, 0, 0, 0, 0, 0, 0, 0),
13414            crate::word(155, 12, 176, 215, 210, 220, 35, 206),
13415            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13416            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13417            crate::word(16, 0, 0, 0, 0, 0, 0, 0),
13418            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13419            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13420            crate::word(98, 114, 97, 110, 100, 0, 0, 0),
13421            crate::word(16, 0, 0, 0, 0, 0, 0, 0),
13422            crate::word(43, 66, 101, 96, 240, 85, 52, 144),
13423            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13424            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13425            crate::word(16, 0, 0, 0, 0, 0, 0, 0),
13426            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13427            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13428        ];
13429        pub(crate) fn get_field_types(index: u16) -> crate::introspect::Type {
13430            match index {
13431                0 => <u64 as crate::introspect::Introspect>::introspect(),
13432                1 => {
13433                    <crate::schema_capnp::value::Owned as crate::introspect::Introspect>::introspect(
13434                    )
13435                }
13436                2 => {
13437                    <crate::schema_capnp::brand::Owned as crate::introspect::Introspect>::introspect(
13438                    )
13439                }
13440                _ => crate::introspect::panic_invalid_field_index(index),
13441            }
13442        }
13443        pub(crate) fn get_annotation_types(
13444            child_index: Option<u16>,
13445            index: u32,
13446        ) -> crate::introspect::Type {
13447            crate::introspect::panic_invalid_annotation_indices(child_index, index)
13448        }
13449        pub(crate) static ARENA: crate::private::arena::GeneratedCodeArena =
13450            crate::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
13451        pub(crate) static RAW_SCHEMA: crate::introspect::RawStructSchema =
13452            crate::introspect::RawStructSchema::new(
13453                &ARENA,
13454                NONUNION_MEMBERS,
13455                MEMBERS_BY_DISCRIMINANT,
13456                MEMBERS_BY_NAME,
13457            );
13458        pub(crate) static NONUNION_MEMBERS: &[u16] = &[0, 1, 2];
13459        pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[];
13460        pub(crate) static MEMBERS_BY_NAME: &[u16] = &[2, 0, 1];
13461        pub(crate) const TYPE_ID: u64 = 0xf1c8_950d_ab25_7542;
13462    }
13463}
13464
13465#[repr(u16)]
13466#[derive(Clone, Copy, Debug, PartialEq, Eq)]
13467pub enum ElementSize {
13468    Empty = 0,
13469    Bit = 1,
13470    Byte = 2,
13471    TwoBytes = 3,
13472    FourBytes = 4,
13473    EightBytes = 5,
13474    Pointer = 6,
13475    InlineComposite = 7,
13476}
13477
13478impl crate::introspect::Introspect for ElementSize {
13479    fn introspect() -> crate::introspect::Type {
13480        crate::introspect::TypeVariant::Enum(crate::introspect::RawEnumSchema::new(
13481            &element_size::ARENA,
13482            element_size::get_annotation_types,
13483        ))
13484        .into()
13485    }
13486}
13487impl ::core::convert::From<ElementSize> for crate::dynamic_value::Reader<'_> {
13488    fn from(e: ElementSize) -> Self {
13489        crate::dynamic_value::Enum::new(
13490            e.into(),
13491            crate::introspect::RawEnumSchema::new(
13492                &element_size::ARENA,
13493                element_size::get_annotation_types,
13494            )
13495            .into(),
13496        )
13497        .into()
13498    }
13499}
13500impl ::core::convert::TryFrom<u16> for ElementSize {
13501    type Error = crate::NotInSchema;
13502    fn try_from(
13503        value: u16,
13504    ) -> ::core::result::Result<Self, <ElementSize as ::core::convert::TryFrom<u16>>::Error> {
13505        match value {
13506            0 => ::core::result::Result::Ok(Self::Empty),
13507            1 => ::core::result::Result::Ok(Self::Bit),
13508            2 => ::core::result::Result::Ok(Self::Byte),
13509            3 => ::core::result::Result::Ok(Self::TwoBytes),
13510            4 => ::core::result::Result::Ok(Self::FourBytes),
13511            5 => ::core::result::Result::Ok(Self::EightBytes),
13512            6 => ::core::result::Result::Ok(Self::Pointer),
13513            7 => ::core::result::Result::Ok(Self::InlineComposite),
13514            n => ::core::result::Result::Err(crate::NotInSchema(n)),
13515        }
13516    }
13517}
13518impl From<ElementSize> for u16 {
13519    #[inline]
13520    fn from(x: ElementSize) -> u16 {
13521        x as u16
13522    }
13523}
13524impl crate::traits::HasTypeId for ElementSize {
13525    const TYPE_ID: u64 = 0xd195_8f7d_ba52_1926u64;
13526}
13527mod element_size {
13528    pub(crate) static ENCODED_NODE: [crate::Word; 55] = [
13529        crate::word(0, 0, 0, 0, 6, 0, 6, 0),
13530        crate::word(38, 25, 82, 186, 125, 143, 149, 209),
13531        crate::word(13, 0, 0, 0, 2, 0, 0, 0),
13532        crate::word(217, 114, 76, 98, 9, 197, 63, 169),
13533        crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13534        crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13535        crate::word(64, 69, 0, 0, 139, 70, 0, 0),
13536        crate::word(21, 0, 0, 0, 202, 0, 0, 0),
13537        crate::word(33, 0, 0, 0, 7, 0, 0, 0),
13538        crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13539        crate::word(29, 0, 0, 0, 199, 0, 0, 0),
13540        crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13541        crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13542        crate::word(115, 99, 104, 101, 109, 97, 46, 99),
13543        crate::word(97, 112, 110, 112, 58, 69, 108, 101),
13544        crate::word(109, 101, 110, 116, 83, 105, 122, 101),
13545        crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13546        crate::word(0, 0, 0, 0, 1, 0, 1, 0),
13547        crate::word(32, 0, 0, 0, 1, 0, 2, 0),
13548        crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13549        crate::word(89, 0, 0, 0, 50, 0, 0, 0),
13550        crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13551        crate::word(1, 0, 0, 0, 0, 0, 0, 0),
13552        crate::word(81, 0, 0, 0, 34, 0, 0, 0),
13553        crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13554        crate::word(2, 0, 0, 0, 0, 0, 0, 0),
13555        crate::word(73, 0, 0, 0, 42, 0, 0, 0),
13556        crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13557        crate::word(3, 0, 0, 0, 0, 0, 0, 0),
13558        crate::word(65, 0, 0, 0, 74, 0, 0, 0),
13559        crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13560        crate::word(4, 0, 0, 0, 0, 0, 0, 0),
13561        crate::word(61, 0, 0, 0, 82, 0, 0, 0),
13562        crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13563        crate::word(5, 0, 0, 0, 0, 0, 0, 0),
13564        crate::word(57, 0, 0, 0, 90, 0, 0, 0),
13565        crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13566        crate::word(6, 0, 0, 0, 0, 0, 0, 0),
13567        crate::word(53, 0, 0, 0, 66, 0, 0, 0),
13568        crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13569        crate::word(7, 0, 0, 0, 0, 0, 0, 0),
13570        crate::word(45, 0, 0, 0, 130, 0, 0, 0),
13571        crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13572        crate::word(101, 109, 112, 116, 121, 0, 0, 0),
13573        crate::word(98, 105, 116, 0, 0, 0, 0, 0),
13574        crate::word(98, 121, 116, 101, 0, 0, 0, 0),
13575        crate::word(116, 119, 111, 66, 121, 116, 101, 115),
13576        crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13577        crate::word(102, 111, 117, 114, 66, 121, 116, 101),
13578        crate::word(115, 0, 0, 0, 0, 0, 0, 0),
13579        crate::word(101, 105, 103, 104, 116, 66, 121, 116),
13580        crate::word(101, 115, 0, 0, 0, 0, 0, 0),
13581        crate::word(112, 111, 105, 110, 116, 101, 114, 0),
13582        crate::word(105, 110, 108, 105, 110, 101, 67, 111),
13583        crate::word(109, 112, 111, 115, 105, 116, 101, 0),
13584    ];
13585    pub(crate) fn get_annotation_types(
13586        child_index: Option<u16>,
13587        index: u32,
13588    ) -> crate::introspect::Type {
13589        crate::introspect::panic_invalid_annotation_indices(child_index, index)
13590    }
13591    pub(crate) static ARENA: crate::private::arena::GeneratedCodeArena =
13592        crate::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
13593}
13594
13595pub mod capnp_version {
13596    #[derive(Copy, Clone)]
13597    pub struct Owned(());
13598    impl crate::introspect::Introspect for Owned {
13599        fn introspect() -> crate::introspect::Type {
13600            crate::introspect::TypeVariant::Struct(crate::introspect::RawBrandedStructSchema {
13601                generic: &_private::RAW_SCHEMA,
13602                field_types: _private::get_field_types,
13603                annotation_types: _private::get_annotation_types,
13604                type_id: ::core::any::TypeId::of::<Owned>(),
13605            })
13606            .into()
13607        }
13608    }
13609    impl crate::traits::Owned for Owned {
13610        type Reader<'a> = Reader<'a>;
13611        type Builder<'a> = Builder<'a>;
13612    }
13613    impl crate::traits::OwnedStruct for Owned {
13614        type Reader<'a> = Reader<'a>;
13615        type Builder<'a> = Builder<'a>;
13616    }
13617    impl crate::traits::Pipelined for Owned {
13618        type Pipeline = Pipeline;
13619    }
13620
13621    pub struct Reader<'a> {
13622        reader: crate::private::layout::StructReader<'a>,
13623    }
13624    impl ::core::marker::Copy for Reader<'_> {}
13625    impl ::core::clone::Clone for Reader<'_> {
13626        fn clone(&self) -> Self {
13627            *self
13628        }
13629    }
13630
13631    impl crate::traits::HasTypeId for Reader<'_> {
13632        const TYPE_ID: u64 = _private::TYPE_ID;
13633    }
13634    impl<'a> ::core::convert::From<crate::private::layout::StructReader<'a>> for Reader<'a> {
13635        fn from(reader: crate::private::layout::StructReader<'a>) -> Self {
13636            Self { reader }
13637        }
13638    }
13639
13640    impl<'a> ::core::convert::From<Reader<'a>> for crate::dynamic_value::Reader<'a> {
13641        fn from(reader: Reader<'a>) -> Self {
13642            Self::Struct(crate::dynamic_struct::Reader::new(
13643                reader.reader,
13644                crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
13645                    generic: &_private::RAW_SCHEMA,
13646                    field_types: _private::get_field_types,
13647                    annotation_types: _private::get_annotation_types,
13648                    type_id: ::core::any::TypeId::of::<Owned>(),
13649                }),
13650            ))
13651        }
13652    }
13653
13654    impl ::core::fmt::Debug for Reader<'_> {
13655        fn fmt(
13656            &self,
13657            f: &mut ::core::fmt::Formatter<'_>,
13658        ) -> ::core::result::Result<(), ::core::fmt::Error> {
13659            core::fmt::Debug::fmt(
13660                &::core::convert::Into::<crate::dynamic_value::Reader<'_>>::into(*self),
13661                f,
13662            )
13663        }
13664    }
13665
13666    impl<'a> crate::traits::FromPointerReader<'a> for Reader<'a> {
13667        fn get_from_pointer(
13668            reader: &crate::private::layout::PointerReader<'a>,
13669            default: ::core::option::Option<&'a [crate::Word]>,
13670        ) -> crate::Result<Self> {
13671            ::core::result::Result::Ok(reader.get_struct(default)?.into())
13672        }
13673    }
13674
13675    impl<'a> crate::traits::IntoInternalStructReader<'a> for Reader<'a> {
13676        fn into_internal_struct_reader(self) -> crate::private::layout::StructReader<'a> {
13677            self.reader
13678        }
13679    }
13680
13681    impl<'a> crate::traits::Imbue<'a> for Reader<'a> {
13682        fn imbue(&mut self, cap_table: &'a crate::private::layout::CapTable) {
13683            self.reader
13684                .imbue(crate::private::layout::CapTableReader::from_ref(cap_table))
13685        }
13686    }
13687
13688    impl Reader<'_> {
13689        pub fn reborrow(&self) -> Reader<'_> {
13690            Self { ..*self }
13691        }
13692
13693        pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
13694            self.reader.total_size()
13695        }
13696        #[inline]
13697        pub fn get_major(self) -> u16 {
13698            self.reader.get_data_field::<u16>(0)
13699        }
13700        #[inline]
13701        pub fn get_minor(self) -> u8 {
13702            self.reader.get_data_field::<u8>(2)
13703        }
13704        #[inline]
13705        pub fn get_micro(self) -> u8 {
13706            self.reader.get_data_field::<u8>(3)
13707        }
13708    }
13709
13710    pub struct Builder<'a> {
13711        builder: crate::private::layout::StructBuilder<'a>,
13712    }
13713    impl crate::traits::HasStructSize for Builder<'_> {
13714        const STRUCT_SIZE: crate::private::layout::StructSize =
13715            crate::private::layout::StructSize {
13716                data: 1,
13717                pointers: 0,
13718            };
13719    }
13720    impl crate::traits::HasTypeId for Builder<'_> {
13721        const TYPE_ID: u64 = _private::TYPE_ID;
13722    }
13723    impl<'a> ::core::convert::From<crate::private::layout::StructBuilder<'a>> for Builder<'a> {
13724        fn from(builder: crate::private::layout::StructBuilder<'a>) -> Self {
13725            Self { builder }
13726        }
13727    }
13728
13729    impl<'a> crate::traits::IntoInternalStructBuilder<'a> for Builder<'a> {
13730        fn into_internal_struct_builder(self) -> crate::private::layout::StructBuilder<'a> {
13731            self.builder
13732        }
13733    }
13734
13735    impl<'a> ::core::convert::From<Builder<'a>> for crate::dynamic_value::Builder<'a> {
13736        fn from(builder: Builder<'a>) -> Self {
13737            Self::Struct(crate::dynamic_struct::Builder::new(
13738                builder.builder,
13739                crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
13740                    generic: &_private::RAW_SCHEMA,
13741                    field_types: _private::get_field_types,
13742                    annotation_types: _private::get_annotation_types,
13743                    type_id: ::core::any::TypeId::of::<Owned>(),
13744                }),
13745            ))
13746        }
13747    }
13748
13749    impl<'a> crate::traits::ImbueMut<'a> for Builder<'a> {
13750        fn imbue_mut(&mut self, cap_table: &'a mut crate::private::layout::CapTable) {
13751            self.builder
13752                .imbue(crate::private::layout::CapTableBuilder::from_ref(cap_table))
13753        }
13754    }
13755
13756    impl<'a> crate::traits::FromPointerBuilder<'a> for Builder<'a> {
13757        fn init_pointer(builder: crate::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
13758            builder
13759                .init_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE)
13760                .into()
13761        }
13762        fn get_from_pointer(
13763            builder: crate::private::layout::PointerBuilder<'a>,
13764            default: ::core::option::Option<&'a [crate::Word]>,
13765        ) -> crate::Result<Self> {
13766            ::core::result::Result::Ok(
13767                builder
13768                    .get_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE, default)?
13769                    .into(),
13770            )
13771        }
13772    }
13773
13774    impl crate::traits::SetterInput<Owned> for Reader<'_> {
13775        fn set_pointer_builder(
13776            mut pointer: crate::private::layout::PointerBuilder<'_>,
13777            value: Self,
13778            canonicalize: bool,
13779        ) -> crate::Result<()> {
13780            pointer.set_struct(&value.reader, canonicalize)
13781        }
13782    }
13783
13784    impl<'a> Builder<'a> {
13785        pub fn into_reader(self) -> Reader<'a> {
13786            self.builder.into_reader().into()
13787        }
13788        pub fn reborrow(&mut self) -> Builder<'_> {
13789            Builder {
13790                builder: self.builder.reborrow(),
13791            }
13792        }
13793        pub fn reborrow_as_reader(&self) -> Reader<'_> {
13794            self.builder.as_reader().into()
13795        }
13796
13797        pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
13798            self.builder.as_reader().total_size()
13799        }
13800        #[inline]
13801        pub fn get_major(self) -> u16 {
13802            self.builder.get_data_field::<u16>(0)
13803        }
13804        #[inline]
13805        pub fn set_major(&mut self, value: u16) {
13806            self.builder.set_data_field::<u16>(0, value);
13807        }
13808        #[inline]
13809        pub fn get_minor(self) -> u8 {
13810            self.builder.get_data_field::<u8>(2)
13811        }
13812        #[inline]
13813        pub fn set_minor(&mut self, value: u8) {
13814            self.builder.set_data_field::<u8>(2, value);
13815        }
13816        #[inline]
13817        pub fn get_micro(self) -> u8 {
13818            self.builder.get_data_field::<u8>(3)
13819        }
13820        #[inline]
13821        pub fn set_micro(&mut self, value: u8) {
13822            self.builder.set_data_field::<u8>(3, value);
13823        }
13824    }
13825
13826    pub struct Pipeline {
13827        _typeless: crate::any_pointer::Pipeline,
13828    }
13829    impl crate::capability::FromTypelessPipeline for Pipeline {
13830        fn new(typeless: crate::any_pointer::Pipeline) -> Self {
13831            Self {
13832                _typeless: typeless,
13833            }
13834        }
13835    }
13836    impl Pipeline {}
13837    mod _private {
13838        pub(crate) static ENCODED_NODE: [crate::Word; 64] = [
13839            crate::word(0, 0, 0, 0, 6, 0, 6, 0),
13840            crate::word(99, 153, 131, 125, 91, 48, 93, 216),
13841            crate::word(13, 0, 0, 0, 1, 0, 1, 0),
13842            crate::word(217, 114, 76, 98, 9, 197, 63, 169),
13843            crate::word(0, 0, 7, 0, 0, 0, 0, 0),
13844            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13845            crate::word(141, 70, 0, 0, 222, 70, 0, 0),
13846            crate::word(21, 0, 0, 0, 210, 0, 0, 0),
13847            crate::word(33, 0, 0, 0, 7, 0, 0, 0),
13848            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13849            crate::word(29, 0, 0, 0, 175, 0, 0, 0),
13850            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13851            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13852            crate::word(115, 99, 104, 101, 109, 97, 46, 99),
13853            crate::word(97, 112, 110, 112, 58, 67, 97, 112),
13854            crate::word(110, 112, 86, 101, 114, 115, 105, 111),
13855            crate::word(110, 0, 0, 0, 0, 0, 0, 0),
13856            crate::word(0, 0, 0, 0, 1, 0, 1, 0),
13857            crate::word(12, 0, 0, 0, 3, 0, 4, 0),
13858            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13859            crate::word(0, 0, 1, 0, 0, 0, 0, 0),
13860            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13861            crate::word(69, 0, 0, 0, 50, 0, 0, 0),
13862            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13863            crate::word(64, 0, 0, 0, 3, 0, 1, 0),
13864            crate::word(76, 0, 0, 0, 2, 0, 1, 0),
13865            crate::word(1, 0, 0, 0, 2, 0, 0, 0),
13866            crate::word(0, 0, 1, 0, 1, 0, 0, 0),
13867            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13868            crate::word(73, 0, 0, 0, 50, 0, 0, 0),
13869            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13870            crate::word(68, 0, 0, 0, 3, 0, 1, 0),
13871            crate::word(80, 0, 0, 0, 2, 0, 1, 0),
13872            crate::word(2, 0, 0, 0, 3, 0, 0, 0),
13873            crate::word(0, 0, 1, 0, 2, 0, 0, 0),
13874            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13875            crate::word(77, 0, 0, 0, 50, 0, 0, 0),
13876            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13877            crate::word(72, 0, 0, 0, 3, 0, 1, 0),
13878            crate::word(84, 0, 0, 0, 2, 0, 1, 0),
13879            crate::word(109, 97, 106, 111, 114, 0, 0, 0),
13880            crate::word(7, 0, 0, 0, 0, 0, 0, 0),
13881            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13882            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13883            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13884            crate::word(7, 0, 0, 0, 0, 0, 0, 0),
13885            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13886            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13887            crate::word(109, 105, 110, 111, 114, 0, 0, 0),
13888            crate::word(6, 0, 0, 0, 0, 0, 0, 0),
13889            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13890            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13891            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13892            crate::word(6, 0, 0, 0, 0, 0, 0, 0),
13893            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13894            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13895            crate::word(109, 105, 99, 114, 111, 0, 0, 0),
13896            crate::word(6, 0, 0, 0, 0, 0, 0, 0),
13897            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13898            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13899            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13900            crate::word(6, 0, 0, 0, 0, 0, 0, 0),
13901            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13902            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
13903        ];
13904        pub(crate) fn get_field_types(index: u16) -> crate::introspect::Type {
13905            match index {
13906                0 => <u16 as crate::introspect::Introspect>::introspect(),
13907                1 => <u8 as crate::introspect::Introspect>::introspect(),
13908                2 => <u8 as crate::introspect::Introspect>::introspect(),
13909                _ => crate::introspect::panic_invalid_field_index(index),
13910            }
13911        }
13912        pub(crate) fn get_annotation_types(
13913            child_index: Option<u16>,
13914            index: u32,
13915        ) -> crate::introspect::Type {
13916            crate::introspect::panic_invalid_annotation_indices(child_index, index)
13917        }
13918        pub(crate) static ARENA: crate::private::arena::GeneratedCodeArena =
13919            crate::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
13920        pub(crate) static RAW_SCHEMA: crate::introspect::RawStructSchema =
13921            crate::introspect::RawStructSchema::new(
13922                &ARENA,
13923                NONUNION_MEMBERS,
13924                MEMBERS_BY_DISCRIMINANT,
13925                MEMBERS_BY_NAME,
13926            );
13927        pub(crate) static NONUNION_MEMBERS: &[u16] = &[0, 1, 2];
13928        pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[];
13929        pub(crate) static MEMBERS_BY_NAME: &[u16] = &[0, 2, 1];
13930        pub(crate) const TYPE_ID: u64 = 0xd85d_305b_7d83_9963;
13931    }
13932}
13933
13934pub mod code_generator_request {
13935    #[derive(Copy, Clone)]
13936    pub struct Owned(());
13937    impl crate::introspect::Introspect for Owned {
13938        fn introspect() -> crate::introspect::Type {
13939            crate::introspect::TypeVariant::Struct(crate::introspect::RawBrandedStructSchema {
13940                generic: &_private::RAW_SCHEMA,
13941                field_types: _private::get_field_types,
13942                annotation_types: _private::get_annotation_types,
13943                type_id: ::core::any::TypeId::of::<Owned>(),
13944            })
13945            .into()
13946        }
13947    }
13948    impl crate::traits::Owned for Owned {
13949        type Reader<'a> = Reader<'a>;
13950        type Builder<'a> = Builder<'a>;
13951    }
13952    impl crate::traits::OwnedStruct for Owned {
13953        type Reader<'a> = Reader<'a>;
13954        type Builder<'a> = Builder<'a>;
13955    }
13956    impl crate::traits::Pipelined for Owned {
13957        type Pipeline = Pipeline;
13958    }
13959
13960    pub struct Reader<'a> {
13961        reader: crate::private::layout::StructReader<'a>,
13962    }
13963    impl ::core::marker::Copy for Reader<'_> {}
13964    impl ::core::clone::Clone for Reader<'_> {
13965        fn clone(&self) -> Self {
13966            *self
13967        }
13968    }
13969
13970    impl crate::traits::HasTypeId for Reader<'_> {
13971        const TYPE_ID: u64 = _private::TYPE_ID;
13972    }
13973    impl<'a> ::core::convert::From<crate::private::layout::StructReader<'a>> for Reader<'a> {
13974        fn from(reader: crate::private::layout::StructReader<'a>) -> Self {
13975            Self { reader }
13976        }
13977    }
13978
13979    impl<'a> ::core::convert::From<Reader<'a>> for crate::dynamic_value::Reader<'a> {
13980        fn from(reader: Reader<'a>) -> Self {
13981            Self::Struct(crate::dynamic_struct::Reader::new(
13982                reader.reader,
13983                crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
13984                    generic: &_private::RAW_SCHEMA,
13985                    field_types: _private::get_field_types,
13986                    annotation_types: _private::get_annotation_types,
13987                    type_id: ::core::any::TypeId::of::<Owned>(),
13988                }),
13989            ))
13990        }
13991    }
13992
13993    impl ::core::fmt::Debug for Reader<'_> {
13994        fn fmt(
13995            &self,
13996            f: &mut ::core::fmt::Formatter<'_>,
13997        ) -> ::core::result::Result<(), ::core::fmt::Error> {
13998            core::fmt::Debug::fmt(
13999                &::core::convert::Into::<crate::dynamic_value::Reader<'_>>::into(*self),
14000                f,
14001            )
14002        }
14003    }
14004
14005    impl<'a> crate::traits::FromPointerReader<'a> for Reader<'a> {
14006        fn get_from_pointer(
14007            reader: &crate::private::layout::PointerReader<'a>,
14008            default: ::core::option::Option<&'a [crate::Word]>,
14009        ) -> crate::Result<Self> {
14010            ::core::result::Result::Ok(reader.get_struct(default)?.into())
14011        }
14012    }
14013
14014    impl<'a> crate::traits::IntoInternalStructReader<'a> for Reader<'a> {
14015        fn into_internal_struct_reader(self) -> crate::private::layout::StructReader<'a> {
14016            self.reader
14017        }
14018    }
14019
14020    impl<'a> crate::traits::Imbue<'a> for Reader<'a> {
14021        fn imbue(&mut self, cap_table: &'a crate::private::layout::CapTable) {
14022            self.reader
14023                .imbue(crate::private::layout::CapTableReader::from_ref(cap_table))
14024        }
14025    }
14026
14027    impl<'a> Reader<'a> {
14028        pub fn reborrow(&self) -> Reader<'_> {
14029            Self { ..*self }
14030        }
14031
14032        pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
14033            self.reader.total_size()
14034        }
14035        #[inline]
14036        pub fn get_nodes(
14037            self,
14038        ) -> crate::Result<crate::struct_list::Reader<'a, crate::schema_capnp::node::Owned>>
14039        {
14040            crate::traits::FromPointerReader::get_from_pointer(
14041                &self.reader.get_pointer_field(0),
14042                ::core::option::Option::None,
14043            )
14044        }
14045        #[inline]
14046        pub fn has_nodes(&self) -> bool {
14047            !self.reader.get_pointer_field(0).is_null()
14048        }
14049        #[inline]
14050        pub fn get_requested_files(
14051            self,
14052        ) -> crate::Result<
14053            crate::struct_list::Reader<
14054                'a,
14055                crate::schema_capnp::code_generator_request::requested_file::Owned,
14056            >,
14057        > {
14058            crate::traits::FromPointerReader::get_from_pointer(
14059                &self.reader.get_pointer_field(1),
14060                ::core::option::Option::None,
14061            )
14062        }
14063        #[inline]
14064        pub fn has_requested_files(&self) -> bool {
14065            !self.reader.get_pointer_field(1).is_null()
14066        }
14067        #[inline]
14068        pub fn get_capnp_version(
14069            self,
14070        ) -> crate::Result<crate::schema_capnp::capnp_version::Reader<'a>> {
14071            crate::traits::FromPointerReader::get_from_pointer(
14072                &self.reader.get_pointer_field(2),
14073                ::core::option::Option::None,
14074            )
14075        }
14076        #[inline]
14077        pub fn has_capnp_version(&self) -> bool {
14078            !self.reader.get_pointer_field(2).is_null()
14079        }
14080        #[inline]
14081        pub fn get_source_info(
14082            self,
14083        ) -> crate::Result<
14084            crate::struct_list::Reader<'a, crate::schema_capnp::node::source_info::Owned>,
14085        > {
14086            crate::traits::FromPointerReader::get_from_pointer(
14087                &self.reader.get_pointer_field(3),
14088                ::core::option::Option::None,
14089            )
14090        }
14091        #[inline]
14092        pub fn has_source_info(&self) -> bool {
14093            !self.reader.get_pointer_field(3).is_null()
14094        }
14095    }
14096
14097    pub struct Builder<'a> {
14098        builder: crate::private::layout::StructBuilder<'a>,
14099    }
14100    impl crate::traits::HasStructSize for Builder<'_> {
14101        const STRUCT_SIZE: crate::private::layout::StructSize =
14102            crate::private::layout::StructSize {
14103                data: 0,
14104                pointers: 4,
14105            };
14106    }
14107    impl crate::traits::HasTypeId for Builder<'_> {
14108        const TYPE_ID: u64 = _private::TYPE_ID;
14109    }
14110    impl<'a> ::core::convert::From<crate::private::layout::StructBuilder<'a>> for Builder<'a> {
14111        fn from(builder: crate::private::layout::StructBuilder<'a>) -> Self {
14112            Self { builder }
14113        }
14114    }
14115
14116    impl<'a> crate::traits::IntoInternalStructBuilder<'a> for Builder<'a> {
14117        fn into_internal_struct_builder(self) -> crate::private::layout::StructBuilder<'a> {
14118            self.builder
14119        }
14120    }
14121
14122    impl<'a> ::core::convert::From<Builder<'a>> for crate::dynamic_value::Builder<'a> {
14123        fn from(builder: Builder<'a>) -> Self {
14124            Self::Struct(crate::dynamic_struct::Builder::new(
14125                builder.builder,
14126                crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
14127                    generic: &_private::RAW_SCHEMA,
14128                    field_types: _private::get_field_types,
14129                    annotation_types: _private::get_annotation_types,
14130                    type_id: ::core::any::TypeId::of::<Owned>(),
14131                }),
14132            ))
14133        }
14134    }
14135
14136    impl<'a> crate::traits::ImbueMut<'a> for Builder<'a> {
14137        fn imbue_mut(&mut self, cap_table: &'a mut crate::private::layout::CapTable) {
14138            self.builder
14139                .imbue(crate::private::layout::CapTableBuilder::from_ref(cap_table))
14140        }
14141    }
14142
14143    impl<'a> crate::traits::FromPointerBuilder<'a> for Builder<'a> {
14144        fn init_pointer(builder: crate::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
14145            builder
14146                .init_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE)
14147                .into()
14148        }
14149        fn get_from_pointer(
14150            builder: crate::private::layout::PointerBuilder<'a>,
14151            default: ::core::option::Option<&'a [crate::Word]>,
14152        ) -> crate::Result<Self> {
14153            ::core::result::Result::Ok(
14154                builder
14155                    .get_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE, default)?
14156                    .into(),
14157            )
14158        }
14159    }
14160
14161    impl crate::traits::SetterInput<Owned> for Reader<'_> {
14162        fn set_pointer_builder(
14163            mut pointer: crate::private::layout::PointerBuilder<'_>,
14164            value: Self,
14165            canonicalize: bool,
14166        ) -> crate::Result<()> {
14167            pointer.set_struct(&value.reader, canonicalize)
14168        }
14169    }
14170
14171    impl<'a> Builder<'a> {
14172        pub fn into_reader(self) -> Reader<'a> {
14173            self.builder.into_reader().into()
14174        }
14175        pub fn reborrow(&mut self) -> Builder<'_> {
14176            Builder {
14177                builder: self.builder.reborrow(),
14178            }
14179        }
14180        pub fn reborrow_as_reader(&self) -> Reader<'_> {
14181            self.builder.as_reader().into()
14182        }
14183
14184        pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
14185            self.builder.as_reader().total_size()
14186        }
14187        #[inline]
14188        pub fn get_nodes(
14189            self,
14190        ) -> crate::Result<crate::struct_list::Builder<'a, crate::schema_capnp::node::Owned>>
14191        {
14192            crate::traits::FromPointerBuilder::get_from_pointer(
14193                self.builder.get_pointer_field(0),
14194                ::core::option::Option::None,
14195            )
14196        }
14197        #[inline]
14198        pub fn set_nodes(
14199            &mut self,
14200            value: crate::struct_list::Reader<'_, crate::schema_capnp::node::Owned>,
14201        ) -> crate::Result<()> {
14202            crate::traits::SetterInput::set_pointer_builder(
14203                self.builder.reborrow().get_pointer_field(0),
14204                value,
14205                false,
14206            )
14207        }
14208        #[inline]
14209        pub fn init_nodes(
14210            self,
14211            size: u32,
14212        ) -> crate::struct_list::Builder<'a, crate::schema_capnp::node::Owned> {
14213            crate::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), size)
14214        }
14215        #[inline]
14216        pub fn has_nodes(&self) -> bool {
14217            !self.builder.is_pointer_field_null(0)
14218        }
14219        #[inline]
14220        pub fn get_requested_files(
14221            self,
14222        ) -> crate::Result<
14223            crate::struct_list::Builder<
14224                'a,
14225                crate::schema_capnp::code_generator_request::requested_file::Owned,
14226            >,
14227        > {
14228            crate::traits::FromPointerBuilder::get_from_pointer(
14229                self.builder.get_pointer_field(1),
14230                ::core::option::Option::None,
14231            )
14232        }
14233        #[inline]
14234        pub fn set_requested_files(
14235            &mut self,
14236            value: crate::struct_list::Reader<
14237                '_,
14238                crate::schema_capnp::code_generator_request::requested_file::Owned,
14239            >,
14240        ) -> crate::Result<()> {
14241            crate::traits::SetterInput::set_pointer_builder(
14242                self.builder.reborrow().get_pointer_field(1),
14243                value,
14244                false,
14245            )
14246        }
14247        #[inline]
14248        pub fn init_requested_files(
14249            self,
14250            size: u32,
14251        ) -> crate::struct_list::Builder<
14252            'a,
14253            crate::schema_capnp::code_generator_request::requested_file::Owned,
14254        > {
14255            crate::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(1), size)
14256        }
14257        #[inline]
14258        pub fn has_requested_files(&self) -> bool {
14259            !self.builder.is_pointer_field_null(1)
14260        }
14261        #[inline]
14262        pub fn get_capnp_version(
14263            self,
14264        ) -> crate::Result<crate::schema_capnp::capnp_version::Builder<'a>> {
14265            crate::traits::FromPointerBuilder::get_from_pointer(
14266                self.builder.get_pointer_field(2),
14267                ::core::option::Option::None,
14268            )
14269        }
14270        #[inline]
14271        pub fn set_capnp_version(
14272            &mut self,
14273            value: crate::schema_capnp::capnp_version::Reader<'_>,
14274        ) -> crate::Result<()> {
14275            crate::traits::SetterInput::set_pointer_builder(
14276                self.builder.reborrow().get_pointer_field(2),
14277                value,
14278                false,
14279            )
14280        }
14281        #[inline]
14282        pub fn init_capnp_version(self) -> crate::schema_capnp::capnp_version::Builder<'a> {
14283            crate::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(2), 0)
14284        }
14285        #[inline]
14286        pub fn has_capnp_version(&self) -> bool {
14287            !self.builder.is_pointer_field_null(2)
14288        }
14289        #[inline]
14290        pub fn get_source_info(
14291            self,
14292        ) -> crate::Result<
14293            crate::struct_list::Builder<'a, crate::schema_capnp::node::source_info::Owned>,
14294        > {
14295            crate::traits::FromPointerBuilder::get_from_pointer(
14296                self.builder.get_pointer_field(3),
14297                ::core::option::Option::None,
14298            )
14299        }
14300        #[inline]
14301        pub fn set_source_info(
14302            &mut self,
14303            value: crate::struct_list::Reader<'_, crate::schema_capnp::node::source_info::Owned>,
14304        ) -> crate::Result<()> {
14305            crate::traits::SetterInput::set_pointer_builder(
14306                self.builder.reborrow().get_pointer_field(3),
14307                value,
14308                false,
14309            )
14310        }
14311        #[inline]
14312        pub fn init_source_info(
14313            self,
14314            size: u32,
14315        ) -> crate::struct_list::Builder<'a, crate::schema_capnp::node::source_info::Owned>
14316        {
14317            crate::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(3), size)
14318        }
14319        #[inline]
14320        pub fn has_source_info(&self) -> bool {
14321            !self.builder.is_pointer_field_null(3)
14322        }
14323    }
14324
14325    pub struct Pipeline {
14326        _typeless: crate::any_pointer::Pipeline,
14327    }
14328    impl crate::capability::FromTypelessPipeline for Pipeline {
14329        fn new(typeless: crate::any_pointer::Pipeline) -> Self {
14330            Self {
14331                _typeless: typeless,
14332            }
14333        }
14334    }
14335    impl Pipeline {
14336        pub fn get_capnp_version(&self) -> crate::schema_capnp::capnp_version::Pipeline {
14337            crate::capability::FromTypelessPipeline::new(self._typeless.get_pointer_field(2))
14338        }
14339    }
14340    mod _private {
14341        pub(crate) static ENCODED_NODE: [crate::Word; 99] = [
14342            crate::word(0, 0, 0, 0, 6, 0, 6, 0),
14343            crate::word(206, 215, 10, 33, 246, 70, 197, 191),
14344            crate::word(13, 0, 0, 0, 1, 0, 0, 0),
14345            crate::word(217, 114, 76, 98, 9, 197, 63, 169),
14346            crate::word(4, 0, 7, 0, 0, 0, 0, 0),
14347            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14348            crate::word(224, 70, 0, 0, 138, 79, 0, 0),
14349            crate::word(21, 0, 0, 0, 18, 1, 0, 0),
14350            crate::word(37, 0, 0, 0, 23, 0, 0, 0),
14351            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14352            crate::word(49, 0, 0, 0, 231, 0, 0, 0),
14353            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14354            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14355            crate::word(115, 99, 104, 101, 109, 97, 46, 99),
14356            crate::word(97, 112, 110, 112, 58, 67, 111, 100),
14357            crate::word(101, 71, 101, 110, 101, 114, 97, 116),
14358            crate::word(111, 114, 82, 101, 113, 117, 101, 115),
14359            crate::word(116, 0, 0, 0, 0, 0, 0, 0),
14360            crate::word(4, 0, 0, 0, 1, 0, 1, 0),
14361            crate::word(98, 0, 129, 46, 176, 14, 234, 207),
14362            crate::word(1, 0, 0, 0, 114, 0, 0, 0),
14363            crate::word(82, 101, 113, 117, 101, 115, 116, 101),
14364            crate::word(100, 70, 105, 108, 101, 0, 0, 0),
14365            crate::word(16, 0, 0, 0, 3, 0, 4, 0),
14366            crate::word(1, 0, 0, 0, 0, 0, 0, 0),
14367            crate::word(0, 0, 1, 0, 0, 0, 0, 0),
14368            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14369            crate::word(97, 0, 0, 0, 50, 0, 0, 0),
14370            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14371            crate::word(92, 0, 0, 0, 3, 0, 1, 0),
14372            crate::word(120, 0, 0, 0, 2, 0, 1, 0),
14373            crate::word(3, 0, 0, 0, 1, 0, 0, 0),
14374            crate::word(0, 0, 1, 0, 1, 0, 0, 0),
14375            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14376            crate::word(117, 0, 0, 0, 122, 0, 0, 0),
14377            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14378            crate::word(116, 0, 0, 0, 3, 0, 1, 0),
14379            crate::word(144, 0, 0, 0, 2, 0, 1, 0),
14380            crate::word(0, 0, 0, 0, 2, 0, 0, 0),
14381            crate::word(0, 0, 1, 0, 2, 0, 0, 0),
14382            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14383            crate::word(141, 0, 0, 0, 106, 0, 0, 0),
14384            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14385            crate::word(140, 0, 0, 0, 3, 0, 1, 0),
14386            crate::word(152, 0, 0, 0, 2, 0, 1, 0),
14387            crate::word(2, 0, 0, 0, 3, 0, 0, 0),
14388            crate::word(0, 0, 1, 0, 3, 0, 0, 0),
14389            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14390            crate::word(149, 0, 0, 0, 90, 0, 0, 0),
14391            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14392            crate::word(148, 0, 0, 0, 3, 0, 1, 0),
14393            crate::word(176, 0, 0, 0, 2, 0, 1, 0),
14394            crate::word(110, 111, 100, 101, 115, 0, 0, 0),
14395            crate::word(14, 0, 0, 0, 0, 0, 0, 0),
14396            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14397            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14398            crate::word(0, 0, 0, 0, 3, 0, 1, 0),
14399            crate::word(16, 0, 0, 0, 0, 0, 0, 0),
14400            crate::word(23, 164, 35, 249, 76, 171, 130, 230),
14401            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14402            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14403            crate::word(14, 0, 0, 0, 0, 0, 0, 0),
14404            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14405            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14406            crate::word(114, 101, 113, 117, 101, 115, 116, 101),
14407            crate::word(100, 70, 105, 108, 101, 115, 0, 0),
14408            crate::word(14, 0, 0, 0, 0, 0, 0, 0),
14409            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14410            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14411            crate::word(0, 0, 0, 0, 3, 0, 1, 0),
14412            crate::word(16, 0, 0, 0, 0, 0, 0, 0),
14413            crate::word(98, 0, 129, 46, 176, 14, 234, 207),
14414            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14415            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14416            crate::word(14, 0, 0, 0, 0, 0, 0, 0),
14417            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14418            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14419            crate::word(99, 97, 112, 110, 112, 86, 101, 114),
14420            crate::word(115, 105, 111, 110, 0, 0, 0, 0),
14421            crate::word(16, 0, 0, 0, 0, 0, 0, 0),
14422            crate::word(99, 153, 131, 125, 91, 48, 93, 216),
14423            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14424            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14425            crate::word(16, 0, 0, 0, 0, 0, 0, 0),
14426            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14427            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14428            crate::word(115, 111, 117, 114, 99, 101, 73, 110),
14429            crate::word(102, 111, 0, 0, 0, 0, 0, 0),
14430            crate::word(14, 0, 0, 0, 0, 0, 0, 0),
14431            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14432            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14433            crate::word(0, 0, 0, 0, 3, 0, 1, 0),
14434            crate::word(16, 0, 0, 0, 0, 0, 0, 0),
14435            crate::word(174, 87, 19, 4, 227, 29, 142, 243),
14436            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14437            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14438            crate::word(14, 0, 0, 0, 0, 0, 0, 0),
14439            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14440            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14441        ];
14442        pub(crate) fn get_field_types(index: u16) -> crate::introspect::Type {
14443            match index {
14444                0 => <crate::struct_list::Owned<crate::schema_capnp::node::Owned> as crate::introspect::Introspect>::introspect(),
14445                1 => <crate::struct_list::Owned<crate::schema_capnp::code_generator_request::requested_file::Owned> as crate::introspect::Introspect>::introspect(),
14446                2 => <crate::schema_capnp::capnp_version::Owned as crate::introspect::Introspect>::introspect(),
14447                3 => <crate::struct_list::Owned<crate::schema_capnp::node::source_info::Owned> as crate::introspect::Introspect>::introspect(),
14448                _ => crate::introspect::panic_invalid_field_index(index),
14449            }
14450        }
14451        pub(crate) fn get_annotation_types(
14452            child_index: Option<u16>,
14453            index: u32,
14454        ) -> crate::introspect::Type {
14455            crate::introspect::panic_invalid_annotation_indices(child_index, index)
14456        }
14457        pub(crate) static ARENA: crate::private::arena::GeneratedCodeArena =
14458            crate::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
14459        pub(crate) static RAW_SCHEMA: crate::introspect::RawStructSchema =
14460            crate::introspect::RawStructSchema::new(
14461                &ARENA,
14462                NONUNION_MEMBERS,
14463                MEMBERS_BY_DISCRIMINANT,
14464                MEMBERS_BY_NAME,
14465            );
14466        pub(crate) static NONUNION_MEMBERS: &[u16] = &[0, 1, 2, 3];
14467        pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[];
14468        pub(crate) static MEMBERS_BY_NAME: &[u16] = &[2, 0, 1, 3];
14469        pub(crate) const TYPE_ID: u64 = 0xbfc5_46f6_210a_d7ce;
14470    }
14471
14472    pub mod requested_file {
14473        #[derive(Copy, Clone)]
14474        pub struct Owned(());
14475        impl crate::introspect::Introspect for Owned {
14476            fn introspect() -> crate::introspect::Type {
14477                crate::introspect::TypeVariant::Struct(crate::introspect::RawBrandedStructSchema {
14478                    generic: &_private::RAW_SCHEMA,
14479                    field_types: _private::get_field_types,
14480                    annotation_types: _private::get_annotation_types,
14481                    type_id: ::core::any::TypeId::of::<Owned>(),
14482                })
14483                .into()
14484            }
14485        }
14486        impl crate::traits::Owned for Owned {
14487            type Reader<'a> = Reader<'a>;
14488            type Builder<'a> = Builder<'a>;
14489        }
14490        impl crate::traits::OwnedStruct for Owned {
14491            type Reader<'a> = Reader<'a>;
14492            type Builder<'a> = Builder<'a>;
14493        }
14494        impl crate::traits::Pipelined for Owned {
14495            type Pipeline = Pipeline;
14496        }
14497
14498        pub struct Reader<'a> {
14499            reader: crate::private::layout::StructReader<'a>,
14500        }
14501        impl ::core::marker::Copy for Reader<'_> {}
14502        impl ::core::clone::Clone for Reader<'_> {
14503            fn clone(&self) -> Self {
14504                *self
14505            }
14506        }
14507
14508        impl crate::traits::HasTypeId for Reader<'_> {
14509            const TYPE_ID: u64 = _private::TYPE_ID;
14510        }
14511        impl<'a> ::core::convert::From<crate::private::layout::StructReader<'a>> for Reader<'a> {
14512            fn from(reader: crate::private::layout::StructReader<'a>) -> Self {
14513                Self { reader }
14514            }
14515        }
14516
14517        impl<'a> ::core::convert::From<Reader<'a>> for crate::dynamic_value::Reader<'a> {
14518            fn from(reader: Reader<'a>) -> Self {
14519                Self::Struct(crate::dynamic_struct::Reader::new(
14520                    reader.reader,
14521                    crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
14522                        generic: &_private::RAW_SCHEMA,
14523                        field_types: _private::get_field_types,
14524                        annotation_types: _private::get_annotation_types,
14525                        type_id: ::core::any::TypeId::of::<Owned>(),
14526                    }),
14527                ))
14528            }
14529        }
14530
14531        impl ::core::fmt::Debug for Reader<'_> {
14532            fn fmt(
14533                &self,
14534                f: &mut ::core::fmt::Formatter<'_>,
14535            ) -> ::core::result::Result<(), ::core::fmt::Error> {
14536                core::fmt::Debug::fmt(
14537                    &::core::convert::Into::<crate::dynamic_value::Reader<'_>>::into(*self),
14538                    f,
14539                )
14540            }
14541        }
14542
14543        impl<'a> crate::traits::FromPointerReader<'a> for Reader<'a> {
14544            fn get_from_pointer(
14545                reader: &crate::private::layout::PointerReader<'a>,
14546                default: ::core::option::Option<&'a [crate::Word]>,
14547            ) -> crate::Result<Self> {
14548                ::core::result::Result::Ok(reader.get_struct(default)?.into())
14549            }
14550        }
14551
14552        impl<'a> crate::traits::IntoInternalStructReader<'a> for Reader<'a> {
14553            fn into_internal_struct_reader(self) -> crate::private::layout::StructReader<'a> {
14554                self.reader
14555            }
14556        }
14557
14558        impl<'a> crate::traits::Imbue<'a> for Reader<'a> {
14559            fn imbue(&mut self, cap_table: &'a crate::private::layout::CapTable) {
14560                self.reader
14561                    .imbue(crate::private::layout::CapTableReader::from_ref(cap_table))
14562            }
14563        }
14564
14565        impl<'a> Reader<'a> {
14566            pub fn reborrow(&self) -> Reader<'_> {
14567                Self { ..*self }
14568            }
14569
14570            pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
14571                self.reader.total_size()
14572            }
14573            #[inline]
14574            pub fn get_id(self) -> u64 {
14575                self.reader.get_data_field::<u64>(0)
14576            }
14577            #[inline]
14578            pub fn get_filename(self) -> crate::Result<crate::text::Reader<'a>> {
14579                crate::traits::FromPointerReader::get_from_pointer(
14580                    &self.reader.get_pointer_field(0),
14581                    ::core::option::Option::None,
14582                )
14583            }
14584            #[inline]
14585            pub fn has_filename(&self) -> bool {
14586                !self.reader.get_pointer_field(0).is_null()
14587            }
14588            #[inline]
14589            pub fn get_imports(
14590                self,
14591            ) -> crate::Result<
14592                crate::struct_list::Reader<
14593                    'a,
14594                    crate::schema_capnp::code_generator_request::requested_file::import::Owned,
14595                >,
14596            > {
14597                crate::traits::FromPointerReader::get_from_pointer(
14598                    &self.reader.get_pointer_field(1),
14599                    ::core::option::Option::None,
14600                )
14601            }
14602            #[inline]
14603            pub fn has_imports(&self) -> bool {
14604                !self.reader.get_pointer_field(1).is_null()
14605            }
14606            #[inline]
14607            pub fn get_file_source_info(self) -> crate::Result<crate::schema_capnp::code_generator_request::requested_file::file_source_info::Reader<'a>>{
14608                crate::traits::FromPointerReader::get_from_pointer(
14609                    &self.reader.get_pointer_field(2),
14610                    ::core::option::Option::None,
14611                )
14612            }
14613            #[inline]
14614            pub fn has_file_source_info(&self) -> bool {
14615                !self.reader.get_pointer_field(2).is_null()
14616            }
14617        }
14618
14619        pub struct Builder<'a> {
14620            builder: crate::private::layout::StructBuilder<'a>,
14621        }
14622        impl crate::traits::HasStructSize for Builder<'_> {
14623            const STRUCT_SIZE: crate::private::layout::StructSize =
14624                crate::private::layout::StructSize {
14625                    data: 1,
14626                    pointers: 3,
14627                };
14628        }
14629        impl crate::traits::HasTypeId for Builder<'_> {
14630            const TYPE_ID: u64 = _private::TYPE_ID;
14631        }
14632        impl<'a> ::core::convert::From<crate::private::layout::StructBuilder<'a>> for Builder<'a> {
14633            fn from(builder: crate::private::layout::StructBuilder<'a>) -> Self {
14634                Self { builder }
14635            }
14636        }
14637
14638        impl<'a> crate::traits::IntoInternalStructBuilder<'a> for Builder<'a> {
14639            fn into_internal_struct_builder(self) -> crate::private::layout::StructBuilder<'a> {
14640                self.builder
14641            }
14642        }
14643
14644        impl<'a> ::core::convert::From<Builder<'a>> for crate::dynamic_value::Builder<'a> {
14645            fn from(builder: Builder<'a>) -> Self {
14646                Self::Struct(crate::dynamic_struct::Builder::new(
14647                    builder.builder,
14648                    crate::schema::StructSchema::new(crate::introspect::RawBrandedStructSchema {
14649                        generic: &_private::RAW_SCHEMA,
14650                        field_types: _private::get_field_types,
14651                        annotation_types: _private::get_annotation_types,
14652                        type_id: ::core::any::TypeId::of::<Owned>(),
14653                    }),
14654                ))
14655            }
14656        }
14657
14658        impl<'a> crate::traits::ImbueMut<'a> for Builder<'a> {
14659            fn imbue_mut(&mut self, cap_table: &'a mut crate::private::layout::CapTable) {
14660                self.builder
14661                    .imbue(crate::private::layout::CapTableBuilder::from_ref(cap_table))
14662            }
14663        }
14664
14665        impl<'a> crate::traits::FromPointerBuilder<'a> for Builder<'a> {
14666            fn init_pointer(
14667                builder: crate::private::layout::PointerBuilder<'a>,
14668                _size: u32,
14669            ) -> Self {
14670                builder
14671                    .init_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE)
14672                    .into()
14673            }
14674            fn get_from_pointer(
14675                builder: crate::private::layout::PointerBuilder<'a>,
14676                default: ::core::option::Option<&'a [crate::Word]>,
14677            ) -> crate::Result<Self> {
14678                ::core::result::Result::Ok(
14679                    builder
14680                        .get_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE, default)?
14681                        .into(),
14682                )
14683            }
14684        }
14685
14686        impl crate::traits::SetterInput<Owned> for Reader<'_> {
14687            fn set_pointer_builder(
14688                mut pointer: crate::private::layout::PointerBuilder<'_>,
14689                value: Self,
14690                canonicalize: bool,
14691            ) -> crate::Result<()> {
14692                pointer.set_struct(&value.reader, canonicalize)
14693            }
14694        }
14695
14696        impl<'a> Builder<'a> {
14697            pub fn into_reader(self) -> Reader<'a> {
14698                self.builder.into_reader().into()
14699            }
14700            pub fn reborrow(&mut self) -> Builder<'_> {
14701                Builder {
14702                    builder: self.builder.reborrow(),
14703                }
14704            }
14705            pub fn reborrow_as_reader(&self) -> Reader<'_> {
14706                self.builder.as_reader().into()
14707            }
14708
14709            pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
14710                self.builder.as_reader().total_size()
14711            }
14712            #[inline]
14713            pub fn get_id(self) -> u64 {
14714                self.builder.get_data_field::<u64>(0)
14715            }
14716            #[inline]
14717            pub fn set_id(&mut self, value: u64) {
14718                self.builder.set_data_field::<u64>(0, value);
14719            }
14720            #[inline]
14721            pub fn get_filename(self) -> crate::Result<crate::text::Builder<'a>> {
14722                crate::traits::FromPointerBuilder::get_from_pointer(
14723                    self.builder.get_pointer_field(0),
14724                    ::core::option::Option::None,
14725                )
14726            }
14727            #[inline]
14728            pub fn set_filename(
14729                &mut self,
14730                value: impl crate::traits::SetterInput<crate::text::Owned>,
14731            ) {
14732                crate::traits::SetterInput::set_pointer_builder(
14733                    self.builder.reborrow().get_pointer_field(0),
14734                    value,
14735                    false,
14736                )
14737                .unwrap()
14738            }
14739            #[inline]
14740            pub fn init_filename(self, size: u32) -> crate::text::Builder<'a> {
14741                self.builder.get_pointer_field(0).init_text(size)
14742            }
14743            #[inline]
14744            pub fn has_filename(&self) -> bool {
14745                !self.builder.is_pointer_field_null(0)
14746            }
14747            #[inline]
14748            pub fn get_imports(
14749                self,
14750            ) -> crate::Result<
14751                crate::struct_list::Builder<
14752                    'a,
14753                    crate::schema_capnp::code_generator_request::requested_file::import::Owned,
14754                >,
14755            > {
14756                crate::traits::FromPointerBuilder::get_from_pointer(
14757                    self.builder.get_pointer_field(1),
14758                    ::core::option::Option::None,
14759                )
14760            }
14761            #[inline]
14762            pub fn set_imports(
14763                &mut self,
14764                value: crate::struct_list::Reader<
14765                    '_,
14766                    crate::schema_capnp::code_generator_request::requested_file::import::Owned,
14767                >,
14768            ) -> crate::Result<()> {
14769                crate::traits::SetterInput::set_pointer_builder(
14770                    self.builder.reborrow().get_pointer_field(1),
14771                    value,
14772                    false,
14773                )
14774            }
14775            #[inline]
14776            pub fn init_imports(
14777                self,
14778                size: u32,
14779            ) -> crate::struct_list::Builder<
14780                'a,
14781                crate::schema_capnp::code_generator_request::requested_file::import::Owned,
14782            > {
14783                crate::traits::FromPointerBuilder::init_pointer(
14784                    self.builder.get_pointer_field(1),
14785                    size,
14786                )
14787            }
14788            #[inline]
14789            pub fn has_imports(&self) -> bool {
14790                !self.builder.is_pointer_field_null(1)
14791            }
14792            #[inline]
14793            pub fn get_file_source_info(self) -> crate::Result<crate::schema_capnp::code_generator_request::requested_file::file_source_info::Builder<'a>>{
14794                crate::traits::FromPointerBuilder::get_from_pointer(
14795                    self.builder.get_pointer_field(2),
14796                    ::core::option::Option::None,
14797                )
14798            }
14799            #[inline]
14800            pub fn set_file_source_info(
14801                &mut self,
14802                value: crate::schema_capnp::code_generator_request::requested_file::file_source_info::Reader<'_>,
14803            ) -> crate::Result<()> {
14804                crate::traits::SetterInput::set_pointer_builder(
14805                    self.builder.reborrow().get_pointer_field(2),
14806                    value,
14807                    false,
14808                )
14809            }
14810            #[inline]
14811            pub fn init_file_source_info(self) -> crate::schema_capnp::code_generator_request::requested_file::file_source_info::Builder<'a>{
14812                crate::traits::FromPointerBuilder::init_pointer(
14813                    self.builder.get_pointer_field(2),
14814                    0,
14815                )
14816            }
14817            #[inline]
14818            pub fn has_file_source_info(&self) -> bool {
14819                !self.builder.is_pointer_field_null(2)
14820            }
14821        }
14822
14823        pub struct Pipeline {
14824            _typeless: crate::any_pointer::Pipeline,
14825        }
14826        impl crate::capability::FromTypelessPipeline for Pipeline {
14827            fn new(typeless: crate::any_pointer::Pipeline) -> Self {
14828                Self {
14829                    _typeless: typeless,
14830                }
14831            }
14832        }
14833        impl Pipeline {
14834            pub fn get_file_source_info(&self) -> crate::schema_capnp::code_generator_request::requested_file::file_source_info::Pipeline{
14835                crate::capability::FromTypelessPipeline::new(self._typeless.get_pointer_field(2))
14836            }
14837        }
14838        mod _private {
14839            pub(crate) static ENCODED_NODE: [crate::Word; 94] = [
14840                crate::word(0, 0, 0, 0, 6, 0, 6, 0),
14841                crate::word(98, 0, 129, 46, 176, 14, 234, 207),
14842                crate::word(34, 0, 0, 0, 1, 0, 1, 0),
14843                crate::word(206, 215, 10, 33, 246, 70, 197, 191),
14844                crate::word(3, 0, 7, 0, 0, 0, 0, 0),
14845                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14846                crate::word(73, 74, 0, 0, 136, 79, 0, 0),
14847                crate::word(21, 0, 0, 0, 130, 1, 0, 0),
14848                crate::word(41, 0, 0, 0, 39, 0, 0, 0),
14849                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14850                crate::word(65, 0, 0, 0, 231, 0, 0, 0),
14851                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14852                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14853                crate::word(115, 99, 104, 101, 109, 97, 46, 99),
14854                crate::word(97, 112, 110, 112, 58, 67, 111, 100),
14855                crate::word(101, 71, 101, 110, 101, 114, 97, 116),
14856                crate::word(111, 114, 82, 101, 113, 117, 101, 115),
14857                crate::word(116, 46, 82, 101, 113, 117, 101, 115),
14858                crate::word(116, 101, 100, 70, 105, 108, 101, 0),
14859                crate::word(8, 0, 0, 0, 1, 0, 1, 0),
14860                crate::word(229, 87, 35, 18, 147, 65, 80, 174),
14861                crate::word(9, 0, 0, 0, 58, 0, 0, 0),
14862                crate::word(160, 93, 146, 118, 241, 43, 234, 248),
14863                crate::word(5, 0, 0, 0, 122, 0, 0, 0),
14864                crate::word(73, 109, 112, 111, 114, 116, 0, 0),
14865                crate::word(70, 105, 108, 101, 83, 111, 117, 114),
14866                crate::word(99, 101, 73, 110, 102, 111, 0, 0),
14867                crate::word(16, 0, 0, 0, 3, 0, 4, 0),
14868                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14869                crate::word(0, 0, 1, 0, 0, 0, 0, 0),
14870                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14871                crate::word(97, 0, 0, 0, 26, 0, 0, 0),
14872                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14873                crate::word(92, 0, 0, 0, 3, 0, 1, 0),
14874                crate::word(104, 0, 0, 0, 2, 0, 1, 0),
14875                crate::word(1, 0, 0, 0, 0, 0, 0, 0),
14876                crate::word(0, 0, 1, 0, 1, 0, 0, 0),
14877                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14878                crate::word(101, 0, 0, 0, 74, 0, 0, 0),
14879                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14880                crate::word(100, 0, 0, 0, 3, 0, 1, 0),
14881                crate::word(112, 0, 0, 0, 2, 0, 1, 0),
14882                crate::word(2, 0, 0, 0, 1, 0, 0, 0),
14883                crate::word(0, 0, 1, 0, 2, 0, 0, 0),
14884                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14885                crate::word(109, 0, 0, 0, 66, 0, 0, 0),
14886                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14887                crate::word(104, 0, 0, 0, 3, 0, 1, 0),
14888                crate::word(132, 0, 0, 0, 2, 0, 1, 0),
14889                crate::word(3, 0, 0, 0, 2, 0, 0, 0),
14890                crate::word(0, 0, 1, 0, 3, 0, 0, 0),
14891                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14892                crate::word(129, 0, 0, 0, 122, 0, 0, 0),
14893                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14894                crate::word(128, 0, 0, 0, 3, 0, 1, 0),
14895                crate::word(140, 0, 0, 0, 2, 0, 1, 0),
14896                crate::word(105, 100, 0, 0, 0, 0, 0, 0),
14897                crate::word(9, 0, 0, 0, 0, 0, 0, 0),
14898                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14899                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14900                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14901                crate::word(9, 0, 0, 0, 0, 0, 0, 0),
14902                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14903                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14904                crate::word(102, 105, 108, 101, 110, 97, 109, 101),
14905                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14906                crate::word(12, 0, 0, 0, 0, 0, 0, 0),
14907                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14908                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14909                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14910                crate::word(12, 0, 0, 0, 0, 0, 0, 0),
14911                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14912                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14913                crate::word(105, 109, 112, 111, 114, 116, 115, 0),
14914                crate::word(14, 0, 0, 0, 0, 0, 0, 0),
14915                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14916                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14917                crate::word(0, 0, 0, 0, 3, 0, 1, 0),
14918                crate::word(16, 0, 0, 0, 0, 0, 0, 0),
14919                crate::word(229, 87, 35, 18, 147, 65, 80, 174),
14920                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14921                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14922                crate::word(14, 0, 0, 0, 0, 0, 0, 0),
14923                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14924                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14925                crate::word(102, 105, 108, 101, 83, 111, 117, 114),
14926                crate::word(99, 101, 73, 110, 102, 111, 0, 0),
14927                crate::word(16, 0, 0, 0, 0, 0, 0, 0),
14928                crate::word(160, 93, 146, 118, 241, 43, 234, 248),
14929                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14930                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14931                crate::word(16, 0, 0, 0, 0, 0, 0, 0),
14932                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14933                crate::word(0, 0, 0, 0, 0, 0, 0, 0),
14934            ];
14935            pub(crate) fn get_field_types(index: u16) -> crate::introspect::Type {
14936                match index {
14937                    0 => <u64 as crate::introspect::Introspect>::introspect(),
14938                    1 => <crate::text::Owned as crate::introspect::Introspect>::introspect(),
14939                    2 => <crate::struct_list::Owned<crate::schema_capnp::code_generator_request::requested_file::import::Owned> as crate::introspect::Introspect>::introspect(),
14940                    3 => <crate::schema_capnp::code_generator_request::requested_file::file_source_info::Owned as crate::introspect::Introspect>::introspect(),
14941                    _ => crate::introspect::panic_invalid_field_index(index),
14942                }
14943            }
14944            pub(crate) fn get_annotation_types(
14945                child_index: Option<u16>,
14946                index: u32,
14947            ) -> crate::introspect::Type {
14948                crate::introspect::panic_invalid_annotation_indices(child_index, index)
14949            }
14950            pub(crate) static ARENA: crate::private::arena::GeneratedCodeArena =
14951                crate::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
14952            pub(crate) static RAW_SCHEMA: crate::introspect::RawStructSchema =
14953                crate::introspect::RawStructSchema::new(
14954                    &ARENA,
14955                    NONUNION_MEMBERS,
14956                    MEMBERS_BY_DISCRIMINANT,
14957                    MEMBERS_BY_NAME,
14958                );
14959            pub(crate) static NONUNION_MEMBERS: &[u16] = &[0, 1, 2, 3];
14960            pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[];
14961            pub(crate) static MEMBERS_BY_NAME: &[u16] = &[3, 1, 0, 2];
14962            pub(crate) const TYPE_ID: u64 = 0xcfea_0eb0_2e81_0062;
14963        }
14964
14965        pub mod import {
14966            #[derive(Copy, Clone)]
14967            pub struct Owned(());
14968            impl crate::introspect::Introspect for Owned {
14969                fn introspect() -> crate::introspect::Type {
14970                    crate::introspect::TypeVariant::Struct(
14971                        crate::introspect::RawBrandedStructSchema {
14972                            generic: &_private::RAW_SCHEMA,
14973                            field_types: _private::get_field_types,
14974                            annotation_types: _private::get_annotation_types,
14975                            type_id: ::core::any::TypeId::of::<Owned>(),
14976                        },
14977                    )
14978                    .into()
14979                }
14980            }
14981            impl crate::traits::Owned for Owned {
14982                type Reader<'a> = Reader<'a>;
14983                type Builder<'a> = Builder<'a>;
14984            }
14985            impl crate::traits::OwnedStruct for Owned {
14986                type Reader<'a> = Reader<'a>;
14987                type Builder<'a> = Builder<'a>;
14988            }
14989            impl crate::traits::Pipelined for Owned {
14990                type Pipeline = Pipeline;
14991            }
14992
14993            pub struct Reader<'a> {
14994                reader: crate::private::layout::StructReader<'a>,
14995            }
14996            impl ::core::marker::Copy for Reader<'_> {}
14997            impl ::core::clone::Clone for Reader<'_> {
14998                fn clone(&self) -> Self {
14999                    *self
15000                }
15001            }
15002
15003            impl crate::traits::HasTypeId for Reader<'_> {
15004                const TYPE_ID: u64 = _private::TYPE_ID;
15005            }
15006            impl<'a> ::core::convert::From<crate::private::layout::StructReader<'a>> for Reader<'a> {
15007                fn from(reader: crate::private::layout::StructReader<'a>) -> Self {
15008                    Self { reader }
15009                }
15010            }
15011
15012            impl<'a> ::core::convert::From<Reader<'a>> for crate::dynamic_value::Reader<'a> {
15013                fn from(reader: Reader<'a>) -> Self {
15014                    Self::Struct(crate::dynamic_struct::Reader::new(
15015                        reader.reader,
15016                        crate::schema::StructSchema::new(
15017                            crate::introspect::RawBrandedStructSchema {
15018                                generic: &_private::RAW_SCHEMA,
15019                                field_types: _private::get_field_types,
15020                                annotation_types: _private::get_annotation_types,
15021                                type_id: ::core::any::TypeId::of::<Owned>(),
15022                            },
15023                        ),
15024                    ))
15025                }
15026            }
15027
15028            impl ::core::fmt::Debug for Reader<'_> {
15029                fn fmt(
15030                    &self,
15031                    f: &mut ::core::fmt::Formatter<'_>,
15032                ) -> ::core::result::Result<(), ::core::fmt::Error> {
15033                    core::fmt::Debug::fmt(
15034                        &::core::convert::Into::<crate::dynamic_value::Reader<'_>>::into(*self),
15035                        f,
15036                    )
15037                }
15038            }
15039
15040            impl<'a> crate::traits::FromPointerReader<'a> for Reader<'a> {
15041                fn get_from_pointer(
15042                    reader: &crate::private::layout::PointerReader<'a>,
15043                    default: ::core::option::Option<&'a [crate::Word]>,
15044                ) -> crate::Result<Self> {
15045                    ::core::result::Result::Ok(reader.get_struct(default)?.into())
15046                }
15047            }
15048
15049            impl<'a> crate::traits::IntoInternalStructReader<'a> for Reader<'a> {
15050                fn into_internal_struct_reader(self) -> crate::private::layout::StructReader<'a> {
15051                    self.reader
15052                }
15053            }
15054
15055            impl<'a> crate::traits::Imbue<'a> for Reader<'a> {
15056                fn imbue(&mut self, cap_table: &'a crate::private::layout::CapTable) {
15057                    self.reader
15058                        .imbue(crate::private::layout::CapTableReader::from_ref(cap_table))
15059                }
15060            }
15061
15062            impl<'a> Reader<'a> {
15063                pub fn reborrow(&self) -> Reader<'_> {
15064                    Self { ..*self }
15065                }
15066
15067                pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
15068                    self.reader.total_size()
15069                }
15070                #[inline]
15071                pub fn get_id(self) -> u64 {
15072                    self.reader.get_data_field::<u64>(0)
15073                }
15074                #[inline]
15075                pub fn get_name(self) -> crate::Result<crate::text::Reader<'a>> {
15076                    crate::traits::FromPointerReader::get_from_pointer(
15077                        &self.reader.get_pointer_field(0),
15078                        ::core::option::Option::None,
15079                    )
15080                }
15081                #[inline]
15082                pub fn has_name(&self) -> bool {
15083                    !self.reader.get_pointer_field(0).is_null()
15084                }
15085            }
15086
15087            pub struct Builder<'a> {
15088                builder: crate::private::layout::StructBuilder<'a>,
15089            }
15090            impl crate::traits::HasStructSize for Builder<'_> {
15091                const STRUCT_SIZE: crate::private::layout::StructSize =
15092                    crate::private::layout::StructSize {
15093                        data: 1,
15094                        pointers: 1,
15095                    };
15096            }
15097            impl crate::traits::HasTypeId for Builder<'_> {
15098                const TYPE_ID: u64 = _private::TYPE_ID;
15099            }
15100            impl<'a> ::core::convert::From<crate::private::layout::StructBuilder<'a>> for Builder<'a> {
15101                fn from(builder: crate::private::layout::StructBuilder<'a>) -> Self {
15102                    Self { builder }
15103                }
15104            }
15105
15106            impl<'a> crate::traits::IntoInternalStructBuilder<'a> for Builder<'a> {
15107                fn into_internal_struct_builder(self) -> crate::private::layout::StructBuilder<'a> {
15108                    self.builder
15109                }
15110            }
15111
15112            impl<'a> ::core::convert::From<Builder<'a>> for crate::dynamic_value::Builder<'a> {
15113                fn from(builder: Builder<'a>) -> Self {
15114                    Self::Struct(crate::dynamic_struct::Builder::new(
15115                        builder.builder,
15116                        crate::schema::StructSchema::new(
15117                            crate::introspect::RawBrandedStructSchema {
15118                                generic: &_private::RAW_SCHEMA,
15119                                field_types: _private::get_field_types,
15120                                annotation_types: _private::get_annotation_types,
15121                                type_id: ::core::any::TypeId::of::<Owned>(),
15122                            },
15123                        ),
15124                    ))
15125                }
15126            }
15127
15128            impl<'a> crate::traits::ImbueMut<'a> for Builder<'a> {
15129                fn imbue_mut(&mut self, cap_table: &'a mut crate::private::layout::CapTable) {
15130                    self.builder
15131                        .imbue(crate::private::layout::CapTableBuilder::from_ref(cap_table))
15132                }
15133            }
15134
15135            impl<'a> crate::traits::FromPointerBuilder<'a> for Builder<'a> {
15136                fn init_pointer(
15137                    builder: crate::private::layout::PointerBuilder<'a>,
15138                    _size: u32,
15139                ) -> Self {
15140                    builder
15141                        .init_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE)
15142                        .into()
15143                }
15144                fn get_from_pointer(
15145                    builder: crate::private::layout::PointerBuilder<'a>,
15146                    default: ::core::option::Option<&'a [crate::Word]>,
15147                ) -> crate::Result<Self> {
15148                    ::core::result::Result::Ok(
15149                        builder
15150                            .get_struct(
15151                                <Self as crate::traits::HasStructSize>::STRUCT_SIZE,
15152                                default,
15153                            )?
15154                            .into(),
15155                    )
15156                }
15157            }
15158
15159            impl crate::traits::SetterInput<Owned> for Reader<'_> {
15160                fn set_pointer_builder(
15161                    mut pointer: crate::private::layout::PointerBuilder<'_>,
15162                    value: Self,
15163                    canonicalize: bool,
15164                ) -> crate::Result<()> {
15165                    pointer.set_struct(&value.reader, canonicalize)
15166                }
15167            }
15168
15169            impl<'a> Builder<'a> {
15170                pub fn into_reader(self) -> Reader<'a> {
15171                    self.builder.into_reader().into()
15172                }
15173                pub fn reborrow(&mut self) -> Builder<'_> {
15174                    Builder {
15175                        builder: self.builder.reborrow(),
15176                    }
15177                }
15178                pub fn reborrow_as_reader(&self) -> Reader<'_> {
15179                    self.builder.as_reader().into()
15180                }
15181
15182                pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
15183                    self.builder.as_reader().total_size()
15184                }
15185                #[inline]
15186                pub fn get_id(self) -> u64 {
15187                    self.builder.get_data_field::<u64>(0)
15188                }
15189                #[inline]
15190                pub fn set_id(&mut self, value: u64) {
15191                    self.builder.set_data_field::<u64>(0, value);
15192                }
15193                #[inline]
15194                pub fn get_name(self) -> crate::Result<crate::text::Builder<'a>> {
15195                    crate::traits::FromPointerBuilder::get_from_pointer(
15196                        self.builder.get_pointer_field(0),
15197                        ::core::option::Option::None,
15198                    )
15199                }
15200                #[inline]
15201                pub fn set_name(
15202                    &mut self,
15203                    value: impl crate::traits::SetterInput<crate::text::Owned>,
15204                ) {
15205                    crate::traits::SetterInput::set_pointer_builder(
15206                        self.builder.reborrow().get_pointer_field(0),
15207                        value,
15208                        false,
15209                    )
15210                    .unwrap()
15211                }
15212                #[inline]
15213                pub fn init_name(self, size: u32) -> crate::text::Builder<'a> {
15214                    self.builder.get_pointer_field(0).init_text(size)
15215                }
15216                #[inline]
15217                pub fn has_name(&self) -> bool {
15218                    !self.builder.is_pointer_field_null(0)
15219                }
15220            }
15221
15222            pub struct Pipeline {
15223                _typeless: crate::any_pointer::Pipeline,
15224            }
15225            impl crate::capability::FromTypelessPipeline for Pipeline {
15226                fn new(typeless: crate::any_pointer::Pipeline) -> Self {
15227                    Self {
15228                        _typeless: typeless,
15229                    }
15230                }
15231            }
15232            impl Pipeline {}
15233            mod _private {
15234                pub(crate) static ENCODED_NODE: [crate::Word; 52] = [
15235                    crate::word(0, 0, 0, 0, 6, 0, 6, 0),
15236                    crate::word(229, 87, 35, 18, 147, 65, 80, 174),
15237                    crate::word(48, 0, 0, 0, 1, 0, 1, 0),
15238                    crate::word(98, 0, 129, 46, 176, 14, 234, 207),
15239                    crate::word(1, 0, 7, 0, 0, 0, 0, 0),
15240                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15241                    crate::word(132, 75, 0, 0, 156, 77, 0, 0),
15242                    crate::word(21, 0, 0, 0, 186, 1, 0, 0),
15243                    crate::word(45, 0, 0, 0, 7, 0, 0, 0),
15244                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15245                    crate::word(41, 0, 0, 0, 119, 0, 0, 0),
15246                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15247                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15248                    crate::word(115, 99, 104, 101, 109, 97, 46, 99),
15249                    crate::word(97, 112, 110, 112, 58, 67, 111, 100),
15250                    crate::word(101, 71, 101, 110, 101, 114, 97, 116),
15251                    crate::word(111, 114, 82, 101, 113, 117, 101, 115),
15252                    crate::word(116, 46, 82, 101, 113, 117, 101, 115),
15253                    crate::word(116, 101, 100, 70, 105, 108, 101, 46),
15254                    crate::word(73, 109, 112, 111, 114, 116, 0, 0),
15255                    crate::word(0, 0, 0, 0, 1, 0, 1, 0),
15256                    crate::word(8, 0, 0, 0, 3, 0, 4, 0),
15257                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15258                    crate::word(0, 0, 1, 0, 0, 0, 0, 0),
15259                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15260                    crate::word(41, 0, 0, 0, 26, 0, 0, 0),
15261                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15262                    crate::word(36, 0, 0, 0, 3, 0, 1, 0),
15263                    crate::word(48, 0, 0, 0, 2, 0, 1, 0),
15264                    crate::word(1, 0, 0, 0, 0, 0, 0, 0),
15265                    crate::word(0, 0, 1, 0, 1, 0, 0, 0),
15266                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15267                    crate::word(45, 0, 0, 0, 42, 0, 0, 0),
15268                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15269                    crate::word(40, 0, 0, 0, 3, 0, 1, 0),
15270                    crate::word(52, 0, 0, 0, 2, 0, 1, 0),
15271                    crate::word(105, 100, 0, 0, 0, 0, 0, 0),
15272                    crate::word(9, 0, 0, 0, 0, 0, 0, 0),
15273                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15274                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15275                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15276                    crate::word(9, 0, 0, 0, 0, 0, 0, 0),
15277                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15278                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15279                    crate::word(110, 97, 109, 101, 0, 0, 0, 0),
15280                    crate::word(12, 0, 0, 0, 0, 0, 0, 0),
15281                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15282                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15283                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15284                    crate::word(12, 0, 0, 0, 0, 0, 0, 0),
15285                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15286                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15287                ];
15288                pub(crate) fn get_field_types(index: u16) -> crate::introspect::Type {
15289                    match index {
15290                        0 => <u64 as crate::introspect::Introspect>::introspect(),
15291                        1 => <crate::text::Owned as crate::introspect::Introspect>::introspect(),
15292                        _ => crate::introspect::panic_invalid_field_index(index),
15293                    }
15294                }
15295                pub(crate) fn get_annotation_types(
15296                    child_index: Option<u16>,
15297                    index: u32,
15298                ) -> crate::introspect::Type {
15299                    crate::introspect::panic_invalid_annotation_indices(child_index, index)
15300                }
15301                pub(crate) static ARENA: crate::private::arena::GeneratedCodeArena =
15302                    crate::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
15303                pub(crate) static RAW_SCHEMA: crate::introspect::RawStructSchema =
15304                    crate::introspect::RawStructSchema::new(
15305                        &ARENA,
15306                        NONUNION_MEMBERS,
15307                        MEMBERS_BY_DISCRIMINANT,
15308                        MEMBERS_BY_NAME,
15309                    );
15310                pub(crate) static NONUNION_MEMBERS: &[u16] = &[0, 1];
15311                pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[];
15312                pub(crate) static MEMBERS_BY_NAME: &[u16] = &[0, 1];
15313                pub(crate) const TYPE_ID: u64 = 0xae50_4193_1223_57e5;
15314            }
15315        }
15316
15317        pub mod file_source_info {
15318            #[derive(Copy, Clone)]
15319            pub struct Owned(());
15320            impl crate::introspect::Introspect for Owned {
15321                fn introspect() -> crate::introspect::Type {
15322                    crate::introspect::TypeVariant::Struct(
15323                        crate::introspect::RawBrandedStructSchema {
15324                            generic: &_private::RAW_SCHEMA,
15325                            field_types: _private::get_field_types,
15326                            annotation_types: _private::get_annotation_types,
15327                            type_id: ::core::any::TypeId::of::<Owned>(),
15328                        },
15329                    )
15330                    .into()
15331                }
15332            }
15333            impl crate::traits::Owned for Owned {
15334                type Reader<'a> = Reader<'a>;
15335                type Builder<'a> = Builder<'a>;
15336            }
15337            impl crate::traits::OwnedStruct for Owned {
15338                type Reader<'a> = Reader<'a>;
15339                type Builder<'a> = Builder<'a>;
15340            }
15341            impl crate::traits::Pipelined for Owned {
15342                type Pipeline = Pipeline;
15343            }
15344
15345            pub struct Reader<'a> {
15346                reader: crate::private::layout::StructReader<'a>,
15347            }
15348            impl ::core::marker::Copy for Reader<'_> {}
15349            impl ::core::clone::Clone for Reader<'_> {
15350                fn clone(&self) -> Self {
15351                    *self
15352                }
15353            }
15354
15355            impl crate::traits::HasTypeId for Reader<'_> {
15356                const TYPE_ID: u64 = _private::TYPE_ID;
15357            }
15358            impl<'a> ::core::convert::From<crate::private::layout::StructReader<'a>> for Reader<'a> {
15359                fn from(reader: crate::private::layout::StructReader<'a>) -> Self {
15360                    Self { reader }
15361                }
15362            }
15363
15364            impl<'a> ::core::convert::From<Reader<'a>> for crate::dynamic_value::Reader<'a> {
15365                fn from(reader: Reader<'a>) -> Self {
15366                    Self::Struct(crate::dynamic_struct::Reader::new(
15367                        reader.reader,
15368                        crate::schema::StructSchema::new(
15369                            crate::introspect::RawBrandedStructSchema {
15370                                generic: &_private::RAW_SCHEMA,
15371                                field_types: _private::get_field_types,
15372                                annotation_types: _private::get_annotation_types,
15373                                type_id: ::core::any::TypeId::of::<Owned>(),
15374                            },
15375                        ),
15376                    ))
15377                }
15378            }
15379
15380            impl ::core::fmt::Debug for Reader<'_> {
15381                fn fmt(
15382                    &self,
15383                    f: &mut ::core::fmt::Formatter<'_>,
15384                ) -> ::core::result::Result<(), ::core::fmt::Error> {
15385                    core::fmt::Debug::fmt(
15386                        &::core::convert::Into::<crate::dynamic_value::Reader<'_>>::into(*self),
15387                        f,
15388                    )
15389                }
15390            }
15391
15392            impl<'a> crate::traits::FromPointerReader<'a> for Reader<'a> {
15393                fn get_from_pointer(
15394                    reader: &crate::private::layout::PointerReader<'a>,
15395                    default: ::core::option::Option<&'a [crate::Word]>,
15396                ) -> crate::Result<Self> {
15397                    ::core::result::Result::Ok(reader.get_struct(default)?.into())
15398                }
15399            }
15400
15401            impl<'a> crate::traits::IntoInternalStructReader<'a> for Reader<'a> {
15402                fn into_internal_struct_reader(self) -> crate::private::layout::StructReader<'a> {
15403                    self.reader
15404                }
15405            }
15406
15407            impl<'a> crate::traits::Imbue<'a> for Reader<'a> {
15408                fn imbue(&mut self, cap_table: &'a crate::private::layout::CapTable) {
15409                    self.reader
15410                        .imbue(crate::private::layout::CapTableReader::from_ref(cap_table))
15411                }
15412            }
15413
15414            impl<'a> Reader<'a> {
15415                pub fn reborrow(&self) -> Reader<'_> {
15416                    Self { ..*self }
15417                }
15418
15419                pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
15420                    self.reader.total_size()
15421                }
15422                #[inline]
15423                pub fn get_identifiers(self) -> crate::Result<crate::struct_list::Reader<'a,crate::schema_capnp::code_generator_request::requested_file::file_source_info::identifier::Owned>>{
15424                    crate::traits::FromPointerReader::get_from_pointer(
15425                        &self.reader.get_pointer_field(0),
15426                        ::core::option::Option::None,
15427                    )
15428                }
15429                #[inline]
15430                pub fn has_identifiers(&self) -> bool {
15431                    !self.reader.get_pointer_field(0).is_null()
15432                }
15433            }
15434
15435            pub struct Builder<'a> {
15436                builder: crate::private::layout::StructBuilder<'a>,
15437            }
15438            impl crate::traits::HasStructSize for Builder<'_> {
15439                const STRUCT_SIZE: crate::private::layout::StructSize =
15440                    crate::private::layout::StructSize {
15441                        data: 0,
15442                        pointers: 1,
15443                    };
15444            }
15445            impl crate::traits::HasTypeId for Builder<'_> {
15446                const TYPE_ID: u64 = _private::TYPE_ID;
15447            }
15448            impl<'a> ::core::convert::From<crate::private::layout::StructBuilder<'a>> for Builder<'a> {
15449                fn from(builder: crate::private::layout::StructBuilder<'a>) -> Self {
15450                    Self { builder }
15451                }
15452            }
15453
15454            impl<'a> crate::traits::IntoInternalStructBuilder<'a> for Builder<'a> {
15455                fn into_internal_struct_builder(self) -> crate::private::layout::StructBuilder<'a> {
15456                    self.builder
15457                }
15458            }
15459
15460            impl<'a> ::core::convert::From<Builder<'a>> for crate::dynamic_value::Builder<'a> {
15461                fn from(builder: Builder<'a>) -> Self {
15462                    Self::Struct(crate::dynamic_struct::Builder::new(
15463                        builder.builder,
15464                        crate::schema::StructSchema::new(
15465                            crate::introspect::RawBrandedStructSchema {
15466                                generic: &_private::RAW_SCHEMA,
15467                                field_types: _private::get_field_types,
15468                                annotation_types: _private::get_annotation_types,
15469                                type_id: ::core::any::TypeId::of::<Owned>(),
15470                            },
15471                        ),
15472                    ))
15473                }
15474            }
15475
15476            impl<'a> crate::traits::ImbueMut<'a> for Builder<'a> {
15477                fn imbue_mut(&mut self, cap_table: &'a mut crate::private::layout::CapTable) {
15478                    self.builder
15479                        .imbue(crate::private::layout::CapTableBuilder::from_ref(cap_table))
15480                }
15481            }
15482
15483            impl<'a> crate::traits::FromPointerBuilder<'a> for Builder<'a> {
15484                fn init_pointer(
15485                    builder: crate::private::layout::PointerBuilder<'a>,
15486                    _size: u32,
15487                ) -> Self {
15488                    builder
15489                        .init_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE)
15490                        .into()
15491                }
15492                fn get_from_pointer(
15493                    builder: crate::private::layout::PointerBuilder<'a>,
15494                    default: ::core::option::Option<&'a [crate::Word]>,
15495                ) -> crate::Result<Self> {
15496                    ::core::result::Result::Ok(
15497                        builder
15498                            .get_struct(
15499                                <Self as crate::traits::HasStructSize>::STRUCT_SIZE,
15500                                default,
15501                            )?
15502                            .into(),
15503                    )
15504                }
15505            }
15506
15507            impl crate::traits::SetterInput<Owned> for Reader<'_> {
15508                fn set_pointer_builder(
15509                    mut pointer: crate::private::layout::PointerBuilder<'_>,
15510                    value: Self,
15511                    canonicalize: bool,
15512                ) -> crate::Result<()> {
15513                    pointer.set_struct(&value.reader, canonicalize)
15514                }
15515            }
15516
15517            impl<'a> Builder<'a> {
15518                pub fn into_reader(self) -> Reader<'a> {
15519                    self.builder.into_reader().into()
15520                }
15521                pub fn reborrow(&mut self) -> Builder<'_> {
15522                    Builder {
15523                        builder: self.builder.reborrow(),
15524                    }
15525                }
15526                pub fn reborrow_as_reader(&self) -> Reader<'_> {
15527                    self.builder.as_reader().into()
15528                }
15529
15530                pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
15531                    self.builder.as_reader().total_size()
15532                }
15533                #[inline]
15534                pub fn get_identifiers(self) -> crate::Result<crate::struct_list::Builder<'a,crate::schema_capnp::code_generator_request::requested_file::file_source_info::identifier::Owned>>{
15535                    crate::traits::FromPointerBuilder::get_from_pointer(
15536                        self.builder.get_pointer_field(0),
15537                        ::core::option::Option::None,
15538                    )
15539                }
15540                #[inline]
15541                pub fn set_identifiers(
15542                    &mut self,
15543                    value: crate::struct_list::Reader<'_,crate::schema_capnp::code_generator_request::requested_file::file_source_info::identifier::Owned>,
15544                ) -> crate::Result<()> {
15545                    crate::traits::SetterInput::set_pointer_builder(
15546                        self.builder.reborrow().get_pointer_field(0),
15547                        value,
15548                        false,
15549                    )
15550                }
15551                #[inline]
15552                pub fn init_identifiers(self, size: u32) -> crate::struct_list::Builder<'a,crate::schema_capnp::code_generator_request::requested_file::file_source_info::identifier::Owned>{
15553                    crate::traits::FromPointerBuilder::init_pointer(
15554                        self.builder.get_pointer_field(0),
15555                        size,
15556                    )
15557                }
15558                #[inline]
15559                pub fn has_identifiers(&self) -> bool {
15560                    !self.builder.is_pointer_field_null(0)
15561                }
15562            }
15563
15564            pub struct Pipeline {
15565                _typeless: crate::any_pointer::Pipeline,
15566            }
15567            impl crate::capability::FromTypelessPipeline for Pipeline {
15568                fn new(typeless: crate::any_pointer::Pipeline) -> Self {
15569                    Self {
15570                        _typeless: typeless,
15571                    }
15572                }
15573            }
15574            impl Pipeline {}
15575            mod _private {
15576                pub(crate) static ENCODED_NODE: [crate::Word; 47] = [
15577                    crate::word(0, 0, 0, 0, 6, 0, 6, 0),
15578                    crate::word(160, 93, 146, 118, 241, 43, 234, 248),
15579                    crate::word(48, 0, 0, 0, 1, 0, 0, 0),
15580                    crate::word(98, 0, 129, 46, 176, 14, 234, 207),
15581                    crate::word(1, 0, 7, 0, 0, 0, 0, 0),
15582                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15583                    crate::word(201, 77, 0, 0, 132, 79, 0, 0),
15584                    crate::word(21, 0, 0, 0, 250, 1, 0, 0),
15585                    crate::word(49, 0, 0, 0, 23, 0, 0, 0),
15586                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15587                    crate::word(61, 0, 0, 0, 63, 0, 0, 0),
15588                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15589                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15590                    crate::word(115, 99, 104, 101, 109, 97, 46, 99),
15591                    crate::word(97, 112, 110, 112, 58, 67, 111, 100),
15592                    crate::word(101, 71, 101, 110, 101, 114, 97, 116),
15593                    crate::word(111, 114, 82, 101, 113, 117, 101, 115),
15594                    crate::word(116, 46, 82, 101, 113, 117, 101, 115),
15595                    crate::word(116, 101, 100, 70, 105, 108, 101, 46),
15596                    crate::word(70, 105, 108, 101, 83, 111, 117, 114),
15597                    crate::word(99, 101, 73, 110, 102, 111, 0, 0),
15598                    crate::word(4, 0, 0, 0, 1, 0, 1, 0),
15599                    crate::word(187, 153, 4, 46, 137, 25, 167, 221),
15600                    crate::word(1, 0, 0, 0, 90, 0, 0, 0),
15601                    crate::word(73, 100, 101, 110, 116, 105, 102, 105),
15602                    crate::word(101, 114, 0, 0, 0, 0, 0, 0),
15603                    crate::word(4, 0, 0, 0, 3, 0, 4, 0),
15604                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15605                    crate::word(0, 0, 1, 0, 0, 0, 0, 0),
15606                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15607                    crate::word(13, 0, 0, 0, 98, 0, 0, 0),
15608                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15609                    crate::word(12, 0, 0, 0, 3, 0, 1, 0),
15610                    crate::word(40, 0, 0, 0, 2, 0, 1, 0),
15611                    crate::word(105, 100, 101, 110, 116, 105, 102, 105),
15612                    crate::word(101, 114, 115, 0, 0, 0, 0, 0),
15613                    crate::word(14, 0, 0, 0, 0, 0, 0, 0),
15614                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15615                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15616                    crate::word(0, 0, 0, 0, 3, 0, 1, 0),
15617                    crate::word(16, 0, 0, 0, 0, 0, 0, 0),
15618                    crate::word(187, 153, 4, 46, 137, 25, 167, 221),
15619                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15620                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15621                    crate::word(14, 0, 0, 0, 0, 0, 0, 0),
15622                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15623                    crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15624                ];
15625                pub(crate) fn get_field_types(index: u16) -> crate::introspect::Type {
15626                    match index {
15627                        0 => <crate::struct_list::Owned<crate::schema_capnp::code_generator_request::requested_file::file_source_info::identifier::Owned> as crate::introspect::Introspect>::introspect(),
15628                        _ => crate::introspect::panic_invalid_field_index(index),
15629                    }
15630                }
15631                pub(crate) fn get_annotation_types(
15632                    child_index: Option<u16>,
15633                    index: u32,
15634                ) -> crate::introspect::Type {
15635                    crate::introspect::panic_invalid_annotation_indices(child_index, index)
15636                }
15637                pub(crate) static ARENA: crate::private::arena::GeneratedCodeArena =
15638                    crate::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
15639                pub(crate) static RAW_SCHEMA: crate::introspect::RawStructSchema =
15640                    crate::introspect::RawStructSchema::new(
15641                        &ARENA,
15642                        NONUNION_MEMBERS,
15643                        MEMBERS_BY_DISCRIMINANT,
15644                        MEMBERS_BY_NAME,
15645                    );
15646                pub(crate) static NONUNION_MEMBERS: &[u16] = &[0];
15647                pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[];
15648                pub(crate) static MEMBERS_BY_NAME: &[u16] = &[0];
15649                pub(crate) const TYPE_ID: u64 = 0xf8ea_2bf1_7692_5da0;
15650            }
15651
15652            pub mod identifier {
15653                pub use self::Which::{Member, TypeId};
15654
15655                #[derive(Copy, Clone)]
15656                pub struct Owned(());
15657                impl crate::introspect::Introspect for Owned {
15658                    fn introspect() -> crate::introspect::Type {
15659                        crate::introspect::TypeVariant::Struct(
15660                            crate::introspect::RawBrandedStructSchema {
15661                                generic: &_private::RAW_SCHEMA,
15662                                field_types: _private::get_field_types,
15663                                annotation_types: _private::get_annotation_types,
15664                                type_id: ::core::any::TypeId::of::<Owned>(),
15665                            },
15666                        )
15667                        .into()
15668                    }
15669                }
15670                impl crate::traits::Owned for Owned {
15671                    type Reader<'a> = Reader<'a>;
15672                    type Builder<'a> = Builder<'a>;
15673                }
15674                impl crate::traits::OwnedStruct for Owned {
15675                    type Reader<'a> = Reader<'a>;
15676                    type Builder<'a> = Builder<'a>;
15677                }
15678                impl crate::traits::Pipelined for Owned {
15679                    type Pipeline = Pipeline;
15680                }
15681
15682                pub struct Reader<'a> {
15683                    reader: crate::private::layout::StructReader<'a>,
15684                }
15685                impl ::core::marker::Copy for Reader<'_> {}
15686                impl ::core::clone::Clone for Reader<'_> {
15687                    fn clone(&self) -> Self {
15688                        *self
15689                    }
15690                }
15691
15692                impl crate::traits::HasTypeId for Reader<'_> {
15693                    const TYPE_ID: u64 = _private::TYPE_ID;
15694                }
15695                impl<'a> ::core::convert::From<crate::private::layout::StructReader<'a>> for Reader<'a> {
15696                    fn from(reader: crate::private::layout::StructReader<'a>) -> Self {
15697                        Self { reader }
15698                    }
15699                }
15700
15701                impl<'a> ::core::convert::From<Reader<'a>> for crate::dynamic_value::Reader<'a> {
15702                    fn from(reader: Reader<'a>) -> Self {
15703                        Self::Struct(crate::dynamic_struct::Reader::new(
15704                            reader.reader,
15705                            crate::schema::StructSchema::new(
15706                                crate::introspect::RawBrandedStructSchema {
15707                                    generic: &_private::RAW_SCHEMA,
15708                                    field_types: _private::get_field_types,
15709                                    annotation_types: _private::get_annotation_types,
15710                                    type_id: ::core::any::TypeId::of::<Owned>(),
15711                                },
15712                            ),
15713                        ))
15714                    }
15715                }
15716
15717                impl ::core::fmt::Debug for Reader<'_> {
15718                    fn fmt(
15719                        &self,
15720                        f: &mut ::core::fmt::Formatter<'_>,
15721                    ) -> ::core::result::Result<(), ::core::fmt::Error> {
15722                        core::fmt::Debug::fmt(
15723                            &::core::convert::Into::<crate::dynamic_value::Reader<'_>>::into(*self),
15724                            f,
15725                        )
15726                    }
15727                }
15728
15729                impl<'a> crate::traits::FromPointerReader<'a> for Reader<'a> {
15730                    fn get_from_pointer(
15731                        reader: &crate::private::layout::PointerReader<'a>,
15732                        default: ::core::option::Option<&'a [crate::Word]>,
15733                    ) -> crate::Result<Self> {
15734                        ::core::result::Result::Ok(reader.get_struct(default)?.into())
15735                    }
15736                }
15737
15738                impl<'a> crate::traits::IntoInternalStructReader<'a> for Reader<'a> {
15739                    fn into_internal_struct_reader(
15740                        self,
15741                    ) -> crate::private::layout::StructReader<'a> {
15742                        self.reader
15743                    }
15744                }
15745
15746                impl<'a> crate::traits::Imbue<'a> for Reader<'a> {
15747                    fn imbue(&mut self, cap_table: &'a crate::private::layout::CapTable) {
15748                        self.reader
15749                            .imbue(crate::private::layout::CapTableReader::from_ref(cap_table))
15750                    }
15751                }
15752
15753                impl<'a> Reader<'a> {
15754                    pub fn reborrow(&self) -> Reader<'_> {
15755                        Self { ..*self }
15756                    }
15757
15758                    pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
15759                        self.reader.total_size()
15760                    }
15761                    #[inline]
15762                    pub fn get_start_byte(self) -> u32 {
15763                        self.reader.get_data_field::<u32>(0)
15764                    }
15765                    #[inline]
15766                    pub fn get_end_byte(self) -> u32 {
15767                        self.reader.get_data_field::<u32>(1)
15768                    }
15769                    #[inline]
15770                    pub fn which(
15771                        self,
15772                    ) -> ::core::result::Result<WhichReader<'a>, crate::NotInSchema>
15773                    {
15774                        match self.reader.get_data_field::<u16>(8) {
15775                            0 => ::core::result::Result::Ok(TypeId(
15776                                self.reader.get_data_field::<u64>(1),
15777                            )),
15778                            1 => ::core::result::Result::Ok(Member(self.reader.into())),
15779                            x => ::core::result::Result::Err(crate::NotInSchema(x)),
15780                        }
15781                    }
15782                }
15783
15784                pub struct Builder<'a> {
15785                    builder: crate::private::layout::StructBuilder<'a>,
15786                }
15787                impl crate::traits::HasStructSize for Builder<'_> {
15788                    const STRUCT_SIZE: crate::private::layout::StructSize =
15789                        crate::private::layout::StructSize {
15790                            data: 3,
15791                            pointers: 0,
15792                        };
15793                }
15794                impl crate::traits::HasTypeId for Builder<'_> {
15795                    const TYPE_ID: u64 = _private::TYPE_ID;
15796                }
15797                impl<'a> ::core::convert::From<crate::private::layout::StructBuilder<'a>> for Builder<'a> {
15798                    fn from(builder: crate::private::layout::StructBuilder<'a>) -> Self {
15799                        Self { builder }
15800                    }
15801                }
15802
15803                impl<'a> crate::traits::IntoInternalStructBuilder<'a> for Builder<'a> {
15804                    fn into_internal_struct_builder(
15805                        self,
15806                    ) -> crate::private::layout::StructBuilder<'a> {
15807                        self.builder
15808                    }
15809                }
15810
15811                impl<'a> ::core::convert::From<Builder<'a>> for crate::dynamic_value::Builder<'a> {
15812                    fn from(builder: Builder<'a>) -> Self {
15813                        Self::Struct(crate::dynamic_struct::Builder::new(
15814                            builder.builder,
15815                            crate::schema::StructSchema::new(
15816                                crate::introspect::RawBrandedStructSchema {
15817                                    generic: &_private::RAW_SCHEMA,
15818                                    field_types: _private::get_field_types,
15819                                    annotation_types: _private::get_annotation_types,
15820                                    type_id: ::core::any::TypeId::of::<Owned>(),
15821                                },
15822                            ),
15823                        ))
15824                    }
15825                }
15826
15827                impl<'a> crate::traits::ImbueMut<'a> for Builder<'a> {
15828                    fn imbue_mut(&mut self, cap_table: &'a mut crate::private::layout::CapTable) {
15829                        self.builder
15830                            .imbue(crate::private::layout::CapTableBuilder::from_ref(cap_table))
15831                    }
15832                }
15833
15834                impl<'a> crate::traits::FromPointerBuilder<'a> for Builder<'a> {
15835                    fn init_pointer(
15836                        builder: crate::private::layout::PointerBuilder<'a>,
15837                        _size: u32,
15838                    ) -> Self {
15839                        builder
15840                            .init_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE)
15841                            .into()
15842                    }
15843                    fn get_from_pointer(
15844                        builder: crate::private::layout::PointerBuilder<'a>,
15845                        default: ::core::option::Option<&'a [crate::Word]>,
15846                    ) -> crate::Result<Self> {
15847                        ::core::result::Result::Ok(
15848                            builder
15849                                .get_struct(
15850                                    <Self as crate::traits::HasStructSize>::STRUCT_SIZE,
15851                                    default,
15852                                )?
15853                                .into(),
15854                        )
15855                    }
15856                }
15857
15858                impl crate::traits::SetterInput<Owned> for Reader<'_> {
15859                    fn set_pointer_builder(
15860                        mut pointer: crate::private::layout::PointerBuilder<'_>,
15861                        value: Self,
15862                        canonicalize: bool,
15863                    ) -> crate::Result<()> {
15864                        pointer.set_struct(&value.reader, canonicalize)
15865                    }
15866                }
15867
15868                impl<'a> Builder<'a> {
15869                    pub fn into_reader(self) -> Reader<'a> {
15870                        self.builder.into_reader().into()
15871                    }
15872                    pub fn reborrow(&mut self) -> Builder<'_> {
15873                        Builder {
15874                            builder: self.builder.reborrow(),
15875                        }
15876                    }
15877                    pub fn reborrow_as_reader(&self) -> Reader<'_> {
15878                        self.builder.as_reader().into()
15879                    }
15880
15881                    pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
15882                        self.builder.as_reader().total_size()
15883                    }
15884                    #[inline]
15885                    pub fn get_start_byte(self) -> u32 {
15886                        self.builder.get_data_field::<u32>(0)
15887                    }
15888                    #[inline]
15889                    pub fn set_start_byte(&mut self, value: u32) {
15890                        self.builder.set_data_field::<u32>(0, value);
15891                    }
15892                    #[inline]
15893                    pub fn get_end_byte(self) -> u32 {
15894                        self.builder.get_data_field::<u32>(1)
15895                    }
15896                    #[inline]
15897                    pub fn set_end_byte(&mut self, value: u32) {
15898                        self.builder.set_data_field::<u32>(1, value);
15899                    }
15900                    #[inline]
15901                    pub fn set_type_id(&mut self, value: u64) {
15902                        self.builder.set_data_field::<u16>(8, 0);
15903                        self.builder.set_data_field::<u64>(1, value);
15904                    }
15905                    #[inline]
15906                    pub fn init_member(self) -> crate::schema_capnp::code_generator_request::requested_file::file_source_info::identifier::member::Builder<'a>{
15907                        self.builder.set_data_field::<u16>(8, 1);
15908                        self.builder.set_data_field::<u64>(1, 0u64);
15909                        self.builder.set_data_field::<u16>(9, 0u16);
15910                        self.builder.into()
15911                    }
15912                    #[inline]
15913                    pub fn which(
15914                        self,
15915                    ) -> ::core::result::Result<WhichBuilder<'a>, crate::NotInSchema>
15916                    {
15917                        match self.builder.get_data_field::<u16>(8) {
15918                            0 => ::core::result::Result::Ok(TypeId(
15919                                self.builder.get_data_field::<u64>(1),
15920                            )),
15921                            1 => ::core::result::Result::Ok(Member(self.builder.into())),
15922                            x => ::core::result::Result::Err(crate::NotInSchema(x)),
15923                        }
15924                    }
15925                }
15926
15927                pub struct Pipeline {
15928                    _typeless: crate::any_pointer::Pipeline,
15929                }
15930                impl crate::capability::FromTypelessPipeline for Pipeline {
15931                    fn new(typeless: crate::any_pointer::Pipeline) -> Self {
15932                        Self {
15933                            _typeless: typeless,
15934                        }
15935                    }
15936                }
15937                impl Pipeline {}
15938                mod _private {
15939                    pub(crate) static ENCODED_NODE: [crate::Word; 79] = [
15940                        crate::word(0, 0, 0, 0, 6, 0, 6, 0),
15941                        crate::word(187, 153, 4, 46, 137, 25, 167, 221),
15942                        crate::word(63, 0, 0, 0, 1, 0, 3, 0),
15943                        crate::word(160, 93, 146, 118, 241, 43, 234, 248),
15944                        crate::word(0, 0, 7, 0, 0, 0, 2, 0),
15945                        crate::word(8, 0, 0, 0, 0, 0, 0, 0),
15946                        crate::word(16, 78, 0, 0, 126, 79, 0, 0),
15947                        crate::word(21, 0, 0, 0, 82, 2, 0, 0),
15948                        crate::word(57, 0, 0, 0, 7, 0, 0, 0),
15949                        crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15950                        crate::word(53, 0, 0, 0, 231, 0, 0, 0),
15951                        crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15952                        crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15953                        crate::word(115, 99, 104, 101, 109, 97, 46, 99),
15954                        crate::word(97, 112, 110, 112, 58, 67, 111, 100),
15955                        crate::word(101, 71, 101, 110, 101, 114, 97, 116),
15956                        crate::word(111, 114, 82, 101, 113, 117, 101, 115),
15957                        crate::word(116, 46, 82, 101, 113, 117, 101, 115),
15958                        crate::word(116, 101, 100, 70, 105, 108, 101, 46),
15959                        crate::word(70, 105, 108, 101, 83, 111, 117, 114),
15960                        crate::word(99, 101, 73, 110, 102, 111, 46, 73),
15961                        crate::word(100, 101, 110, 116, 105, 102, 105, 101),
15962                        crate::word(114, 0, 0, 0, 0, 0, 0, 0),
15963                        crate::word(0, 0, 0, 0, 1, 0, 1, 0),
15964                        crate::word(16, 0, 0, 0, 3, 0, 4, 0),
15965                        crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15966                        crate::word(0, 0, 1, 0, 0, 0, 0, 0),
15967                        crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15968                        crate::word(97, 0, 0, 0, 82, 0, 0, 0),
15969                        crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15970                        crate::word(96, 0, 0, 0, 3, 0, 1, 0),
15971                        crate::word(108, 0, 0, 0, 2, 0, 1, 0),
15972                        crate::word(1, 0, 0, 0, 1, 0, 0, 0),
15973                        crate::word(0, 0, 1, 0, 1, 0, 0, 0),
15974                        crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15975                        crate::word(105, 0, 0, 0, 66, 0, 0, 0),
15976                        crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15977                        crate::word(100, 0, 0, 0, 3, 0, 1, 0),
15978                        crate::word(112, 0, 0, 0, 2, 0, 1, 0),
15979                        crate::word(2, 0, 255, 255, 1, 0, 0, 0),
15980                        crate::word(0, 0, 1, 0, 2, 0, 0, 0),
15981                        crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15982                        crate::word(109, 0, 0, 0, 58, 0, 0, 0),
15983                        crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15984                        crate::word(104, 0, 0, 0, 3, 0, 1, 0),
15985                        crate::word(116, 0, 0, 0, 2, 0, 1, 0),
15986                        crate::word(3, 0, 254, 255, 0, 0, 0, 0),
15987                        crate::word(1, 0, 0, 0, 0, 0, 0, 0),
15988                        crate::word(81, 161, 48, 214, 225, 213, 105, 252),
15989                        crate::word(113, 0, 0, 0, 58, 0, 0, 0),
15990                        crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15991                        crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15992                        crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15993                        crate::word(115, 116, 97, 114, 116, 66, 121, 116),
15994                        crate::word(101, 0, 0, 0, 0, 0, 0, 0),
15995                        crate::word(8, 0, 0, 0, 0, 0, 0, 0),
15996                        crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15997                        crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15998                        crate::word(0, 0, 0, 0, 0, 0, 0, 0),
15999                        crate::word(8, 0, 0, 0, 0, 0, 0, 0),
16000                        crate::word(0, 0, 0, 0, 0, 0, 0, 0),
16001                        crate::word(0, 0, 0, 0, 0, 0, 0, 0),
16002                        crate::word(101, 110, 100, 66, 121, 116, 101, 0),
16003                        crate::word(8, 0, 0, 0, 0, 0, 0, 0),
16004                        crate::word(0, 0, 0, 0, 0, 0, 0, 0),
16005                        crate::word(0, 0, 0, 0, 0, 0, 0, 0),
16006                        crate::word(0, 0, 0, 0, 0, 0, 0, 0),
16007                        crate::word(8, 0, 0, 0, 0, 0, 0, 0),
16008                        crate::word(0, 0, 0, 0, 0, 0, 0, 0),
16009                        crate::word(0, 0, 0, 0, 0, 0, 0, 0),
16010                        crate::word(116, 121, 112, 101, 73, 100, 0, 0),
16011                        crate::word(9, 0, 0, 0, 0, 0, 0, 0),
16012                        crate::word(0, 0, 0, 0, 0, 0, 0, 0),
16013                        crate::word(0, 0, 0, 0, 0, 0, 0, 0),
16014                        crate::word(0, 0, 0, 0, 0, 0, 0, 0),
16015                        crate::word(9, 0, 0, 0, 0, 0, 0, 0),
16016                        crate::word(0, 0, 0, 0, 0, 0, 0, 0),
16017                        crate::word(0, 0, 0, 0, 0, 0, 0, 0),
16018                        crate::word(109, 101, 109, 98, 101, 114, 0, 0),
16019                    ];
16020                    pub(crate) fn get_field_types(index: u16) -> crate::introspect::Type {
16021                        match index {
16022                            0 => <u32 as crate::introspect::Introspect>::introspect(),
16023                            1 => <u32 as crate::introspect::Introspect>::introspect(),
16024                            2 => <u64 as crate::introspect::Introspect>::introspect(),
16025                            3 => <crate::schema_capnp::code_generator_request::requested_file::file_source_info::identifier::member::Owned as crate::introspect::Introspect>::introspect(),
16026                            _ => crate::introspect::panic_invalid_field_index(index),
16027                        }
16028                    }
16029                    pub(crate) fn get_annotation_types(
16030                        child_index: Option<u16>,
16031                        index: u32,
16032                    ) -> crate::introspect::Type {
16033                        crate::introspect::panic_invalid_annotation_indices(child_index, index)
16034                    }
16035                    pub(crate) static ARENA: crate::private::arena::GeneratedCodeArena =
16036                        crate::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
16037                    pub(crate) static RAW_SCHEMA: crate::introspect::RawStructSchema =
16038                        crate::introspect::RawStructSchema::new(
16039                            &ARENA,
16040                            NONUNION_MEMBERS,
16041                            MEMBERS_BY_DISCRIMINANT,
16042                            MEMBERS_BY_NAME,
16043                        );
16044                    pub(crate) static NONUNION_MEMBERS: &[u16] = &[0, 1];
16045                    pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[2, 3];
16046                    pub(crate) static MEMBERS_BY_NAME: &[u16] = &[1, 3, 0, 2];
16047                    pub(crate) const TYPE_ID: u64 = 0xdda7_1989_2e04_99bb;
16048                }
16049                pub enum Which<A0> {
16050                    TypeId(u64),
16051                    Member(A0),
16052                }
16053                pub type WhichReader<'a,> = Which<crate::schema_capnp::code_generator_request::requested_file::file_source_info::identifier::member::Reader<'a>>;
16054                pub type WhichBuilder<'a,> = Which<crate::schema_capnp::code_generator_request::requested_file::file_source_info::identifier::member::Builder<'a>>;
16055
16056                pub mod member {
16057                    #[derive(Copy, Clone)]
16058                    pub struct Owned(());
16059                    impl crate::introspect::Introspect for Owned {
16060                        fn introspect() -> crate::introspect::Type {
16061                            crate::introspect::TypeVariant::Struct(
16062                                crate::introspect::RawBrandedStructSchema {
16063                                    generic: &_private::RAW_SCHEMA,
16064                                    field_types: _private::get_field_types,
16065                                    annotation_types: _private::get_annotation_types,
16066                                    type_id: ::core::any::TypeId::of::<Owned>(),
16067                                },
16068                            )
16069                            .into()
16070                        }
16071                    }
16072                    impl crate::traits::Owned for Owned {
16073                        type Reader<'a> = Reader<'a>;
16074                        type Builder<'a> = Builder<'a>;
16075                    }
16076                    impl crate::traits::OwnedStruct for Owned {
16077                        type Reader<'a> = Reader<'a>;
16078                        type Builder<'a> = Builder<'a>;
16079                    }
16080                    impl crate::traits::Pipelined for Owned {
16081                        type Pipeline = Pipeline;
16082                    }
16083
16084                    pub struct Reader<'a> {
16085                        reader: crate::private::layout::StructReader<'a>,
16086                    }
16087                    impl ::core::marker::Copy for Reader<'_> {}
16088                    impl ::core::clone::Clone for Reader<'_> {
16089                        fn clone(&self) -> Self {
16090                            *self
16091                        }
16092                    }
16093
16094                    impl crate::traits::HasTypeId for Reader<'_> {
16095                        const TYPE_ID: u64 = _private::TYPE_ID;
16096                    }
16097                    impl<'a> ::core::convert::From<crate::private::layout::StructReader<'a>> for Reader<'a> {
16098                        fn from(reader: crate::private::layout::StructReader<'a>) -> Self {
16099                            Self { reader }
16100                        }
16101                    }
16102
16103                    impl<'a> ::core::convert::From<Reader<'a>> for crate::dynamic_value::Reader<'a> {
16104                        fn from(reader: Reader<'a>) -> Self {
16105                            Self::Struct(crate::dynamic_struct::Reader::new(
16106                                reader.reader,
16107                                crate::schema::StructSchema::new(
16108                                    crate::introspect::RawBrandedStructSchema {
16109                                        generic: &_private::RAW_SCHEMA,
16110                                        field_types: _private::get_field_types,
16111                                        annotation_types: _private::get_annotation_types,
16112                                        type_id: ::core::any::TypeId::of::<Owned>(),
16113                                    },
16114                                ),
16115                            ))
16116                        }
16117                    }
16118
16119                    impl ::core::fmt::Debug for Reader<'_> {
16120                        fn fmt(
16121                            &self,
16122                            f: &mut ::core::fmt::Formatter<'_>,
16123                        ) -> ::core::result::Result<(), ::core::fmt::Error>
16124                        {
16125                            core::fmt::Debug::fmt(
16126                                &::core::convert::Into::<crate::dynamic_value::Reader<'_>>::into(
16127                                    *self,
16128                                ),
16129                                f,
16130                            )
16131                        }
16132                    }
16133
16134                    impl<'a> crate::traits::FromPointerReader<'a> for Reader<'a> {
16135                        fn get_from_pointer(
16136                            reader: &crate::private::layout::PointerReader<'a>,
16137                            default: ::core::option::Option<&'a [crate::Word]>,
16138                        ) -> crate::Result<Self> {
16139                            ::core::result::Result::Ok(reader.get_struct(default)?.into())
16140                        }
16141                    }
16142
16143                    impl<'a> crate::traits::IntoInternalStructReader<'a> for Reader<'a> {
16144                        fn into_internal_struct_reader(
16145                            self,
16146                        ) -> crate::private::layout::StructReader<'a> {
16147                            self.reader
16148                        }
16149                    }
16150
16151                    impl<'a> crate::traits::Imbue<'a> for Reader<'a> {
16152                        fn imbue(&mut self, cap_table: &'a crate::private::layout::CapTable) {
16153                            self.reader
16154                                .imbue(crate::private::layout::CapTableReader::from_ref(cap_table))
16155                        }
16156                    }
16157
16158                    impl Reader<'_> {
16159                        pub fn reborrow(&self) -> Reader<'_> {
16160                            Self { ..*self }
16161                        }
16162
16163                        pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
16164                            self.reader.total_size()
16165                        }
16166                        #[inline]
16167                        pub fn get_parent_type_id(self) -> u64 {
16168                            self.reader.get_data_field::<u64>(1)
16169                        }
16170                        #[inline]
16171                        pub fn get_ordinal(self) -> u16 {
16172                            self.reader.get_data_field::<u16>(9)
16173                        }
16174                    }
16175
16176                    pub struct Builder<'a> {
16177                        builder: crate::private::layout::StructBuilder<'a>,
16178                    }
16179                    impl crate::traits::HasStructSize for Builder<'_> {
16180                        const STRUCT_SIZE: crate::private::layout::StructSize =
16181                            crate::private::layout::StructSize {
16182                                data: 3,
16183                                pointers: 0,
16184                            };
16185                    }
16186                    impl crate::traits::HasTypeId for Builder<'_> {
16187                        const TYPE_ID: u64 = _private::TYPE_ID;
16188                    }
16189                    impl<'a> ::core::convert::From<crate::private::layout::StructBuilder<'a>> for Builder<'a> {
16190                        fn from(builder: crate::private::layout::StructBuilder<'a>) -> Self {
16191                            Self { builder }
16192                        }
16193                    }
16194
16195                    impl<'a> crate::traits::IntoInternalStructBuilder<'a> for Builder<'a> {
16196                        fn into_internal_struct_builder(
16197                            self,
16198                        ) -> crate::private::layout::StructBuilder<'a> {
16199                            self.builder
16200                        }
16201                    }
16202
16203                    impl<'a> ::core::convert::From<Builder<'a>> for crate::dynamic_value::Builder<'a> {
16204                        fn from(builder: Builder<'a>) -> Self {
16205                            Self::Struct(crate::dynamic_struct::Builder::new(
16206                                builder.builder,
16207                                crate::schema::StructSchema::new(
16208                                    crate::introspect::RawBrandedStructSchema {
16209                                        generic: &_private::RAW_SCHEMA,
16210                                        field_types: _private::get_field_types,
16211                                        annotation_types: _private::get_annotation_types,
16212                                        type_id: ::core::any::TypeId::of::<Owned>(),
16213                                    },
16214                                ),
16215                            ))
16216                        }
16217                    }
16218
16219                    impl<'a> crate::traits::ImbueMut<'a> for Builder<'a> {
16220                        fn imbue_mut(
16221                            &mut self,
16222                            cap_table: &'a mut crate::private::layout::CapTable,
16223                        ) {
16224                            self.builder
16225                                .imbue(crate::private::layout::CapTableBuilder::from_ref(cap_table))
16226                        }
16227                    }
16228
16229                    impl<'a> crate::traits::FromPointerBuilder<'a> for Builder<'a> {
16230                        fn init_pointer(
16231                            builder: crate::private::layout::PointerBuilder<'a>,
16232                            _size: u32,
16233                        ) -> Self {
16234                            builder
16235                                .init_struct(<Self as crate::traits::HasStructSize>::STRUCT_SIZE)
16236                                .into()
16237                        }
16238                        fn get_from_pointer(
16239                            builder: crate::private::layout::PointerBuilder<'a>,
16240                            default: ::core::option::Option<&'a [crate::Word]>,
16241                        ) -> crate::Result<Self> {
16242                            ::core::result::Result::Ok(
16243                                builder
16244                                    .get_struct(
16245                                        <Self as crate::traits::HasStructSize>::STRUCT_SIZE,
16246                                        default,
16247                                    )?
16248                                    .into(),
16249                            )
16250                        }
16251                    }
16252
16253                    impl crate::traits::SetterInput<Owned> for Reader<'_> {
16254                        fn set_pointer_builder(
16255                            mut pointer: crate::private::layout::PointerBuilder<'_>,
16256                            value: Self,
16257                            canonicalize: bool,
16258                        ) -> crate::Result<()> {
16259                            pointer.set_struct(&value.reader, canonicalize)
16260                        }
16261                    }
16262
16263                    impl<'a> Builder<'a> {
16264                        pub fn into_reader(self) -> Reader<'a> {
16265                            self.builder.into_reader().into()
16266                        }
16267                        pub fn reborrow(&mut self) -> Builder<'_> {
16268                            Builder {
16269                                builder: self.builder.reborrow(),
16270                            }
16271                        }
16272                        pub fn reborrow_as_reader(&self) -> Reader<'_> {
16273                            self.builder.as_reader().into()
16274                        }
16275
16276                        pub fn total_size(&self) -> crate::Result<crate::MessageSize> {
16277                            self.builder.as_reader().total_size()
16278                        }
16279                        #[inline]
16280                        pub fn get_parent_type_id(self) -> u64 {
16281                            self.builder.get_data_field::<u64>(1)
16282                        }
16283                        #[inline]
16284                        pub fn set_parent_type_id(&mut self, value: u64) {
16285                            self.builder.set_data_field::<u64>(1, value);
16286                        }
16287                        #[inline]
16288                        pub fn get_ordinal(self) -> u16 {
16289                            self.builder.get_data_field::<u16>(9)
16290                        }
16291                        #[inline]
16292                        pub fn set_ordinal(&mut self, value: u16) {
16293                            self.builder.set_data_field::<u16>(9, value);
16294                        }
16295                    }
16296
16297                    pub struct Pipeline {
16298                        _typeless: crate::any_pointer::Pipeline,
16299                    }
16300                    impl crate::capability::FromTypelessPipeline for Pipeline {
16301                        fn new(typeless: crate::any_pointer::Pipeline) -> Self {
16302                            Self {
16303                                _typeless: typeless,
16304                            }
16305                        }
16306                    }
16307                    impl Pipeline {}
16308                    mod _private {
16309                        pub(crate) static ENCODED_NODE: [crate::Word; 56] = [
16310                            crate::word(0, 0, 0, 0, 6, 0, 6, 0),
16311                            crate::word(81, 161, 48, 214, 225, 213, 105, 252),
16312                            crate::word(74, 0, 0, 0, 1, 0, 3, 0),
16313                            crate::word(187, 153, 4, 46, 137, 25, 167, 221),
16314                            crate::word(0, 0, 7, 0, 1, 0, 0, 0),
16315                            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
16316                            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
16317                            crate::word(21, 0, 0, 0, 138, 2, 0, 0),
16318                            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
16319                            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
16320                            crate::word(53, 0, 0, 0, 119, 0, 0, 0),
16321                            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
16322                            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
16323                            crate::word(115, 99, 104, 101, 109, 97, 46, 99),
16324                            crate::word(97, 112, 110, 112, 58, 67, 111, 100),
16325                            crate::word(101, 71, 101, 110, 101, 114, 97, 116),
16326                            crate::word(111, 114, 82, 101, 113, 117, 101, 115),
16327                            crate::word(116, 46, 82, 101, 113, 117, 101, 115),
16328                            crate::word(116, 101, 100, 70, 105, 108, 101, 46),
16329                            crate::word(70, 105, 108, 101, 83, 111, 117, 114),
16330                            crate::word(99, 101, 73, 110, 102, 111, 46, 73),
16331                            crate::word(100, 101, 110, 116, 105, 102, 105, 101),
16332                            crate::word(114, 46, 109, 101, 109, 98, 101, 114),
16333                            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
16334                            crate::word(8, 0, 0, 0, 3, 0, 4, 0),
16335                            crate::word(0, 0, 0, 0, 1, 0, 0, 0),
16336                            crate::word(0, 0, 1, 0, 3, 0, 0, 0),
16337                            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
16338                            crate::word(41, 0, 0, 0, 106, 0, 0, 0),
16339                            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
16340                            crate::word(40, 0, 0, 0, 3, 0, 1, 0),
16341                            crate::word(52, 0, 0, 0, 2, 0, 1, 0),
16342                            crate::word(1, 0, 0, 0, 9, 0, 0, 0),
16343                            crate::word(0, 0, 1, 0, 4, 0, 0, 0),
16344                            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
16345                            crate::word(49, 0, 0, 0, 66, 0, 0, 0),
16346                            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
16347                            crate::word(44, 0, 0, 0, 3, 0, 1, 0),
16348                            crate::word(56, 0, 0, 0, 2, 0, 1, 0),
16349                            crate::word(112, 97, 114, 101, 110, 116, 84, 121),
16350                            crate::word(112, 101, 73, 100, 0, 0, 0, 0),
16351                            crate::word(9, 0, 0, 0, 0, 0, 0, 0),
16352                            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
16353                            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
16354                            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
16355                            crate::word(9, 0, 0, 0, 0, 0, 0, 0),
16356                            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
16357                            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
16358                            crate::word(111, 114, 100, 105, 110, 97, 108, 0),
16359                            crate::word(7, 0, 0, 0, 0, 0, 0, 0),
16360                            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
16361                            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
16362                            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
16363                            crate::word(7, 0, 0, 0, 0, 0, 0, 0),
16364                            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
16365                            crate::word(0, 0, 0, 0, 0, 0, 0, 0),
16366                        ];
16367                        pub(crate) fn get_field_types(index: u16) -> crate::introspect::Type {
16368                            match index {
16369                                0 => <u64 as crate::introspect::Introspect>::introspect(),
16370                                1 => <u16 as crate::introspect::Introspect>::introspect(),
16371                                _ => crate::introspect::panic_invalid_field_index(index),
16372                            }
16373                        }
16374                        pub(crate) fn get_annotation_types(
16375                            child_index: Option<u16>,
16376                            index: u32,
16377                        ) -> crate::introspect::Type {
16378                            crate::introspect::panic_invalid_annotation_indices(child_index, index)
16379                        }
16380                        pub(crate) static ARENA: crate::private::arena::GeneratedCodeArena =
16381                            crate::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
16382                        pub(crate) static RAW_SCHEMA: crate::introspect::RawStructSchema =
16383                            crate::introspect::RawStructSchema::new(
16384                                &ARENA,
16385                                NONUNION_MEMBERS,
16386                                MEMBERS_BY_DISCRIMINANT,
16387                                MEMBERS_BY_NAME,
16388                            );
16389                        pub(crate) static NONUNION_MEMBERS: &[u16] = &[0, 1];
16390                        pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[];
16391                        pub(crate) static MEMBERS_BY_NAME: &[u16] = &[1, 0];
16392                        pub(crate) const TYPE_ID: u64 = 0xfc69_d5e1_d630_a151;
16393                    }
16394                }
16395            }
16396        }
16397    }
16398}