windows::Win32::Graphics::Imaging

Trait IWICFormatConverter_Impl

pub trait IWICFormatConverter_Impl: IWICBitmapSource_Impl {
    // Required methods
    fn Initialize(
        &self,
        pisource: Ref<'_, IWICBitmapSource>,
        dstformat: *const GUID,
        dither: WICBitmapDitherType,
        pipalette: Ref<'_, IWICPalette>,
        alphathresholdpercent: f64,
        palettetranslate: WICBitmapPaletteType,
    ) -> Result<()>;
    fn CanConvert(
        &self,
        srcpixelformat: *const GUID,
        dstpixelformat: *const GUID,
    ) -> Result<BOOL>;
}

Required Methods§

fn Initialize( &self, pisource: Ref<'_, IWICBitmapSource>, dstformat: *const GUID, dither: WICBitmapDitherType, pipalette: Ref<'_, IWICPalette>, alphathresholdpercent: f64, palettetranslate: WICBitmapPaletteType, ) -> Result<()>

fn CanConvert( &self, srcpixelformat: *const GUID, dstpixelformat: *const GUID, ) -> Result<BOOL>

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§