docs: def sync(self):
          """
          Syncs the items on this layer with the current layer settings.
          """
          layerData = self.layerData()
          for item in self.scene().items():
              try:
                  if item._layer == self:
                      item.syncLayerData(layerData)
              except AttributeError:
                  continue