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