pub trait ClipboardManager: Debug + Clone + Send + Sync {
    fn write_text<T>(&mut self, text: T) -> Result<(), Error>
    where
        T: Into<String>
; fn read_text(&self) -> Result<Option<String>, Error>; }
Available on crate feature clipboard only.
Expand description

Clipboard manager.

Required Methods§

Writes the text into the clipboard as plain text.

Read the content in the clipboard as plain text.

Implementors§