summaryrefslogtreecommitdiffstats
path: root/native/src/clipboard.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2021-03-10 01:16:26 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2021-03-10 01:16:26 +0100
commitb22b0dd7ff56d433c459e0d14e14eb5472a6224d (patch)
tree1c031a439897663ee8cd88cd8028606a05d6321f /native/src/clipboard.rs
parentbbca5c4bde6f9e6e54cca6cb216d38dfd3864e74 (diff)
downloadiced-b22b0dd7ff56d433c459e0d14e14eb5472a6224d.tar.gz
iced-b22b0dd7ff56d433c459e0d14e14eb5472a6224d.tar.bz2
iced-b22b0dd7ff56d433c459e0d14e14eb5472a6224d.zip
Update `window_clipboard` to `0.2`
Diffstat (limited to 'native/src/clipboard.rs')
-rw-r--r--native/src/clipboard.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/native/src/clipboard.rs b/native/src/clipboard.rs
index ecdccabf..3eeb184d 100644
--- a/native/src/clipboard.rs
+++ b/native/src/clipboard.rs
@@ -1,6 +1,6 @@
/// A buffer for short-term storage and transfer within and between
/// applications.
pub trait Clipboard {
- /// Returns the current content of the [`Clipboard`] as text.
- fn content(&self) -> Option<String>;
+ /// Reads the current content of the [`Clipboard`] as text.
+ fn read(&self) -> Option<String>;
}