iced/native/src/clipboard.rs
2019-12-18 07:45:49 +01:00

8 lines
269 B
Rust

/// A buffer for short-term storage and transfer within and between
/// applications.
pub trait Clipboard {
/// Returns the current content of the [`Clipboard`] as text.
///
/// [`Clipboard`]: trait.Clipboard.html
fn content(&self) -> Option<String>;
}