windows::Win32::UI::Wpf

Trait IMILBitmapEffectImpl_Impl

pub trait IMILBitmapEffectImpl_Impl: IUnknownImpl {
    // Required methods
    fn IsInPlaceModificationAllowed(
        &self,
        poutputconnector: Ref<'_, IMILBitmapEffectOutputConnector>,
    ) -> Result<VARIANT_BOOL>;
    fn SetParentEffect(
        &self,
        pparenteffect: Ref<'_, IMILBitmapEffectGroup>,
    ) -> Result<()>;
    fn GetInputSource(&self, uiindex: u32) -> Result<IWICBitmapSource>;
    fn GetInputSourceBounds(
        &self,
        uiindex: u32,
        prect: *mut MilRectD,
    ) -> Result<()>;
    fn GetInputBitmapSource(
        &self,
        uiindex: u32,
        prendercontext: Ref<'_, IMILBitmapEffectRenderContext>,
        pfmodifyinplace: *mut VARIANT_BOOL,
    ) -> Result<IWICBitmapSource>;
    fn GetOutputBitmapSource(
        &self,
        uiindex: u32,
        prendercontext: Ref<'_, IMILBitmapEffectRenderContext>,
        pfmodifyinplace: *mut VARIANT_BOOL,
    ) -> Result<IWICBitmapSource>;
    fn Initialize(&self, pinner: Ref<'_, IUnknown>) -> Result<()>;
}

Required Methods§

fn IsInPlaceModificationAllowed( &self, poutputconnector: Ref<'_, IMILBitmapEffectOutputConnector>, ) -> Result<VARIANT_BOOL>

fn SetParentEffect( &self, pparenteffect: Ref<'_, IMILBitmapEffectGroup>, ) -> Result<()>

fn GetInputSource(&self, uiindex: u32) -> Result<IWICBitmapSource>

fn GetInputSourceBounds(&self, uiindex: u32, prect: *mut MilRectD) -> Result<()>

fn GetInputBitmapSource( &self, uiindex: u32, prendercontext: Ref<'_, IMILBitmapEffectRenderContext>, pfmodifyinplace: *mut VARIANT_BOOL, ) -> Result<IWICBitmapSource>

fn GetOutputBitmapSource( &self, uiindex: u32, prendercontext: Ref<'_, IMILBitmapEffectRenderContext>, pfmodifyinplace: *mut VARIANT_BOOL, ) -> Result<IWICBitmapSource>

fn Initialize(&self, pinner: Ref<'_, IUnknown>) -> 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§