Struct native_windows_gui::DropFiles[][src]

pub struct DropFiles { /* fields omitted */ }

Opaque type over one or more dragged files.

Implementations

impl DropFiles[src]

pub fn point(&self) -> [i32; 2][src]

Retrieves the position of the mouse pointer at the time a file was dropped during a drag-and-drop operation. The coordinates are local to the control. Ex: (0, 0) is the top left corner of the control.

pub fn len(&self) -> usize[src]

Return the number of files dropped

pub fn files(&self) -> Vec<String>[src]

Return the files path dropped into the app

Trait Implementations

impl Debug for DropFiles[src]

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

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

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.