[][src]Function clipboard_win::raw::set

pub fn set(format: u32, data: &[u8]) -> 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().