pub trait ClipboardProvider: Send {
    fn get_contents(
        &mut self
    ) -> Result<String, Box<dyn Error + Send + Sync + 'static>>; fn set_contents(
        &mut self,
        _: String
    ) -> Result<(), Box<dyn Error + Send + Sync + 'static>>; }
Expand description

Trait for clipboard access

Required Methods

Method to get the clipboard contents as a String

Method to set the clipboard contents as a String

Implementors