Trait tauri_runtime::ClipboardManager
source · [−]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.