ori::core::clipboard

Trait ClipboardBackend

Source
pub trait ClipboardBackend {
    // Required methods
    fn get_text(&mut self) -> String;
    fn set_text(&mut self, text: &str);
}
Expand description

A clipboard backend.

Required Methods§

Source

fn get_text(&mut self) -> String

Get the clipboard text.

Source

fn set_text(&mut self, text: &str)

Set the clipboard text.

Implementors§