Struct webview2_com::TrySuspendCompletedHandler
source · [−]pub struct TrySuspendCompletedHandler(_);
Expand description
Implementation of ICoreWebView2TrySuspendCompletedHandler
.
Implementations
sourceimpl 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
sourceimpl AsImpl<TrySuspendCompletedHandler> for ICoreWebView2TrySuspendCompletedHandler
impl AsImpl<TrySuspendCompletedHandler> for ICoreWebView2TrySuspendCompletedHandler
fn as_impl(&self) -> &TrySuspendCompletedHandler
sourceimpl From<TrySuspendCompletedHandler> for ICoreWebView2TrySuspendCompletedHandler
impl From<TrySuspendCompletedHandler> for ICoreWebView2TrySuspendCompletedHandler
sourcefn from(this: TrySuspendCompletedHandler) -> Self
fn from(this: TrySuspendCompletedHandler) -> Self
Converts to this type from the input type.
sourceimpl From<TrySuspendCompletedHandler> for IInspectable
impl From<TrySuspendCompletedHandler> for IInspectable
sourcefn from(this: TrySuspendCompletedHandler) -> Self
fn from(this: TrySuspendCompletedHandler) -> Self
Converts to this type from the input type.
sourceimpl From<TrySuspendCompletedHandler> for IUnknown
impl From<TrySuspendCompletedHandler> for IUnknown
sourcefn from(this: TrySuspendCompletedHandler) -> Self
fn from(this: TrySuspendCompletedHandler) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for TrySuspendCompletedHandler
impl !Send for TrySuspendCompletedHandler
impl !Sync for TrySuspendCompletedHandler
impl Unpin for TrySuspendCompletedHandler
impl !UnwindSafe for TrySuspendCompletedHandler
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more