[][src]Struct copypasta_ext::CombinedClipboardContext

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

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.

Trait Implementations

impl<G, S> ClipboardProvider for CombinedClipboardContext<G, S> where
    G: ClipboardProvider,
    S: ClipboardProvider
[src]

Auto Trait Implementations

impl<G, S> RefUnwindSafe for CombinedClipboardContext<G, S> where
    G: RefUnwindSafe,
    S: RefUnwindSafe

impl<G, S> Send for CombinedClipboardContext<G, S>

impl<G, S> Sync for CombinedClipboardContext<G, S> where
    G: Sync,
    S: Sync

impl<G, S> Unpin for CombinedClipboardContext<G, S> where
    G: Unpin,
    S: Unpin

impl<G, S> UnwindSafe for CombinedClipboardContext<G, S> where
    G: UnwindSafe,
    S: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.