pub struct PrimarySelectionDevice { /* private fields */ }
Expand description

Handle to support primary selection on a given seat.

This type provides you with copy/paste actions. It is associated with a seat upon creation.

Implementations

Create the PrimarySelectionDevice helper for this seat.

Provide a primary selection source as the new content for the primary selection.

Correspond to traditional copy/paste behavior. Setting the source to None will clear the selection.

Access the PrimarySelectionOffer currently associated with the primary selection buffer.

Trait Implementations

Formats the value using the given formatter. Read more

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.