[−][src]Trait cli_clipboard::ClipboardProvider
Trait for clipboard access
Required methods
fn new() -> Result<Self>
Create a context with which to access the clipboard
fn get_contents(&mut self) -> Result<String>
Method to get the clipboard contents as a String
fn set_contents(&mut self, content: String) -> Result<()>
Method to set the clipboard contents as a String
fn clear(&mut self) -> Result<()>
Method to clear the clipboard