diff options
author | 2021-09-02 15:12:55 +0700 | |
---|---|---|
committer | 2021-09-02 15:12:55 +0700 | |
commit | 7a335a0408b3ee426949a1936255666bc3383ea9 (patch) | |
tree | 01894e388d1629c181446c6f41b2204906726841 /src | |
parent | 6887afdb2c71429fa032d68f2ee3a4a075ecca1d (diff) | |
download | iced-7a335a0408b3ee426949a1936255666bc3383ea9.tar.gz iced-7a335a0408b3ee426949a1936255666bc3383ea9.tar.bz2 iced-7a335a0408b3ee426949a1936255666bc3383ea9.zip |
Implement and expose `read` and `write` helpers for `clipboard`
Diffstat (limited to 'src')
-rw-r--r-- | src/clipboard.rs | 3 | ||||
-rw-r--r-- | src/lib.rs | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/clipboard.rs b/src/clipboard.rs new file mode 100644 index 00000000..dde17051 --- /dev/null +++ b/src/clipboard.rs @@ -0,0 +1,3 @@ +//! Access the clipboard. +#[cfg(not(target_arch = "wasm32"))] +pub use crate::runtime::clipboard::{read, write}; @@ -183,6 +183,7 @@ mod error; mod result; mod sandbox; +pub mod clipboard; pub mod executor; pub mod keyboard; pub mod mouse; |