windows::Win32::UI::Shell

Trait IDropTargetHelper_Impl

pub trait IDropTargetHelper_Impl: IUnknownImpl {
    // Required methods
    fn DragEnter(
        &self,
        hwndtarget: HWND,
        pdataobject: Ref<'_, IDataObject>,
        ppt: *const POINT,
        dweffect: DROPEFFECT,
    ) -> Result<()>;
    fn DragLeave(&self) -> Result<()>;
    fn DragOver(&self, ppt: *const POINT, dweffect: DROPEFFECT) -> Result<()>;
    fn Drop(
        &self,
        pdataobject: Ref<'_, IDataObject>,
        ppt: *const POINT,
        dweffect: DROPEFFECT,
    ) -> Result<()>;
    fn Show(&self, fshow: BOOL) -> Result<()>;
}

Required Methods§

fn DragEnter( &self, hwndtarget: HWND, pdataobject: Ref<'_, IDataObject>, ppt: *const POINT, dweffect: DROPEFFECT, ) -> Result<()>

fn DragLeave(&self) -> Result<()>

fn DragOver(&self, ppt: *const POINT, dweffect: DROPEFFECT) -> Result<()>

fn Drop( &self, pdataobject: Ref<'_, IDataObject>, ppt: *const POINT, dweffect: DROPEFFECT, ) -> Result<()>

fn Show(&self, fshow: BOOL) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§