euv_ui/hook/use_clipboard/struct.rs
1use super::*;
2
3/// Reactive state for the clipboard.
4///
5/// The handle carries the outcome of the last write. The write itself
6/// is asynchronous — the browser answers a promise — so the status is
7/// the reactive part.
8#[derive(Clone, CustomDebug, Data)]
9pub struct UseClipboard {
10 /// The outcome of the last write.
11 #[get(type(copy))]
12 pub status: Signal<UseClipboardStatus>,
13}