[−][src]Trait clipboard::ClipboardProvider
Trait for clipboard access
Required methods
fn new() -> Result<Self, Box<dyn Error>>
Create a context with which to access the clipboard
fn get_contents(&mut self) -> Result<String, Box<dyn Error>>
Method to get the clipboard contents as a String
fn set_contents(&mut self, _: String) -> Result<(), Box<dyn Error>>
Method to set the clipboard contents as a String
Implementors
impl ClipboardProvider for NopClipboardContext
[src]
fn new() -> Result<NopClipboardContext, Box<dyn Error>>
[src]
fn get_contents(&mut self) -> Result<String, Box<dyn Error>>
[src]
fn set_contents(&mut self, _: String) -> Result<(), Box<dyn Error>>
[src]
impl<S> ClipboardProvider for X11ClipboardContext<S> where
S: Selection,
[src]
S: Selection,