Struct webview2_com::PrintToPdfCompletedHandler
source · [−]pub struct PrintToPdfCompletedHandler(_);
Expand description
Implementation of ICoreWebView2PrintToPdfCompletedHandler
.
Implementations
sourceimpl 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
sourceimpl From<&'_ mut PrintToPdfCompletedHandler> for ICoreWebView2PrintToPdfCompletedHandler
impl From<&'_ mut PrintToPdfCompletedHandler> for ICoreWebView2PrintToPdfCompletedHandler
sourcefn from(implementation: &mut PrintToPdfCompletedHandler) -> Self
fn from(implementation: &mut PrintToPdfCompletedHandler) -> Self
Performs the conversion.
sourceimpl From<PrintToPdfCompletedHandler> for ICoreWebView2PrintToPdfCompletedHandler
impl From<PrintToPdfCompletedHandler> for ICoreWebView2PrintToPdfCompletedHandler
sourcefn from(implementation: PrintToPdfCompletedHandler) -> Self
fn from(implementation: PrintToPdfCompletedHandler) -> Self
Performs the conversion.
sourceimpl From<PrintToPdfCompletedHandler> for IUnknown
impl From<PrintToPdfCompletedHandler> for IUnknown
sourcefn from(implementation: PrintToPdfCompletedHandler) -> Self
fn from(implementation: PrintToPdfCompletedHandler) -> Self
Performs the conversion.
sourceimpl From<PrintToPdfCompletedHandler> for IInspectable
impl From<PrintToPdfCompletedHandler> for IInspectable
sourcefn from(implementation: PrintToPdfCompletedHandler) -> Self
fn from(implementation: PrintToPdfCompletedHandler) -> Self
Performs the conversion.
sourceimpl ToImpl<ICoreWebView2PrintToPdfCompletedHandler> for PrintToPdfCompletedHandler
impl ToImpl<ICoreWebView2PrintToPdfCompletedHandler> for PrintToPdfCompletedHandler
sourceunsafe fn to_impl(
interface: &ICoreWebView2PrintToPdfCompletedHandler
) -> &mut Self
unsafe fn to_impl(
interface: &ICoreWebView2PrintToPdfCompletedHandler
) -> &mut Self
Safety
Auto Trait Implementations
impl !RefUnwindSafe for PrintToPdfCompletedHandler
impl !Send for PrintToPdfCompletedHandler
impl !Sync for PrintToPdfCompletedHandler
impl Unpin for PrintToPdfCompletedHandler
impl !UnwindSafe for PrintToPdfCompletedHandler
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more