pub struct MacOSClipboardContext { /* private fields */ }
Trait Implementations§
source§impl ClipboardProvider for MacOSClipboardContext
impl ClipboardProvider for MacOSClipboardContext
source§fn new() -> Result<MacOSClipboardContext, Box<dyn Error>>
fn new() -> Result<MacOSClipboardContext, Box<dyn Error>>
Create a context with which to access the clipboard
source§fn get_contents(&mut self) -> Result<String, Box<dyn Error>>
fn get_contents(&mut self) -> Result<String, Box<dyn Error>>
Method to get the clipboard contents as a String