Trait clipboard_win::Getter

source ·
pub trait Getter<Type> {
    // Required method
    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§

source

fn read_clipboard(&self, out: &mut Type) -> SysResult<usize>

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

Implementors§