pub struct IDropTarget(/* private fields */);
Implementations§
Source§impl IDropTarget
impl IDropTarget
pub unsafe fn DragEnter<'a>( &self, pdataobj: impl IntoParam<'a, IDataObject>, grfkeystate: u32, pt: impl IntoParam<'a, POINTL>, pdweffect: *mut u32, ) -> Result<()>
pub unsafe fn DragOver<'a>( &self, grfkeystate: u32, pt: impl IntoParam<'a, POINTL>, pdweffect: *mut u32, ) -> Result<()>
pub unsafe fn DragLeave(&self) -> Result<()>
pub unsafe fn Drop<'a>( &self, pdataobj: impl IntoParam<'a, IDataObject>, grfkeystate: u32, pt: impl IntoParam<'a, POINTL>, pdweffect: *mut u32, ) -> Result<()>
Trait Implementations§
Source§impl Clone for IDropTarget
impl Clone for IDropTarget
Source§fn clone(&self) -> IDropTarget
fn clone(&self) -> IDropTarget
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for IDropTarget
impl Debug for IDropTarget
Source§impl From<&IDropTarget> for IUnknown
impl From<&IDropTarget> for IUnknown
Source§fn from(value: &IDropTarget) -> Self
fn from(value: &IDropTarget) -> Self
Converts to this type from the input type.
Source§impl From<IDropTarget> for IUnknown
impl From<IDropTarget> for IUnknown
Source§fn from(value: IDropTarget) -> Self
fn from(value: IDropTarget) -> Self
Converts to this type from the input type.
Source§impl Interface for IDropTarget
impl Interface for IDropTarget
const IID: Guid
type Vtable = IDropTarget_abi
Source§unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
Safety Read more
Source§unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
Safety Read more
Source§impl PartialEq for IDropTarget
impl PartialEq for IDropTarget
impl Eq for IDropTarget
impl StructuralPartialEq for IDropTarget
Auto Trait Implementations§
impl Freeze for IDropTarget
impl RefUnwindSafe for IDropTarget
impl !Send for IDropTarget
impl !Sync for IDropTarget
impl Unpin for IDropTarget
impl UnwindSafe for IDropTarget
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
type DefaultType = Option<T>
Source§fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
Converts from
Self::DefaultType
to Result<T>
.Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
fn drop_param(_: &mut Param<'_, Self>)
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