Trait clipboard_win::Setter

source ·
pub trait Setter<Type: ?Sized> {
    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§

Writes content of data onto clipboard, returning whether it was successful or not

Implementors§