[−][src]Function clipboard_win::raw::set_string
pub fn set_string(data: &str) -> Result<()>
Sets data onto clipboard with specified format.
Wrapper around SetClipboardData
.
Pre-conditions:
- open() has been called.
Panic
On zero input. If you want to empty clipboard then use empty().