Trait clipboard_win::Setter
source · pub trait Setter<Type: ?Sized> {
// Required method
fn write_clipboard(&self, data: &Type) -> SysResult<()>;
}
Expand description
Describes format setter, specifying data type as type param
Default implementations only perform write, without opening/closing clipboard
Required Methods§
sourcefn write_clipboard(&self, data: &Type) -> SysResult<()>
fn write_clipboard(&self, data: &Type) -> SysResult<()>
Writes content of data
onto clipboard, returning whether it was successful or not