Struct windows::Win32::UI::Shell::IMenuPopup
pub struct IMenuPopup(/* private fields */);
Implementations§
§impl IMenuPopup
impl IMenuPopup
pub unsafe fn GetWindow(&self) -> Result<HWND>
pub unsafe fn ContextSensitiveHelp<P0>(&self, fentermode: P0) -> Result<()>where
P0: IntoParam<BOOL>,
pub unsafe fn SetClient<P0>(&self, punkclient: P0) -> Result<()>where
P0: IntoParam<IUnknown>,
pub unsafe fn GetClient(&self) -> Result<IUnknown>
pub unsafe fn OnPosRectChangeDB(&self, prc: *const RECT) -> Result<()>
pub unsafe fn Popup( &self, ppt: *const POINTL, prcexclude: Option<*const RECTL>, dwflags: i32 ) -> Result<()>
pub unsafe fn OnSelect(&self, dwselecttype: u32) -> Result<()>
pub unsafe fn SetSubMenu<P0, P1>(&self, pmp: P0, fset: P1) -> Result<()>where
P0: IntoParam<IMenuPopup>,
P1: IntoParam<BOOL>,
Trait Implementations§
§impl Clone for IMenuPopup
impl Clone for IMenuPopup
§fn clone(&self) -> IMenuPopup
fn clone(&self) -> IMenuPopup
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 more§impl Debug for IMenuPopup
impl Debug for IMenuPopup
§impl From<&IMenuPopup> for &IDeskBar
impl From<&IMenuPopup> for &IDeskBar
§fn from(value: &IMenuPopup) -> Self
fn from(value: &IMenuPopup) -> Self
Converts to this type from the input type.
§impl From<&IMenuPopup> for &IOleWindow
impl From<&IMenuPopup> for &IOleWindow
§fn from(value: &IMenuPopup) -> Self
fn from(value: &IMenuPopup) -> Self
Converts to this type from the input type.
§impl From<&IMenuPopup> for &IUnknown
impl From<&IMenuPopup> for &IUnknown
§fn from(value: &IMenuPopup) -> Self
fn from(value: &IMenuPopup) -> Self
Converts to this type from the input type.
§impl From<IMenuPopup> for IDeskBar
impl From<IMenuPopup> for IDeskBar
§fn from(value: IMenuPopup) -> Self
fn from(value: IMenuPopup) -> Self
Converts to this type from the input type.
§impl From<IMenuPopup> for IOleWindow
impl From<IMenuPopup> for IOleWindow
§fn from(value: IMenuPopup) -> Self
fn from(value: IMenuPopup) -> Self
Converts to this type from the input type.
§impl From<IMenuPopup> for IUnknown
impl From<IMenuPopup> for IUnknown
§fn from(value: IMenuPopup) -> Self
fn from(value: IMenuPopup) -> Self
Converts to this type from the input type.
§impl Interface for IMenuPopup
impl Interface for IMenuPopup
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for IMenuPopup
impl PartialEq for IMenuPopup
§fn eq(&self, other: &IMenuPopup) -> bool
fn eq(&self, other: &IMenuPopup) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IMenuPopup
impl StructuralPartialEq for IMenuPopup
Auto Trait Implementations§
impl RefUnwindSafe for IMenuPopup
impl !Send for IMenuPopup
impl !Sync for IMenuPopup
impl Unpin for IMenuPopup
impl UnwindSafe for IMenuPopup
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