Trait tauri::ClipboardManager
source · 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.