windows::Win32::UI::Shell

Trait IMenuPopup_Impl

pub trait IMenuPopup_Impl: IDeskBar_Impl {
    // Required methods
    fn Popup(
        &self,
        ppt: *const POINTL,
        prcexclude: *const RECTL,
        dwflags: i32,
    ) -> Result<()>;
    fn OnSelect(&self, dwselecttype: u32) -> Result<()>;
    fn SetSubMenu(&self, pmp: Ref<'_, IMenuPopup>, fset: BOOL) -> Result<()>;
}

Required Methods§

fn Popup( &self, ppt: *const POINTL, prcexclude: *const RECTL, dwflags: i32, ) -> Result<()>

fn OnSelect(&self, dwselecttype: u32) -> Result<()>

fn SetSubMenu(&self, pmp: Ref<'_, IMenuPopup>, fset: 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§