windows::Win32::Graphics::Imaging

Trait IWICBitmap_Impl

pub trait IWICBitmap_Impl: IWICBitmapSource_Impl {
    // Required methods
    fn Lock(
        &self,
        prclock: *const WICRect,
        flags: u32,
    ) -> Result<IWICBitmapLock>;
    fn SetPalette(&self, pipalette: Ref<'_, IWICPalette>) -> Result<()>;
    fn SetResolution(&self, dpix: f64, dpiy: f64) -> Result<()>;
}

Required Methods§

fn Lock(&self, prclock: *const WICRect, flags: u32) -> Result<IWICBitmapLock>

fn SetPalette(&self, pipalette: Ref<'_, IWICPalette>) -> Result<()>

fn SetResolution(&self, dpix: f64, dpiy: f64) -> 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§