logo
pub struct Clipboard { /* private fields */ }
Expand description

A buffer for short-term storage and transfer within and between applications.

Implementations

Creates a new Clipboard for the given window.

Creates a new Clipboard that isn’t associated with a window. This clipboard will never contain a copied value.

Reads the current content of the Clipboard as text.

Writes the given text contents to the Clipboard.

Trait Implementations

Reads the current content of the Clipboard as text.

Writes the given text contents to the Clipboard.

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.