pub fn set(format: u32, data: &[u8]) -> SysResult<()>
Copies raw bytes onto clipboard with specified format, returning whether it was successful.
format
This function empties the clipboard before setting the data.