[][src]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[src]

impl Copy for DragEvent[src]

impl Debug for DragEvent[src]

Auto Trait Implementations

impl RefUnwindSafe for DragEvent

impl Send for DragEvent

impl Sync for DragEvent

impl Unpin for DragEvent

impl UnwindSafe for DragEvent

Blanket Implementations

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float
[src]

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, U> ConvertInto<U> for T where
    U: ConvertFrom<T>, 
[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>,