func (v View) SetWantsLayer(wantsLayer bool) {
	if wantsLayer {
		C.View_SetWantsLayer(v.view, 1)
	} else {
		C.View_SetWantsLayer(v.view, 0)
	}
}
func (v View) SetWantsLayer(wantsLayer bool) {
	if wantsLayer {
		C.View_SetWantsLayer(v.view, 1)
	} else {
		C.View_SetWantsLayer(v.view, 0)
	}
}
func ( v View ) SetWantsLayer ( wantsLayer bool ) { if wantsLayer { C . View_SetWantsLayer ( v . view , 1 ) } else { C . View_SetWantsLayer ( v . view , 0 ) } }
// SetWantsLayer sets v.wantsLayer to wantsLayer.
//
// Reference: https://developer.apple.com/documentation/appkit/nsview/1483695-wantslayer.
SetWantsLayer sets v . wantsLayer to wantsLayer . Reference : https : // developer . apple . com / documentation / appkit / nsview / 1483695 - wantslayer .