[][src]Function clipboard_win::with_clipboard

pub fn with_clipboard<F: FnMut()>(cb: F) -> SysResult<()>

Runs provided callable with open clipboard, returning whether clipboard was open successfully.

If clipboard fails to open, callable is not invoked.