Struct winsafe::IDropTarget
source · pub struct IDropTarget(/* private fields */);
Available on crate feature
ole
only.Expand description
IDropTarget
COM interface over IDropTargetVT
.
Automatically calls
Release
when the object goes out of scope.
Implementations§
source§impl IDropTarget
impl IDropTarget
source§impl IDropTarget
impl IDropTarget
sourcepub fn DragEnter<F>(&self, func: F)
pub fn DragEnter<F>(&self, func: F)
IDropTarget::DragEnter
method.
sourcepub fn DragLeave<F>(&self, func: F)
pub fn DragLeave<F>(&self, func: F)
IDropTarget::DragLeave
method.
sourcepub fn DragOver<F>(&self, func: F)
pub fn DragOver<F>(&self, func: F)
IDropTarget::DragOver
method.
sourcepub fn Drop<F>(&self, func: F)
pub fn Drop<F>(&self, func: F)
IDropTarget::Drop
method.
Trait Implementations§
source§impl Clone for IDropTarget
impl Clone for IDropTarget
source§impl Drop for IDropTarget
impl Drop for IDropTarget
source§impl ole_IUnknown for IDropTarget
impl ole_IUnknown for IDropTarget
source§unsafe fn from_ptr(_p: *mut c_void) -> Self
unsafe fn from_ptr(_p: *mut c_void) -> Self
Creates an object from a COM virtual table pointer. Read more
source§unsafe fn as_mut(&mut self) -> &mut *mut c_void
unsafe fn as_mut(&mut self) -> &mut *mut c_void
Returns a mutable reference do the underlying COM virtual table pointer. Read more
source§fn ptr(&self) -> *mut c_void
fn ptr(&self) -> *mut c_void
Returns the pointer to the underlying COM virtual table. Read more
source§fn QueryInterface<T>(&self) -> HrResult<T>where
T: ole_IUnknown,
fn QueryInterface<T>(&self) -> HrResult<T>where
T: ole_IUnknown,
IUnknown::QueryInterface
method.impl Send for IDropTarget
Auto Trait Implementations§
impl Freeze for IDropTarget
impl !RefUnwindSafe for IDropTarget
impl !Sync for IDropTarget
impl Unpin for IDropTarget
impl !UnwindSafe for IDropTarget
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more