[][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:

Panic

On zero input. If you want to empty clipboard then use empty().