logo
pub trait Clipboard {
    fn read(&self) -> Option<String>;
    fn write(&mut self, contents: String);
}
Expand description

A buffer for short-term storage and transfer within and between applications.

Required Methods

Reads the current content of the Clipboard as text.

Writes the given text contents to the Clipboard.

Implementors