pub fn with_owner<R>(
app: &AppHandle,
f: impl FnOnce(&mut dyn Clipboard) -> R,
) -> Option<R>Expand description
Runs f on the owner: the host’s, else the plugin’s
LocalClipboard. None without the plugin, or while the host
(owning the clipboard) runs a command.