pub struct CreateCoreWebView2CompositionControllerCompletedHandler(/* private fields */);
Expand description
Implementation of ICoreWebView2CreateCoreWebView2CompositionControllerCompletedHandler_Impl
.
Implementations§
Source§impl CreateCoreWebView2CompositionControllerCompletedHandler
impl CreateCoreWebView2CompositionControllerCompletedHandler
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 CreateCoreWebView2CompositionControllerCompletedHandler
impl CreateCoreWebView2CompositionControllerCompletedHandler
pub fn create( closure: CompletedClosure<HRESULT, Option<ICoreWebView2CompositionController>>, ) -> ICoreWebView2CreateCoreWebView2CompositionControllerCompletedHandler
pub fn wait_for_async_operation( closure: Box<dyn FnOnce(ICoreWebView2CreateCoreWebView2CompositionControllerCompletedHandler) -> Result<()>>, completed: CompletedClosure<HRESULT, Option<ICoreWebView2CompositionController>>, ) -> Result<()>
Trait Implementations§
Source§impl AsImpl<CreateCoreWebView2CompositionControllerCompletedHandler> for ICoreWebView2CreateCoreWebView2CompositionControllerCompletedHandler
impl AsImpl<CreateCoreWebView2CompositionControllerCompletedHandler> for ICoreWebView2CreateCoreWebView2CompositionControllerCompletedHandler
Source§impl ComObjectInner for CreateCoreWebView2CompositionControllerCompletedHandler
impl ComObjectInner for CreateCoreWebView2CompositionControllerCompletedHandler
Source§type Outer = CreateCoreWebView2CompositionControllerCompletedHandler_Impl
type Outer = CreateCoreWebView2CompositionControllerCompletedHandler_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<CreateCoreWebView2CompositionControllerCompletedHandler> for ICoreWebView2CreateCoreWebView2CompositionControllerCompletedHandler
impl From<CreateCoreWebView2CompositionControllerCompletedHandler> for ICoreWebView2CreateCoreWebView2CompositionControllerCompletedHandler
Source§fn from(this: CreateCoreWebView2CompositionControllerCompletedHandler) -> Self
fn from(this: CreateCoreWebView2CompositionControllerCompletedHandler) -> Self
Converts to this type from the input type.
Source§impl From<CreateCoreWebView2CompositionControllerCompletedHandler> for IInspectable
impl From<CreateCoreWebView2CompositionControllerCompletedHandler> for IInspectable
Source§fn from(this: CreateCoreWebView2CompositionControllerCompletedHandler) -> Self
fn from(this: CreateCoreWebView2CompositionControllerCompletedHandler) -> Self
Converts to this type from the input type.
Source§impl From<CreateCoreWebView2CompositionControllerCompletedHandler> for IUnknown
impl From<CreateCoreWebView2CompositionControllerCompletedHandler> for IUnknown
Source§fn from(this: CreateCoreWebView2CompositionControllerCompletedHandler) -> Self
fn from(this: CreateCoreWebView2CompositionControllerCompletedHandler) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for CreateCoreWebView2CompositionControllerCompletedHandler
impl !RefUnwindSafe for CreateCoreWebView2CompositionControllerCompletedHandler
impl !Send for CreateCoreWebView2CompositionControllerCompletedHandler
impl !Sync for CreateCoreWebView2CompositionControllerCompletedHandler
impl Unpin for CreateCoreWebView2CompositionControllerCompletedHandler
impl !UnwindSafe for CreateCoreWebView2CompositionControllerCompletedHandler
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