pub struct IFrnMenu { /* private fields */ }Implementations§
Source§impl IFrnMenu
impl IFrnMenu
Sourcepub fn from_impl<T: IFrnMenuImpl + 'static>(value: T) -> ComPtr<IFrnMenu>
pub fn from_impl<T: IFrnMenuImpl + 'static>(value: T) -> ComPtr<IFrnMenu>
Wraps a Rust implementation into a COM object native code can call.
Sourcepub fn insert_item(
&self,
index: i32,
item: Option<&IFrnMenuItem>,
) -> Result<(), HResult>
pub fn insert_item( &self, index: i32, item: Option<&IFrnMenuItem>, ) -> Result<(), HResult>
IFrnMenu::InsertItem
Sourcepub fn remove_item(&self, item: Option<&IFrnMenuItem>) -> Result<(), HResult>
pub fn remove_item(&self, item: Option<&IFrnMenuItem>) -> Result<(), HResult>
IFrnMenu::RemoveItem
Methods from Deref<Target = IUnknown>§
Trait Implementations§
Source§impl<T: IFrnMenuImpl> ImplementedBy<T> for IFrnMenu
impl<T: IFrnMenuImpl> ImplementedBy<T> for IFrnMenu
const VTBL: &'static IFrnMenuVtbl
Source§impl Interface for IFrnMenu
impl Interface for IFrnMenu
type Vtbl = IFrnMenuVtbl
Source§fn matches_iid(iid: &Guid) -> bool
fn matches_iid(iid: &Guid) -> bool
true if iid names this interface or one of its bases (including
IUnknown). Both the IDL value and the value materialized by com.h
(see Guid::as_com_h_materialized) are accepted.fn as_unknown(&self) -> &IUnknown
fn as_raw(&self) -> *mut Self
Auto Trait Implementations§
impl !Send for IFrnMenu
impl !Sync for IFrnMenu
impl Freeze for IFrnMenu
impl RefUnwindSafe for IFrnMenu
impl Unpin for IFrnMenu
impl UnsafeUnpin for IFrnMenu
impl UnwindSafe for IFrnMenu
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more