Expand description
Getting the offered MIME types and the clipboard contents once with get_contents.
To watch for selection changes continuously instead, see crate::watch.
Enums§
- Clipboard
Type - The clipboard to operate on.
- Error
- Errors that can occur for pasting and listing MIME types.
- Mime
Type - MIME types that can be requested from the clipboard.
- Seat
- Seat to operate on.
Functions§
- get_
contents - Retrieves the clipboard contents.
- get_
mime_ types - Retrieves the offered MIME types.
- get_
mime_ types_ ordered - Retrieves the offered MIME types, preserving their original order.
- select_
mime_ type - Selects the best MIME type from
availableaccording torequested.