Struct smithay_clipboard::Clipboard[][src]

pub struct Clipboard { /* fields omitted */ }
Expand description

Access to a Wayland clipboard.

Implementations

Creates new clipboard which will be running on its own thread with its own event queue to handle clipboard requests.

Safety

display must be a valid *mut wl_display pointer, and it must remain valid for as long as Clipboard object is alive.

Load clipboard data.

Loads content from a clipboard on a last observed seat.

Store to a clipboard.

Stores to a clipboard on a last observed seat.

Load primary clipboard data.

Loads content from a primary clipboard on a last observed seat.

Store to a primary clipboard.

Stores to a primary clipboard on a last observed seat.

Trait Implementations

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.