[][src]Enum wl_clipboard_rs::copy::ClipboardType

pub enum ClipboardType {
    Regular,
    Primary,
    Both,
}

The clipboard to operate on.

Variants

Regular

The regular clipboard.

Primary

The "primary" clipboard.

Working with the "primary" clipboard requires the compositor to support the data-control protocol of version 2 or above.

Both

Operate on both clipboards at once.

Useful for atomically setting both clipboards at once. This option requires the "primary" clipboard to be supported.

Trait Implementations

impl Clone for ClipboardType[src]

impl Copy for ClipboardType[src]

impl Debug for ClipboardType[src]

impl Default for ClipboardType[src]

impl Eq for ClipboardType[src]

impl Hash for ClipboardType[src]

impl Ord for ClipboardType[src]

impl PartialEq<ClipboardType> for ClipboardType[src]

impl PartialOrd<ClipboardType> for ClipboardType[src]

impl StructuralEq for ClipboardType[src]

impl StructuralPartialEq for ClipboardType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Send + Sync + Any

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<N> NodeTrait for N where
    N: Copy + Ord + Hash
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,