pub trait Clipboard {
// Required methods
fn read(&self, kind: Kind) -> Option<String>;
fn write(&mut self, kind: Kind, contents: String);
}
Expand description
A buffer for short-term storage and transfer within and between applications.
pub trait Clipboard {
// Required methods
fn read(&self, kind: Kind) -> Option<String>;
fn write(&mut self, kind: Kind, contents: String);
}
A buffer for short-term storage and transfer within and between applications.