pub struct CombinedClipboardContext<G, S>(pub G, pub S) 
where
    G: ClipboardProvider,
    S: ClipboardProvider
;
Expand description

Combined, use different clipboard context for getting & setting.

Useful to combine different clipboard contexts to get the best of both worlds.

This may be constructed using helpers such as X11BinClipboardContext::new_with_x11 or X11BinClipboardContext::with_x11.

Tuple Fields

0: G1: S

Trait Implementations

Method to get the clipboard contents as a String

Method to set the clipboard contents as a String

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.