pub trait ClipboardProvider {
// Required methods
fn get_text(&mut self) -> Result<String, String>;
fn set_text(&mut self, _: String);
}
Expand description
A trait which abstracts access to the embedder’s clipboard in order to allow unit
testing clipboard-dependent parts of script
.