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