pub struct ContextMenuRequestedEventHandler(/* private fields */);
Expand description
Implementation of ICoreWebView2ContextMenuRequestedEventHandler_Impl
.
Implementations§
Source§impl ContextMenuRequestedEventHandler
impl ContextMenuRequestedEventHandler
Sourcepub const fn into_static(self) -> StaticComObject<Self>
pub const fn into_static(self) -> StaticComObject<Self>
This converts a partially-constructed COM object (in the sense that it contains
application state but does not yet have vtable and reference count constructed)
into a StaticComObject
. This allows the COM object to be stored in static
(global) variables.
Trait Implementations§
Source§impl AsImpl<ContextMenuRequestedEventHandler> for ICoreWebView2ContextMenuRequestedEventHandler
impl AsImpl<ContextMenuRequestedEventHandler> for ICoreWebView2ContextMenuRequestedEventHandler
Source§impl ComObjectInner for ContextMenuRequestedEventHandler
impl ComObjectInner for ContextMenuRequestedEventHandler
Source§type Outer = ContextMenuRequestedEventHandler_Impl
type Outer = ContextMenuRequestedEventHandler_Impl
The generated
<foo>_Impl
type (aka the “boxed” type or “outer” type).Source§fn into_object(self) -> ComObject<Self>
fn into_object(self) -> ComObject<Self>
Moves an instance of this type into a new ComObject box and returns it. Read more
Source§impl From<ContextMenuRequestedEventHandler> for ICoreWebView2ContextMenuRequestedEventHandler
impl From<ContextMenuRequestedEventHandler> for ICoreWebView2ContextMenuRequestedEventHandler
Source§fn from(this: ContextMenuRequestedEventHandler) -> Self
fn from(this: ContextMenuRequestedEventHandler) -> Self
Converts to this type from the input type.
Source§impl From<ContextMenuRequestedEventHandler> for IInspectable
impl From<ContextMenuRequestedEventHandler> for IInspectable
Source§fn from(this: ContextMenuRequestedEventHandler) -> Self
fn from(this: ContextMenuRequestedEventHandler) -> Self
Converts to this type from the input type.
Source§impl From<ContextMenuRequestedEventHandler> for IUnknown
impl From<ContextMenuRequestedEventHandler> for IUnknown
Source§fn from(this: ContextMenuRequestedEventHandler) -> Self
fn from(this: ContextMenuRequestedEventHandler) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for ContextMenuRequestedEventHandler
impl !RefUnwindSafe for ContextMenuRequestedEventHandler
impl !Send for ContextMenuRequestedEventHandler
impl !Sync for ContextMenuRequestedEventHandler
impl Unpin for ContextMenuRequestedEventHandler
impl !UnwindSafe for ContextMenuRequestedEventHandler
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