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