windows::Win32::Graphics::DirectComposition

Trait IDCompositionVisual3_Impl

pub trait IDCompositionVisual3_Impl: IDCompositionVisualDebug_Impl {
    // Required methods
    fn SetDepthMode(&self, mode: DCOMPOSITION_DEPTH_MODE) -> Result<()>;
    fn SetOffsetZ(
        &self,
        animation: Ref<'_, IDCompositionAnimation>,
    ) -> Result<()>;
    fn SetOffsetZ2(&self, offsetz: f32) -> Result<()>;
    fn SetOpacity(
        &self,
        animation: Ref<'_, IDCompositionAnimation>,
    ) -> Result<()>;
    fn SetOpacity2(&self, opacity: f32) -> Result<()>;
    fn SetTransform(
        &self,
        transform: Ref<'_, IDCompositionTransform3D>,
    ) -> Result<()>;
    fn SetTransform2(&self, matrix: *const D2D_MATRIX_4X4_F) -> Result<()>;
    fn SetVisible(&self, visible: BOOL) -> Result<()>;
}

Required Methods§

fn SetDepthMode(&self, mode: DCOMPOSITION_DEPTH_MODE) -> Result<()>

fn SetOffsetZ(&self, animation: Ref<'_, IDCompositionAnimation>) -> Result<()>

fn SetOffsetZ2(&self, offsetz: f32) -> Result<()>

fn SetOpacity(&self, animation: Ref<'_, IDCompositionAnimation>) -> Result<()>

fn SetOpacity2(&self, opacity: f32) -> Result<()>

fn SetTransform( &self, transform: Ref<'_, IDCompositionTransform3D>, ) -> Result<()>

fn SetTransform2(&self, matrix: *const D2D_MATRIX_4X4_F) -> Result<()>

fn SetVisible(&self, visible: BOOL) -> 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§