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