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