1// +build !ignore_autogenerated
2
3/*
4Copyright The Kubernetes Authors.
5
6Licensed under the Apache License, Version 2.0 (the "License");
7you may not use this file except in compliance with the License.
8You may obtain a copy of the License at
9
10    http://www.apache.org/licenses/LICENSE-2.0
11
12Unless required by applicable law or agreed to in writing, software
13distributed under the License is distributed on an "AS IS" BASIS,
14WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15See the License for the specific language governing permissions and
16limitations under the License.
17*/
18
19// Code generated by deepcopy-gen. DO NOT EDIT.
20
21package wholepkg
22
23import (
24	otherpkg "k8s.io/gengo/examples/deepcopy-gen/output_tests/otherpkg"
25)
26
27// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
28func (in ManualSlice) DeepCopyInto(out *ManualSlice) {
29	{
30		in := &in
31		*out = in.DeepCopy()
32		return
33	}
34}
35
36// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
37func (in *ManualStruct) DeepCopyInto(out *ManualStruct) {
38	*out = in.DeepCopy()
39	return
40}
41
42// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
43func (in *ManualStruct_Alias) DeepCopyInto(out *ManualStruct_Alias) {
44	*out = *in
45	return
46}
47
48// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManualStruct_Alias.
49func (in *ManualStruct_Alias) DeepCopy() *ManualStruct_Alias {
50	if in == nil {
51		return nil
52	}
53	out := new(ManualStruct_Alias)
54	in.DeepCopyInto(out)
55	return out
56}
57
58// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
59func (in *Struct_B) DeepCopyInto(out *Struct_B) {
60	*out = *in
61	return
62}
63
64// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Struct_B.
65func (in *Struct_B) DeepCopy() *Struct_B {
66	if in == nil {
67		return nil
68	}
69	out := new(Struct_B)
70	in.DeepCopyInto(out)
71	return out
72}
73
74// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
75func (in *Struct_Embed_Int) DeepCopyInto(out *Struct_Embed_Int) {
76	*out = *in
77	return
78}
79
80// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Struct_Embed_Int.
81func (in *Struct_Embed_Int) DeepCopy() *Struct_Embed_Int {
82	if in == nil {
83		return nil
84	}
85	out := new(Struct_Embed_Int)
86	in.DeepCopyInto(out)
87	return out
88}
89
90// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
91func (in *Struct_Embed_ManualStruct) DeepCopyInto(out *Struct_Embed_ManualStruct) {
92	*out = *in
93	out.ManualStruct = in.ManualStruct.DeepCopy()
94	return
95}
96
97// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Struct_Embed_ManualStruct.
98func (in *Struct_Embed_ManualStruct) DeepCopy() *Struct_Embed_ManualStruct {
99	if in == nil {
100		return nil
101	}
102	out := new(Struct_Embed_ManualStruct)
103	in.DeepCopyInto(out)
104	return out
105}
106
107// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
108func (in *Struct_Embed_Pointer) DeepCopyInto(out *Struct_Embed_Pointer) {
109	*out = *in
110	if in.int != nil {
111		in, out := &in.int, &out.int
112		*out = new(int)
113		**out = **in
114	}
115	return
116}
117
118// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Struct_Embed_Pointer.
119func (in *Struct_Embed_Pointer) DeepCopy() *Struct_Embed_Pointer {
120	if in == nil {
121		return nil
122	}
123	out := new(Struct_Embed_Pointer)
124	in.DeepCopyInto(out)
125	return out
126}
127
128// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
129func (in *Struct_Embed_Struct_PrimitivePointers) DeepCopyInto(out *Struct_Embed_Struct_PrimitivePointers) {
130	*out = *in
131	in.Struct_PrimitivePointers.DeepCopyInto(&out.Struct_PrimitivePointers)
132	return
133}
134
135// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Struct_Embed_Struct_PrimitivePointers.
136func (in *Struct_Embed_Struct_PrimitivePointers) DeepCopy() *Struct_Embed_Struct_PrimitivePointers {
137	if in == nil {
138		return nil
139	}
140	out := new(Struct_Embed_Struct_PrimitivePointers)
141	in.DeepCopyInto(out)
142	return out
143}
144
145// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
146func (in *Struct_Embed_Struct_Primitives) DeepCopyInto(out *Struct_Embed_Struct_Primitives) {
147	*out = *in
148	out.Struct_Primitives = in.Struct_Primitives
149	return
150}
151
152// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Struct_Embed_Struct_Primitives.
153func (in *Struct_Embed_Struct_Primitives) DeepCopy() *Struct_Embed_Struct_Primitives {
154	if in == nil {
155		return nil
156	}
157	out := new(Struct_Embed_Struct_Primitives)
158	in.DeepCopyInto(out)
159	return out
160}
161
162// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
163func (in *Struct_Embed_Struct_Slices) DeepCopyInto(out *Struct_Embed_Struct_Slices) {
164	*out = *in
165	in.Struct_Slices.DeepCopyInto(&out.Struct_Slices)
166	return
167}
168
169// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Struct_Embed_Struct_Slices.
170func (in *Struct_Embed_Struct_Slices) DeepCopy() *Struct_Embed_Struct_Slices {
171	if in == nil {
172		return nil
173	}
174	out := new(Struct_Embed_Struct_Slices)
175	in.DeepCopyInto(out)
176	return out
177}
178
179// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
180func (in *Struct_Empty) DeepCopyInto(out *Struct_Empty) {
181	*out = *in
182	return
183}
184
185// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Struct_Empty.
186func (in *Struct_Empty) DeepCopy() *Struct_Empty {
187	if in == nil {
188		return nil
189	}
190	out := new(Struct_Empty)
191	in.DeepCopyInto(out)
192	return out
193}
194
195// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
196func (in *Struct_Everything) DeepCopyInto(out *Struct_Everything) {
197	*out = *in
198	out.StructField = in.StructField
199	out.EmptyStructField = in.EmptyStructField
200	out.ManualStructField = in.ManualStructField.DeepCopy()
201	out.ManualStructAliasField = in.ManualStructAliasField
202	if in.BoolPtrField != nil {
203		in, out := &in.BoolPtrField, &out.BoolPtrField
204		*out = new(bool)
205		**out = **in
206	}
207	if in.IntPtrField != nil {
208		in, out := &in.IntPtrField, &out.IntPtrField
209		*out = new(int)
210		**out = **in
211	}
212	if in.StringPtrField != nil {
213		in, out := &in.StringPtrField, &out.StringPtrField
214		*out = new(string)
215		**out = **in
216	}
217	if in.FloatPtrField != nil {
218		in, out := &in.FloatPtrField, &out.FloatPtrField
219		*out = new(float64)
220		**out = **in
221	}
222	in.PrimitivePointersField.DeepCopyInto(&out.PrimitivePointersField)
223	if in.ManualStructPtrField != nil {
224		in, out := &in.ManualStructPtrField, &out.ManualStructPtrField
225		x := (*in).DeepCopy()
226		*out = &x
227	}
228	if in.ManualStructAliasPtrField != nil {
229		in, out := &in.ManualStructAliasPtrField, &out.ManualStructAliasPtrField
230		*out = new(ManualStruct_Alias)
231		**out = **in
232	}
233	if in.SliceBoolField != nil {
234		in, out := &in.SliceBoolField, &out.SliceBoolField
235		*out = make([]bool, len(*in))
236		copy(*out, *in)
237	}
238	if in.SliceByteField != nil {
239		in, out := &in.SliceByteField, &out.SliceByteField
240		*out = make([]byte, len(*in))
241		copy(*out, *in)
242	}
243	if in.SliceIntField != nil {
244		in, out := &in.SliceIntField, &out.SliceIntField
245		*out = make([]int, len(*in))
246		copy(*out, *in)
247	}
248	if in.SliceStringField != nil {
249		in, out := &in.SliceStringField, &out.SliceStringField
250		*out = make([]string, len(*in))
251		copy(*out, *in)
252	}
253	if in.SliceFloatField != nil {
254		in, out := &in.SliceFloatField, &out.SliceFloatField
255		*out = make([]float64, len(*in))
256		copy(*out, *in)
257	}
258	in.SlicesField.DeepCopyInto(&out.SlicesField)
259	if in.SliceManualStructField != nil {
260		in, out := &in.SliceManualStructField, &out.SliceManualStructField
261		*out = make([]ManualStruct, len(*in))
262		for i := range *in {
263			(*in)[i].DeepCopyInto(&(*out)[i])
264		}
265	}
266	out.ManualSliceField = in.ManualSliceField.DeepCopy()
267	return
268}
269
270// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Struct_Everything.
271func (in *Struct_Everything) DeepCopy() *Struct_Everything {
272	if in == nil {
273		return nil
274	}
275	out := new(Struct_Everything)
276	in.DeepCopyInto(out)
277	return out
278}
279
280// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
281func (in *Struct_ExplicitObject) DeepCopyInto(out *Struct_ExplicitObject) {
282	*out = *in
283	return
284}
285
286// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Struct_ExplicitObject.
287func (in *Struct_ExplicitObject) DeepCopy() *Struct_ExplicitObject {
288	if in == nil {
289		return nil
290	}
291	out := new(Struct_ExplicitObject)
292	in.DeepCopyInto(out)
293	return out
294}
295
296// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new otherpkg.Object.
297func (in *Struct_ExplicitObject) DeepCopyObject() otherpkg.Object {
298	if c := in.DeepCopy(); c != nil {
299		return c
300	}
301	return nil
302}
303
304// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
305func (in *Struct_ExplicitSelectorExplicitObject) DeepCopyInto(out *Struct_ExplicitSelectorExplicitObject) {
306	*out = *in
307	out.Struct_TypeMeta = in.Struct_TypeMeta
308	return
309}
310
311// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Struct_ExplicitSelectorExplicitObject.
312func (in *Struct_ExplicitSelectorExplicitObject) DeepCopy() *Struct_ExplicitSelectorExplicitObject {
313	if in == nil {
314		return nil
315	}
316	out := new(Struct_ExplicitSelectorExplicitObject)
317	in.DeepCopyInto(out)
318	return out
319}
320
321// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new otherpkg.Object.
322func (in *Struct_ExplicitSelectorExplicitObject) DeepCopyObject() otherpkg.Object {
323	if c := in.DeepCopy(); c != nil {
324		return c
325	}
326	return nil
327}
328
329// DeepCopySelector is an autogenerated deepcopy function, copying the receiver, creating a new Selector.
330func (in *Struct_ExplicitSelectorExplicitObject) DeepCopySelector() Selector {
331	if c := in.DeepCopy(); c != nil {
332		return c
333	}
334	return nil
335}
336
337// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
338func (in *Struct_Interfaces) DeepCopyInto(out *Struct_Interfaces) {
339	*out = *in
340	if in.ObjectField != nil {
341		out.ObjectField = in.ObjectField.DeepCopyObject()
342	}
343	if in.NilObjectField != nil {
344		out.NilObjectField = in.NilObjectField.DeepCopyObject()
345	}
346	if in.SelectorField != nil {
347		out.SelectorField = in.SelectorField.DeepCopySelector()
348	}
349	return
350}
351
352// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Struct_Interfaces.
353func (in *Struct_Interfaces) DeepCopy() *Struct_Interfaces {
354	if in == nil {
355		return nil
356	}
357	out := new(Struct_Interfaces)
358	in.DeepCopyInto(out)
359	return out
360}
361
362// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
363func (in *Struct_NonPointerExplicitObject) DeepCopyInto(out *Struct_NonPointerExplicitObject) {
364	*out = *in
365	return
366}
367
368// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Struct_NonPointerExplicitObject.
369func (in *Struct_NonPointerExplicitObject) DeepCopy() *Struct_NonPointerExplicitObject {
370	if in == nil {
371		return nil
372	}
373	out := new(Struct_NonPointerExplicitObject)
374	in.DeepCopyInto(out)
375	return out
376}
377
378// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new otherpkg.Object.
379func (in Struct_NonPointerExplicitObject) DeepCopyObject() otherpkg.Object {
380	return *in.DeepCopy()
381}
382
383// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
384func (in *Struct_ObjectAndList) DeepCopyInto(out *Struct_ObjectAndList) {
385	*out = *in
386	return
387}
388
389// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Struct_ObjectAndList.
390func (in *Struct_ObjectAndList) DeepCopy() *Struct_ObjectAndList {
391	if in == nil {
392		return nil
393	}
394	out := new(Struct_ObjectAndList)
395	in.DeepCopyInto(out)
396	return out
397}
398
399// DeepCopyList is an autogenerated deepcopy function, copying the receiver, creating a new otherpkg.List.
400func (in *Struct_ObjectAndList) DeepCopyList() otherpkg.List {
401	if c := in.DeepCopy(); c != nil {
402		return c
403	}
404	return nil
405}
406
407// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new otherpkg.Object.
408func (in *Struct_ObjectAndList) DeepCopyObject() otherpkg.Object {
409	if c := in.DeepCopy(); c != nil {
410		return c
411	}
412	return nil
413}
414
415// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
416func (in *Struct_ObjectAndObject) DeepCopyInto(out *Struct_ObjectAndObject) {
417	*out = *in
418	return
419}
420
421// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Struct_ObjectAndObject.
422func (in *Struct_ObjectAndObject) DeepCopy() *Struct_ObjectAndObject {
423	if in == nil {
424		return nil
425	}
426	out := new(Struct_ObjectAndObject)
427	in.DeepCopyInto(out)
428	return out
429}
430
431// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new otherpkg.Object.
432func (in *Struct_ObjectAndObject) DeepCopyObject() otherpkg.Object {
433	if c := in.DeepCopy(); c != nil {
434		return c
435	}
436	return nil
437}
438
439// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
440func (in *Struct_PrimitivePointers) DeepCopyInto(out *Struct_PrimitivePointers) {
441	*out = *in
442	if in.BoolPtrField != nil {
443		in, out := &in.BoolPtrField, &out.BoolPtrField
444		*out = new(bool)
445		**out = **in
446	}
447	if in.IntPtrField != nil {
448		in, out := &in.IntPtrField, &out.IntPtrField
449		*out = new(int)
450		**out = **in
451	}
452	if in.StringPtrField != nil {
453		in, out := &in.StringPtrField, &out.StringPtrField
454		*out = new(string)
455		**out = **in
456	}
457	if in.FloatPtrField != nil {
458		in, out := &in.FloatPtrField, &out.FloatPtrField
459		*out = new(float64)
460		**out = **in
461	}
462	return
463}
464
465// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Struct_PrimitivePointers.
466func (in *Struct_PrimitivePointers) DeepCopy() *Struct_PrimitivePointers {
467	if in == nil {
468		return nil
469	}
470	out := new(Struct_PrimitivePointers)
471	in.DeepCopyInto(out)
472	return out
473}
474
475// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
476func (in *Struct_PrimitivePointers_Alias) DeepCopyInto(out *Struct_PrimitivePointers_Alias) {
477	*out = *in
478	if in.BoolPtrField != nil {
479		in, out := &in.BoolPtrField, &out.BoolPtrField
480		*out = new(bool)
481		**out = **in
482	}
483	if in.IntPtrField != nil {
484		in, out := &in.IntPtrField, &out.IntPtrField
485		*out = new(int)
486		**out = **in
487	}
488	if in.StringPtrField != nil {
489		in, out := &in.StringPtrField, &out.StringPtrField
490		*out = new(string)
491		**out = **in
492	}
493	if in.FloatPtrField != nil {
494		in, out := &in.FloatPtrField, &out.FloatPtrField
495		*out = new(float64)
496		**out = **in
497	}
498	return
499}
500
501// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Struct_PrimitivePointers_Alias.
502func (in *Struct_PrimitivePointers_Alias) DeepCopy() *Struct_PrimitivePointers_Alias {
503	if in == nil {
504		return nil
505	}
506	out := new(Struct_PrimitivePointers_Alias)
507	in.DeepCopyInto(out)
508	return out
509}
510
511// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
512func (in *Struct_Primitives) DeepCopyInto(out *Struct_Primitives) {
513	*out = *in
514	return
515}
516
517// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Struct_Primitives.
518func (in *Struct_Primitives) DeepCopy() *Struct_Primitives {
519	if in == nil {
520		return nil
521	}
522	out := new(Struct_Primitives)
523	in.DeepCopyInto(out)
524	return out
525}
526
527// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
528func (in *Struct_Primitives_Alias) DeepCopyInto(out *Struct_Primitives_Alias) {
529	*out = *in
530	return
531}
532
533// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Struct_Primitives_Alias.
534func (in *Struct_Primitives_Alias) DeepCopy() *Struct_Primitives_Alias {
535	if in == nil {
536		return nil
537	}
538	out := new(Struct_Primitives_Alias)
539	in.DeepCopyInto(out)
540	return out
541}
542
543// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
544func (in *Struct_Slices) DeepCopyInto(out *Struct_Slices) {
545	*out = *in
546	if in.SliceBoolField != nil {
547		in, out := &in.SliceBoolField, &out.SliceBoolField
548		*out = make([]bool, len(*in))
549		copy(*out, *in)
550	}
551	if in.SliceByteField != nil {
552		in, out := &in.SliceByteField, &out.SliceByteField
553		*out = make([]byte, len(*in))
554		copy(*out, *in)
555	}
556	if in.SliceIntField != nil {
557		in, out := &in.SliceIntField, &out.SliceIntField
558		*out = make([]int, len(*in))
559		copy(*out, *in)
560	}
561	if in.SliceStringField != nil {
562		in, out := &in.SliceStringField, &out.SliceStringField
563		*out = make([]string, len(*in))
564		copy(*out, *in)
565	}
566	if in.SliceFloatField != nil {
567		in, out := &in.SliceFloatField, &out.SliceFloatField
568		*out = make([]float64, len(*in))
569		copy(*out, *in)
570	}
571	if in.SliceStructPrimitivesField != nil {
572		in, out := &in.SliceStructPrimitivesField, &out.SliceStructPrimitivesField
573		*out = make([]Struct_Primitives, len(*in))
574		copy(*out, *in)
575	}
576	if in.SliceStructPrimitivesAliasField != nil {
577		in, out := &in.SliceStructPrimitivesAliasField, &out.SliceStructPrimitivesAliasField
578		*out = make([]Struct_Primitives_Alias, len(*in))
579		copy(*out, *in)
580	}
581	if in.SliceStructPrimitivePointersField != nil {
582		in, out := &in.SliceStructPrimitivePointersField, &out.SliceStructPrimitivePointersField
583		*out = make([]Struct_PrimitivePointers, len(*in))
584		for i := range *in {
585			(*in)[i].DeepCopyInto(&(*out)[i])
586		}
587	}
588	if in.SliceStructPrimitivePointersAliasField != nil {
589		in, out := &in.SliceStructPrimitivePointersAliasField, &out.SliceStructPrimitivePointersAliasField
590		*out = make([]Struct_PrimitivePointers_Alias, len(*in))
591		for i := range *in {
592			(*in)[i].DeepCopyInto(&(*out)[i])
593		}
594	}
595	if in.SliceSliceIntField != nil {
596		in, out := &in.SliceSliceIntField, &out.SliceSliceIntField
597		*out = make([][]int, len(*in))
598		for i := range *in {
599			if (*in)[i] != nil {
600				in, out := &(*in)[i], &(*out)[i]
601				*out = make([]int, len(*in))
602				copy(*out, *in)
603			}
604		}
605	}
606	if in.SliceManualStructField != nil {
607		in, out := &in.SliceManualStructField, &out.SliceManualStructField
608		*out = make([]ManualStruct, len(*in))
609		for i := range *in {
610			(*in)[i].DeepCopyInto(&(*out)[i])
611		}
612	}
613	out.ManualSliceField = in.ManualSliceField.DeepCopy()
614	return
615}
616
617// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Struct_Slices.
618func (in *Struct_Slices) DeepCopy() *Struct_Slices {
619	if in == nil {
620		return nil
621	}
622	out := new(Struct_Slices)
623	in.DeepCopyInto(out)
624	return out
625}
626
627// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
628func (in *Struct_Slices_Alias) DeepCopyInto(out *Struct_Slices_Alias) {
629	*out = *in
630	if in.SliceBoolField != nil {
631		in, out := &in.SliceBoolField, &out.SliceBoolField
632		*out = make([]bool, len(*in))
633		copy(*out, *in)
634	}
635	if in.SliceByteField != nil {
636		in, out := &in.SliceByteField, &out.SliceByteField
637		*out = make([]byte, len(*in))
638		copy(*out, *in)
639	}
640	if in.SliceIntField != nil {
641		in, out := &in.SliceIntField, &out.SliceIntField
642		*out = make([]int, len(*in))
643		copy(*out, *in)
644	}
645	if in.SliceStringField != nil {
646		in, out := &in.SliceStringField, &out.SliceStringField
647		*out = make([]string, len(*in))
648		copy(*out, *in)
649	}
650	if in.SliceFloatField != nil {
651		in, out := &in.SliceFloatField, &out.SliceFloatField
652		*out = make([]float64, len(*in))
653		copy(*out, *in)
654	}
655	if in.SliceStructPrimitivesField != nil {
656		in, out := &in.SliceStructPrimitivesField, &out.SliceStructPrimitivesField
657		*out = make([]Struct_Primitives, len(*in))
658		copy(*out, *in)
659	}
660	if in.SliceStructPrimitivesAliasField != nil {
661		in, out := &in.SliceStructPrimitivesAliasField, &out.SliceStructPrimitivesAliasField
662		*out = make([]Struct_Primitives_Alias, len(*in))
663		copy(*out, *in)
664	}
665	if in.SliceStructPrimitivePointersField != nil {
666		in, out := &in.SliceStructPrimitivePointersField, &out.SliceStructPrimitivePointersField
667		*out = make([]Struct_PrimitivePointers, len(*in))
668		for i := range *in {
669			(*in)[i].DeepCopyInto(&(*out)[i])
670		}
671	}
672	if in.SliceStructPrimitivePointersAliasField != nil {
673		in, out := &in.SliceStructPrimitivePointersAliasField, &out.SliceStructPrimitivePointersAliasField
674		*out = make([]Struct_PrimitivePointers_Alias, len(*in))
675		for i := range *in {
676			(*in)[i].DeepCopyInto(&(*out)[i])
677		}
678	}
679	if in.SliceSliceIntField != nil {
680		in, out := &in.SliceSliceIntField, &out.SliceSliceIntField
681		*out = make([][]int, len(*in))
682		for i := range *in {
683			if (*in)[i] != nil {
684				in, out := &(*in)[i], &(*out)[i]
685				*out = make([]int, len(*in))
686				copy(*out, *in)
687			}
688		}
689	}
690	if in.SliceManualStructField != nil {
691		in, out := &in.SliceManualStructField, &out.SliceManualStructField
692		*out = make([]ManualStruct, len(*in))
693		for i := range *in {
694			(*in)[i].DeepCopyInto(&(*out)[i])
695		}
696	}
697	out.ManualSliceField = in.ManualSliceField.DeepCopy()
698	return
699}
700
701// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Struct_Slices_Alias.
702func (in *Struct_Slices_Alias) DeepCopy() *Struct_Slices_Alias {
703	if in == nil {
704		return nil
705	}
706	out := new(Struct_Slices_Alias)
707	in.DeepCopyInto(out)
708	return out
709}
710
711// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
712func (in *Struct_Struct_PrimitivePointers) DeepCopyInto(out *Struct_Struct_PrimitivePointers) {
713	*out = *in
714	in.StructField.DeepCopyInto(&out.StructField)
715	return
716}
717
718// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Struct_Struct_PrimitivePointers.
719func (in *Struct_Struct_PrimitivePointers) DeepCopy() *Struct_Struct_PrimitivePointers {
720	if in == nil {
721		return nil
722	}
723	out := new(Struct_Struct_PrimitivePointers)
724	in.DeepCopyInto(out)
725	return out
726}
727
728// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
729func (in *Struct_Struct_Primitives) DeepCopyInto(out *Struct_Struct_Primitives) {
730	*out = *in
731	out.StructField = in.StructField
732	return
733}
734
735// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Struct_Struct_Primitives.
736func (in *Struct_Struct_Primitives) DeepCopy() *Struct_Struct_Primitives {
737	if in == nil {
738		return nil
739	}
740	out := new(Struct_Struct_Primitives)
741	in.DeepCopyInto(out)
742	return out
743}
744
745// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
746func (in *Struct_Struct_Slices) DeepCopyInto(out *Struct_Struct_Slices) {
747	*out = *in
748	in.StructField.DeepCopyInto(&out.StructField)
749	return
750}
751
752// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Struct_Struct_Slices.
753func (in *Struct_Struct_Slices) DeepCopy() *Struct_Struct_Slices {
754	if in == nil {
755		return nil
756	}
757	out := new(Struct_Struct_Slices)
758	in.DeepCopyInto(out)
759	return out
760}
761