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