pub trait ClipboardManager: Debug {
    fn write_text<T>(&mut self, text: T) -> Result<(), Error>
    where
        T: Into<String>
;
fn read_text(&self) -> Result<Option<String>, Error>; }
Expand description

Clipboard manager.

Required methods

Writes the text into the clipboard as plain text.

Read the content in the clipboard as plain text.

Implementations on Foreign Types

Implementors