windows::Win32::System::WinRT::Printing

Trait IPrintDocumentPageSource_Impl

pub trait IPrintDocumentPageSource_Impl: IUnknownImpl {
    // Required methods
    fn GetPreviewPageCollection(
        &self,
        docpackagetarget: Ref<'_, IPrintDocumentPackageTarget>,
    ) -> Result<IPrintPreviewPageCollection>;
    fn MakeDocument(
        &self,
        printtaskoptions: Ref<'_, IInspectable>,
        docpackagetarget: Ref<'_, IPrintDocumentPackageTarget>,
    ) -> Result<()>;
}

Required Methods§

fn GetPreviewPageCollection( &self, docpackagetarget: Ref<'_, IPrintDocumentPackageTarget>, ) -> Result<IPrintPreviewPageCollection>

fn MakeDocument( &self, printtaskoptions: Ref<'_, IInspectable>, docpackagetarget: Ref<'_, IPrintDocumentPackageTarget>, ) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§