iced-yoda/native/src/clipboard.rs

7 lines
212 B
Rust
Raw Normal View History

/// A buffer for short-term storage and transfer within and between
/// applications.
pub trait Clipboard {
2021-03-10 01:16:26 +01:00
/// Reads the current content of the [`Clipboard`] as text.
fn read(&self) -> Option<String>;
}