summaryrefslogtreecommitdiffstats
path: root/web/src/clipboard.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2021-09-13 11:49:06 +0700
committerLibravatar GitHub <noreply@github.com>2021-09-13 11:49:06 +0700
commit93fec8d273ef8305e1c2456abe0c8ecd7a9d9407 (patch)
treec0c2445703133293b13657ab4f9c1c936e9cd688 /web/src/clipboard.rs
parent589f68df0f647d93f2b9dd7bf29cfacb0201351c (diff)
parent01b945b9814b9dc546e783a6dab66e4f7fe49786 (diff)
downloadiced-93fec8d273ef8305e1c2456abe0c8ecd7a9d9407.tar.gz
iced-93fec8d273ef8305e1c2456abe0c8ecd7a9d9407.tar.bz2
iced-93fec8d273ef8305e1c2456abe0c8ecd7a9d9407.zip
Merge pull request #1019 from hecrj/command-actions
Platform-specific `Command` implementations
Diffstat (limited to 'web/src/clipboard.rs')
-rw-r--r--web/src/clipboard.rs21
1 files changed, 0 insertions, 21 deletions
diff --git a/web/src/clipboard.rs b/web/src/clipboard.rs
deleted file mode 100644
index 167a1e53..00000000
--- a/web/src/clipboard.rs
+++ /dev/null
@@ -1,21 +0,0 @@
-/// A buffer for short-term storage and transfer within and between
-/// applications.
-#[derive(Debug, Clone, Copy)]
-pub struct Clipboard;
-
-impl Clipboard {
- /// Creates a new [`Clipboard`].
- pub fn new() -> Self {
- Self
- }
-
- /// Reads the current content of the [`Clipboard`] as text.
- pub fn read(&self) -> Option<String> {
- unimplemented! {}
- }
-
- /// Writes the given text contents to the [`Clipboard`].
- pub fn write(&mut self, _contents: String) {
- unimplemented! {}
- }
-}