pub struct IMenuPopup(/* private fields */);
Implementations§
Source§impl IMenuPopup
impl IMenuPopup
pub unsafe fn GetWindow(&self) -> Result<HWND>
pub unsafe fn ContextSensitiveHelp<'a>( &self, fentermode: impl IntoParam<'a, BOOL>, ) -> Result<()>
pub unsafe fn SetClient<'a>( &self, punkclient: impl IntoParam<'a, IUnknown>, ) -> Result<()>
pub unsafe fn GetClient(&self) -> Result<IUnknown>
pub unsafe fn OnPosRectChangeDB(&self, prc: *mut RECT) -> Result<()>
pub unsafe fn Popup( &self, ppt: *mut POINTL, prcexclude: *mut RECTL, dwflags: i32, ) -> Result<()>
pub unsafe fn OnSelect(&self, dwselecttype: u32) -> Result<()>
pub unsafe fn SetSubMenu<'a>( &self, pmp: impl IntoParam<'a, IMenuPopup>, fset: impl IntoParam<'a, BOOL>, ) -> Result<()>
Trait Implementations§
Source§impl Clone for IMenuPopup
impl Clone for IMenuPopup
Source§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 moreSource§impl Debug for IMenuPopup
impl Debug for IMenuPopup
Source§impl From<&IMenuPopup> for IDeskBar
impl From<&IMenuPopup> for IDeskBar
Source§fn from(value: &IMenuPopup) -> Self
fn from(value: &IMenuPopup) -> Self
Converts to this type from the input type.
Source§impl From<&IMenuPopup> for IOleWindow
impl From<&IMenuPopup> for IOleWindow
Source§fn from(value: &IMenuPopup) -> Self
fn from(value: &IMenuPopup) -> Self
Converts to this type from the input type.
Source§impl From<&IMenuPopup> for IUnknown
impl From<&IMenuPopup> for IUnknown
Source§fn from(value: &IMenuPopup) -> Self
fn from(value: &IMenuPopup) -> Self
Converts to this type from the input type.
Source§impl From<IMenuPopup> for IDeskBar
impl From<IMenuPopup> for IDeskBar
Source§fn from(value: IMenuPopup) -> Self
fn from(value: IMenuPopup) -> Self
Converts to this type from the input type.
Source§impl From<IMenuPopup> for IOleWindow
impl From<IMenuPopup> for IOleWindow
Source§fn from(value: IMenuPopup) -> Self
fn from(value: IMenuPopup) -> Self
Converts to this type from the input type.
Source§impl From<IMenuPopup> for IUnknown
impl From<IMenuPopup> for IUnknown
Source§fn from(value: IMenuPopup) -> Self
fn from(value: IMenuPopup) -> Self
Converts to this type from the input type.
Source§impl Interface for IMenuPopup
impl Interface for IMenuPopup
const IID: Guid
type Vtable = IMenuPopup_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 IMenuPopup
impl PartialEq for IMenuPopup
impl Eq for IMenuPopup
impl StructuralPartialEq for IMenuPopup
Auto Trait Implementations§
impl Freeze for IMenuPopup
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> 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