windows::Win32::UI::Shell

Trait INameSpaceTreeControlDropHandler_Impl

pub trait INameSpaceTreeControlDropHandler_Impl: IUnknownImpl {
    // Required methods
    fn OnDragEnter(
        &self,
        psiover: Ref<'_, IShellItem>,
        psiadata: Ref<'_, IShellItemArray>,
        foutsidesource: BOOL,
        grfkeystate: u32,
        pdweffect: *mut u32,
    ) -> Result<()>;
    fn OnDragOver(
        &self,
        psiover: Ref<'_, IShellItem>,
        psiadata: Ref<'_, IShellItemArray>,
        grfkeystate: u32,
        pdweffect: *mut u32,
    ) -> Result<()>;
    fn OnDragPosition(
        &self,
        psiover: Ref<'_, IShellItem>,
        psiadata: Ref<'_, IShellItemArray>,
        inewposition: i32,
        ioldposition: i32,
    ) -> Result<()>;
    fn OnDrop(
        &self,
        psiover: Ref<'_, IShellItem>,
        psiadata: Ref<'_, IShellItemArray>,
        iposition: i32,
        grfkeystate: u32,
        pdweffect: *mut u32,
    ) -> Result<()>;
    fn OnDropPosition(
        &self,
        psiover: Ref<'_, IShellItem>,
        psiadata: Ref<'_, IShellItemArray>,
        inewposition: i32,
        ioldposition: i32,
    ) -> Result<()>;
    fn OnDragLeave(&self, psiover: Ref<'_, IShellItem>) -> Result<()>;
}

Required Methods§

fn OnDragEnter( &self, psiover: Ref<'_, IShellItem>, psiadata: Ref<'_, IShellItemArray>, foutsidesource: BOOL, grfkeystate: u32, pdweffect: *mut u32, ) -> Result<()>

fn OnDragOver( &self, psiover: Ref<'_, IShellItem>, psiadata: Ref<'_, IShellItemArray>, grfkeystate: u32, pdweffect: *mut u32, ) -> Result<()>

fn OnDragPosition( &self, psiover: Ref<'_, IShellItem>, psiadata: Ref<'_, IShellItemArray>, inewposition: i32, ioldposition: i32, ) -> Result<()>

fn OnDrop( &self, psiover: Ref<'_, IShellItem>, psiadata: Ref<'_, IShellItemArray>, iposition: i32, grfkeystate: u32, pdweffect: *mut u32, ) -> Result<()>

fn OnDropPosition( &self, psiover: Ref<'_, IShellItem>, psiadata: Ref<'_, IShellItemArray>, inewposition: i32, ioldposition: i32, ) -> Result<()>

fn OnDragLeave(&self, psiover: Ref<'_, IShellItem>) -> 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§