github.com/galaxyobe/gen@v0.0.0-20220910125335-392fa8f0990f/cmd/deepcopy-gen/output_tests/wholepkg/deepcopy_generated.go (about)

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