pub(crate) struct Get<'clipboard> {
    clipboard: &'clipboard mut Clipboard,
    selection: LinuxClipboardKind,
}Fields§
§clipboard: &'clipboard mut Clipboard§selection: LinuxClipboardKindImplementations§
Source§impl<'clipboard> Get<'clipboard>
 
impl<'clipboard> Get<'clipboard>
pub(crate) fn new(clipboard: &'clipboard mut Clipboard) -> Self
pub(crate) fn text(self) -> Result<String, Error>
pub(crate) fn image(self) -> Result<ImageData<'static>, Error>
pub(crate) fn html(self) -> Result<String, Error>
pub(crate) fn file_list(self) -> Result<Vec<PathBuf>, Error>
Auto Trait Implementations§
impl<'clipboard> Freeze for Get<'clipboard>
impl<'clipboard> !RefUnwindSafe for Get<'clipboard>
impl<'clipboard> Send for Get<'clipboard>
impl<'clipboard> Sync for Get<'clipboard>
impl<'clipboard> Unpin for Get<'clipboard>
impl<'clipboard> !UnwindSafe for Get<'clipboard>
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
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more