Skip to main content

Module watch

Module watch 

Source
Expand description

Watching the clipboard for selection changes with a Watcher.

Structsยง

CancelHandle
Handle used to stop a running Watcher from another thread.
Offer
The data offer accompanying a ClipboardEvent, borrowed from its Watcher.
OwnedOffer ๐Ÿ”’
SelectionEvent ๐Ÿ”’
Pending selection event to report from the watch loop.
SelectionOffer ๐Ÿ”’
State ๐Ÿ”’
Watcher
Watches the clipboard for selection changes.

Enumsยง

ClipboardEvent
A clipboard selection event reported by Watcher::next_event.
ClipboardType
The clipboard to watch.