[]Enum iced::widget::pane_grid::DragEvent

pub enum DragEvent {
    Picked {
        pane: Pane,
    },
    Dropped {
        pane: Pane,
        target: Pane,
    },
    Canceled {
        pane: Pane,
    },
}

An event produced during a drag and drop interaction of a PaneGrid.

Variants

Picked

A Pane was picked for dragging.

Fields of Picked

pane: Pane

The picked Pane.

Dropped

A Pane was dropped on top of another Pane.

Fields of Dropped

pane: Pane

The picked Pane.

target: Pane

The Pane where the picked one was dropped on.

Canceled

A Pane was picked and then dropped outside of other Pane boundaries.

Fields of Canceled

pane: Pane

The picked Pane.

Trait Implementations

impl Clone for DragEvent

impl Copy for DragEvent

impl Debug for DragEvent

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

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

impl<T> SetParameter for T

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>,