Struct smithay_client_toolkit::primary_selection::PrimarySelectionDevice[][src]

pub struct PrimarySelectionDevice { /* fields omitted */ }
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

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.