pub struct IFrnTrayIcon { /* private fields */ }Implementations§
Source§impl IFrnTrayIcon
impl IFrnTrayIcon
Sourcepub fn from_impl<T: IFrnTrayIconImpl + 'static>(
value: T,
) -> ComPtr<IFrnTrayIcon>
pub fn from_impl<T: IFrnTrayIconImpl + 'static>( value: T, ) -> ComPtr<IFrnTrayIcon>
Wraps a Rust implementation into a COM object native code can call.
IFrnTrayIcon::SetMenu
Sourcepub fn set_is_visible(&self, is_visible: bool) -> Result<(), HResult>
pub fn set_is_visible(&self, is_visible: bool) -> Result<(), HResult>
IFrnTrayIcon::SetIsVisible
Methods from Deref<Target = IUnknown>§
Trait Implementations§
Source§impl Deref for IFrnTrayIcon
impl Deref for IFrnTrayIcon
Source§impl<T: IFrnTrayIconImpl> ImplementedBy<T> for IFrnTrayIcon
impl<T: IFrnTrayIconImpl> ImplementedBy<T> for IFrnTrayIcon
const VTBL: &'static IFrnTrayIconVtbl
Source§impl Interface for IFrnTrayIcon
impl Interface for IFrnTrayIcon
type Vtbl = IFrnTrayIconVtbl
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 IFrnTrayIcon
impl !Sync for IFrnTrayIcon
impl Freeze for IFrnTrayIcon
impl RefUnwindSafe for IFrnTrayIcon
impl Unpin for IFrnTrayIcon
impl UnsafeUnpin for IFrnTrayIcon
impl UnwindSafe for IFrnTrayIcon
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