[]Enum piston_window::FileDrag

pub enum FileDrag {
    Hover(PathBuf),
    Drop(PathBuf),
    Cancel,
}

Models dragging and dropping files.

Variants

Hover(PathBuf)

A file is being hovered over the window.

Drop(PathBuf)

A file has been dropped into the window.

Cancel

A file was hovered, but has exited the window.

Trait Implementations

impl Clone for FileDrag

impl Debug for FileDrag

impl<'de> Deserialize<'de> for FileDrag

impl Eq for FileDrag

impl Hash for FileDrag

impl Ord for FileDrag

impl PartialEq<FileDrag> for FileDrag

impl PartialOrd<FileDrag> for FileDrag

impl Serialize for FileDrag

impl StructuralEq for FileDrag

impl StructuralPartialEq for FileDrag

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.