[][src]Function clipboard_win::set_clipboard_string

pub fn set_clipboard_string<T: ?Sized + AsRef<OsStr>>(data: &T) -> Result<()>

Shortcut to set string onto clipboard.

It opens clipboard and attempts to set string.