Trait clipboard_win::Getter

source ·
pub trait Getter<Type> {
    fn read_clipboard(&self, out: &mut Type) -> SysResult<usize>;
}
Expand description

Describes format getter, specifying data type as type param

Default implementations only perform write, without opening/closing clipboard

Required Methods§

Reads content of clipboard into out, returning number of bytes read on success, or otherwise 0.

Implementors§