Trait clipboard::ClipboardProvider[][src]

pub trait ClipboardProvider: Sized {
    fn new() -> Result<Self, Box<Error>>;
fn get_contents(&mut self) -> Result<String, Box<Error>>;
fn set_contents(&mut self, _: String) -> Result<(), Box<Error>>; }

Trait for clipboard access

Required Methods

Create a context with which to access the clipboard

Method to get the clipboard contents as a String

Method to set the clipboard contents as a String

Implementors