pub struct FocusChangedEventHandler(/* private fields */);
Expand description
Implementation of ICoreWebView2FocusChangedEventHandler_Impl
.
Implementations§
Source§impl FocusChangedEventHandler
impl FocusChangedEventHandler
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.
Source§impl FocusChangedEventHandler
impl FocusChangedEventHandler
pub fn create( closure: EventClosure<Option<ICoreWebView2Controller>, Option<IUnknown>>, ) -> ICoreWebView2FocusChangedEventHandler
Trait Implementations§
Source§impl AsImpl<FocusChangedEventHandler> for IUnknown
impl AsImpl<FocusChangedEventHandler> for IUnknown
Source§impl ComObjectInner for FocusChangedEventHandler
impl ComObjectInner for FocusChangedEventHandler
Source§type Outer = FocusChangedEventHandler_Impl
type Outer = FocusChangedEventHandler_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<FocusChangedEventHandler> for ICoreWebView2FocusChangedEventHandler
impl From<FocusChangedEventHandler> for ICoreWebView2FocusChangedEventHandler
Source§fn from(this: FocusChangedEventHandler) -> Self
fn from(this: FocusChangedEventHandler) -> Self
Converts to this type from the input type.
Source§impl From<FocusChangedEventHandler> for IInspectable
impl From<FocusChangedEventHandler> for IInspectable
Source§fn from(this: FocusChangedEventHandler) -> Self
fn from(this: FocusChangedEventHandler) -> Self
Converts to this type from the input type.
Source§impl From<FocusChangedEventHandler> for IUnknown
impl From<FocusChangedEventHandler> for IUnknown
Source§fn from(this: FocusChangedEventHandler) -> Self
fn from(this: FocusChangedEventHandler) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for FocusChangedEventHandler
impl !RefUnwindSafe for FocusChangedEventHandler
impl !Send for FocusChangedEventHandler
impl !Sync for FocusChangedEventHandler
impl Unpin for FocusChangedEventHandler
impl !UnwindSafe for FocusChangedEventHandler
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