pub struct FindStartCompletedHandler(/* private fields */);Expand description
Implementation of ICoreWebView2FindStartCompletedHandler_Impl.
Implementations§
Source§impl FindStartCompletedHandler
impl FindStartCompletedHandler
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 FindStartCompletedHandler
impl FindStartCompletedHandler
pub fn create( closure: Box<dyn FnOnce(<HRESULT as ClosureArg>::Output) -> Result<()>>, ) -> ICoreWebView2FindStartCompletedHandler
pub fn wait_for_async_operation( closure: Box<dyn FnOnce(ICoreWebView2FindStartCompletedHandler) -> Result<()>>, completed: Box<dyn FnOnce(<HRESULT as ClosureArg>::Output) -> Result<()>>, ) -> Result<()>
Trait Implementations§
Source§impl ComObjectInner for FindStartCompletedHandler
impl ComObjectInner for FindStartCompletedHandler
Source§type Outer = FindStartCompletedHandler_Impl
type Outer = FindStartCompletedHandler_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<FindStartCompletedHandler> for ICoreWebView2FindStartCompletedHandler
impl From<FindStartCompletedHandler> for ICoreWebView2FindStartCompletedHandler
Source§fn from(this: FindStartCompletedHandler) -> Self
fn from(this: FindStartCompletedHandler) -> Self
Converts to this type from the input type.
Source§impl From<FindStartCompletedHandler> for IInspectable
impl From<FindStartCompletedHandler> for IInspectable
Source§fn from(this: FindStartCompletedHandler) -> Self
fn from(this: FindStartCompletedHandler) -> Self
Converts to this type from the input type.
Source§impl From<FindStartCompletedHandler> for IUnknown
impl From<FindStartCompletedHandler> for IUnknown
Source§fn from(this: FindStartCompletedHandler) -> Self
fn from(this: FindStartCompletedHandler) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for FindStartCompletedHandler
impl !RefUnwindSafe for FindStartCompletedHandler
impl !Send for FindStartCompletedHandler
impl !Sync for FindStartCompletedHandler
impl Unpin for FindStartCompletedHandler
impl !UnwindSafe for FindStartCompletedHandler
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