pub struct System;Expand description
The system clipboard as a Backend.
Trait Implementations§
Source§impl Backend for System
impl Backend for System
Source§fn set_rich(&mut self, content: &Rich, secret: bool) -> Result<()>
fn set_rich(&mut self, content: &Rich, secret: bool) -> Result<()>
Replace the content.
secret: ask clipboard history and monitoring tools to skip it.Source§fn rich(&mut self) -> Result<Rich>
fn rich(&mut self) -> Result<Rich>
The content as stored, before
read bounds and sanitizes it.fn clear(&mut self) -> Result<()>
Source§fn change_count(&mut self) -> Option<i64>
fn change_count(&mut self) -> Option<i64>
A counter that changes with every write by anyone, where the OS has one (macOS).
impl Copy for System
Auto Trait Implementations§
impl Forget for System
impl Freeze for System
impl Move for System
impl RefUnwindSafe for System
impl Send for System
impl Sync for System
impl Unpin for System
impl UnsafeUnpin for System
impl UnwindSafe for System
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more