Function clipboard_win::with_clipboard
source ยท pub fn with_clipboard<F: FnMut()>(cb: F) -> SysResult<()>
Expand description
Runs provided callable with open clipboard, returning whether clipboard was open successfully.
If clipboard fails to open, callable is not invoked.