Struct terminal_clipboard::X11Clipboard
source · pub struct X11Clipboard { /* private fields */ }
Implementations§
source§impl X11Clipboard
impl X11Clipboard
pub fn new() -> Result<X11Clipboard, ClipboardError>
sourcepub fn verified() -> Result<X11Clipboard, ClipboardError>
pub fn verified() -> Result<X11Clipboard, ClipboardError>
return a X11 clipboard but only if it has been verified to be correctly working
Trait Implementations§
source§impl Clipboard for X11Clipboard
impl Clipboard for X11Clipboard
fn get_type(&self) -> &'static str
fn get_string(&self) -> Result<String, ClipboardError>
fn set_string(&mut self, s: &str) -> Result<(), ClipboardError>
Auto Trait Implementations§
impl RefUnwindSafe for X11Clipboard
impl Send for X11Clipboard
impl Sync for X11Clipboard
impl Unpin for X11Clipboard
impl UnwindSafe for X11Clipboard
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