pub trait ClipboardManager: Debug + Clone + Send + Sync {
    fn write_text<T: Into<String>>(&mut self, text: T) -> Result<()>;
    fn read_text(&self) -> Result<Option<String>>;
}
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