#[repr(C)]
pub struct HDROP { /* fields omitted */ }
Expand description
The null, invalid handle.
This constant is common to all handle types.
Creates a new handle instance by wrapping a pointer.
This method is common to all handle types.
Consumes the handle returning the underlying raw pointer.
This method is common to all handle types.
Tells if the handle is invalid (null).
This method is common to all handle types.
Consumes the handle into an option, which is None
if the handle
pointer is null.
This method is common to all handle types.
This method is a wrapper that calls the native
DragQueryFile
repeatedly to retrieve all files, then calls the native
DragFinish
.
Retrieve all files at once:
let files = hdrop.DragQueryFiles()?;
for f in files.iter() {
println!("File path: {}", f);
}
DragQueryPoint
method.
Returns the coordinates and whether the drop occurred in the client
area of the window
Formats the value using the given formatter.
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
Formats the value using the given formatter. Read more
Formats the value using the given formatter.
Formats the value using the given formatter.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Formats the value using the given formatter.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
Converts the given value to a String
. Read more
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.