[][src]Trait clipboard_win::Setter

pub trait Setter<Type> {
    fn write_clipboard(&self, data: &Type) -> SysResult<()>;
}

Describes format setter, specifying data type as type param

Default implementations only perform write, without opening/closing clipboard

Required methods

fn write_clipboard(&self, data: &Type) -> SysResult<()>

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

Loading content...

Implementors

impl<T: AsRef<[u8]>> Setter<T> for RawData[src]

impl<T: AsRef<[u8]>> Setter<T> for Bitmap[src]

impl<T: AsRef<str>> Setter<T> for Unicode[src]

Loading content...