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