func (o *RenderTemplate) Patch(sparse elemental.SparseIdentifiable) {
	if !sparse.Identity().IsEqual(o.Identity()) {
		panic("cannot patch from a parse with different identity")
	}

	so := sparse.(*SparseRenderTemplate)
	if so.Output != nil {
		o.Output = *so.Output
	}
	if so.Parameters != nil {
		o.Parameters = *so.Parameters
	}
	if so.Template != nil {
		o.Template = *so.Template
	}
}
// Patch apply the non nil value of a *SparseRenderTemplate to the object.
Patch apply the non nil value of a *SparseRenderTemplate to the object.
// Patch apply the non nil value of a * SparseRenderTemplate to the object .
func (o *RenderTemplate) Patch(sparse elemental.SparseIdentifiable) {
	if !sparse.Identity().IsEqual(o.Identity()) {
		panic("cannot patch from a parse with different identity")
	}
	so := sparse.(*SparseRenderTemplate)
	if so.Output != nil {
		o.Output = *so.Output
	}
	if so.Parameters != nil {
		o.Parameters = *so.Parameters
	}
	if so.Template != nil {
		o.Template = *so.Template
	}
}
func ( o * RenderTemplate ) Patch ( sparse elemental . SparseIdentifiable ) { if ! sparse . Identity ( ) . IsEqual ( o . Identity ( ) ) { panic ( " " ) } so := sparse . ( * SparseRenderTemplate ) if so . Output != nil { o . Output = * so . Output } if so . Parameters != nil { o . Parameters = * so . Parameters } if so . Template != nil { o . Template = * so . Template } }
Patch apply the non nil value of a *SparseRenderTemplate to the object.
Patch apply the non nil value of a * SparseRenderTemplate to the object .