windows::Win32::Graphics::Printing

Trait IPrintPreviewDxgiPackageTarget_Impl

pub trait IPrintPreviewDxgiPackageTarget_Impl: IUnknownImpl {
    // Required methods
    fn SetJobPageCount(
        &self,
        counttype: PageCountType,
        count: u32,
    ) -> Result<()>;
    fn DrawPage(
        &self,
        jobpagenumber: u32,
        pageimage: Ref<'_, IDXGISurface>,
        dpix: f32,
        dpiy: f32,
    ) -> Result<()>;
    fn InvalidatePreview(&self) -> Result<()>;
}

Required Methods§

fn SetJobPageCount(&self, counttype: PageCountType, count: u32) -> Result<()>

fn DrawPage( &self, jobpagenumber: u32, pageimage: Ref<'_, IDXGISurface>, dpix: f32, dpiy: f32, ) -> Result<()>

fn InvalidatePreview(&self) -> 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§