Enum arboard::LinuxClipboardKind
source · [−]pub enum LinuxClipboardKind {
Clipboard,
Primary,
Secondary,
}
Expand description
Clipboard selection
Variants
Clipboard
Typically used selection for explicit cut/copy/paste actions (ie. windows/macos like clipboard behavior)
Primary
Typically used for mouse selections and/or currently selected text. Accessible via middle mouse click.
On Wayland, this may not be available for all systems (requires a compositor supporting version 2 or above) and operations using this will return an error if unsupported.
Secondary
The secondary clipboard is rarely used but theoretically available on X11.
On Wayland, this is not be available and operations using this variant will return an error.
Trait Implementations
sourceimpl Clone for LinuxClipboardKind
impl Clone for LinuxClipboardKind
sourcefn clone(&self) -> LinuxClipboardKind
fn clone(&self) -> LinuxClipboardKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for LinuxClipboardKind
impl Debug for LinuxClipboardKind
impl Copy for LinuxClipboardKind
Auto Trait Implementations
impl RefUnwindSafe for LinuxClipboardKind
impl Send for LinuxClipboardKind
impl Sync for LinuxClipboardKind
impl Unpin for LinuxClipboardKind
impl UnwindSafe for LinuxClipboardKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more