[−][src]Struct copypasta_ext::CombinedClipboardContext
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]
G: ClipboardProvider,
S: ClipboardProvider,
fn get_contents(&mut self) -> ClipResult<String>
[src]
fn set_contents(&mut self, contents: String) -> ClipResult<()>
[src]
Auto Trait Implementations
impl<G, S> RefUnwindSafe for CombinedClipboardContext<G, S> where
G: RefUnwindSafe,
S: RefUnwindSafe,
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,
G: Sync,
S: Sync,
impl<G, S> Unpin for CombinedClipboardContext<G, S> where
G: Unpin,
S: Unpin,
G: Unpin,
S: Unpin,
impl<G, S> UnwindSafe for CombinedClipboardContext<G, S> where
G: UnwindSafe,
S: UnwindSafe,
G: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,