pub struct Set<'clipboard> { /* private fields */ }
Expand description
A builder for an operation that sets a value to the clipboard.
Implementations§
Trait Implementations§
Source§impl SetExtLinux for Set<'_>
impl SetExtLinux for Set<'_>
Source§fn wait(self) -> Self
fn wait(self) -> Self
Whether to wait for the clipboard’s contents to be replaced after setting it. Read more
Source§fn clipboard(self, selection: LinuxClipboardKind) -> Self
fn clipboard(self, selection: LinuxClipboardKind) -> Self
Sets the clipboard the operation will store its data to. Read more
Source§fn wait_until(self, deadline: Instant) -> Self
fn wait_until(self, deadline: Instant) -> Self
Whether or not to wait for the clipboard’s content to be replaced after setting it. This waits until the
deadline
has exceeded. Read moreSource§fn exclude_from_history(self) -> Self
fn exclude_from_history(self) -> Self
Excludes the data which will be set on the clipboard from being added to
the desktop clipboard managers’ histories by adding the MIME-Type
x-kde-passwordMangagerHint
to the clipboard’s selection data. Read moreAuto Trait Implementations§
impl<'clipboard> Freeze for Set<'clipboard>
impl<'clipboard> !RefUnwindSafe for Set<'clipboard>
impl<'clipboard> Send for Set<'clipboard>
impl<'clipboard> Sync for Set<'clipboard>
impl<'clipboard> Unpin for Set<'clipboard>
impl<'clipboard> !UnwindSafe for Set<'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