[][src]Enum gdk::DragProtocol

#[non_exhaustive]pub enum DragProtocol {
    None,
    Motif,
    Xdnd,
    Rootwin,
    Win32Dropfiles,
    Ole2,
    Local,
    Wayland,
    // some variants omitted
}

Used in DragContext to indicate the protocol according to which DND is done.

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
None

no protocol.

Motif

The Motif DND protocol. No longer supported

Xdnd

The Xdnd protocol.

Rootwin

An extension to the Xdnd protocol for unclaimed root window drops.

Win32Dropfiles

The simple WM_DROPFILES protocol.

Ole2

The complex OLE2 DND protocol (not implemented).

Local

Intra-application DND.

Wayland

Wayland DND protocol.

Trait Implementations

impl Clone for DragProtocol[src]

impl Copy for DragProtocol[src]

impl Debug for DragProtocol[src]

impl Display for DragProtocol[src]

impl Eq for DragProtocol[src]

impl<'a> FromValue<'a> for DragProtocol[src]

impl<'a> FromValueOptional<'a> for DragProtocol[src]

impl Hash for DragProtocol[src]

impl Ord for DragProtocol[src]

impl PartialEq<DragProtocol> for DragProtocol[src]

impl PartialOrd<DragProtocol> for DragProtocol[src]

impl SetValue for DragProtocol[src]

impl StaticType for DragProtocol[src]

impl StructuralEq for DragProtocol[src]

impl StructuralPartialEq for DragProtocol[src]

Auto Trait Implementations

impl RefUnwindSafe for DragProtocol

impl Send for DragProtocol

impl Sync for DragProtocol

impl Unpin for DragProtocol

impl UnwindSafe for DragProtocol

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> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized

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.