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.
Trait Implementations§
source§impl Clone for IDropTarget
impl Clone for IDropTarget
source§impl Drop for IDropTarget
impl Drop for IDropTarget
source§impl ole_IDropTarget for IDropTarget
impl ole_IDropTarget for IDropTarget
source§fn DragEnter(
&self,
data_obj: &impl ole_IDataObject,
key_state: MK,
pt: POINT,
effect: DROPEFFECT
) -> HrResult<DROPEFFECT>
fn DragEnter( &self, data_obj: &impl ole_IDataObject, key_state: MK, pt: POINT, effect: DROPEFFECT ) -> HrResult<DROPEFFECT>
IDropTarget::DragEnter
method.source§fn DragOver(
&self,
key_state: MK,
pt: POINT,
effect: DROPEFFECT
) -> HrResult<DROPEFFECT>
fn DragOver( &self, key_state: MK, pt: POINT, effect: DROPEFFECT ) -> HrResult<DROPEFFECT>
IDropTarget::DragOver
method.source§fn Drop(
&self,
data_obj: &impl ole_IDataObject,
key_state: MK,
pt: POINT,
effect: DROPEFFECT
) -> HrResult<DROPEFFECT>
fn Drop( &self, data_obj: &impl ole_IDataObject, key_state: MK, pt: POINT, effect: DROPEFFECT ) -> HrResult<DROPEFFECT>
IDropTarget::Drop
method.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 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