windows::Win32::Graphics::DirectComposition

Trait IDCompositionScaleTransform_Impl

pub trait IDCompositionScaleTransform_Impl: IDCompositionTransform_Impl {
    // Required methods
    fn SetScaleX(
        &self,
        animation: Ref<'_, IDCompositionAnimation>,
    ) -> Result<()>;
    fn SetScaleX2(&self, scalex: f32) -> Result<()>;
    fn SetScaleY(
        &self,
        animation: Ref<'_, IDCompositionAnimation>,
    ) -> Result<()>;
    fn SetScaleY2(&self, scaley: f32) -> Result<()>;
    fn SetCenterX(
        &self,
        animation: Ref<'_, IDCompositionAnimation>,
    ) -> Result<()>;
    fn SetCenterX2(&self, centerx: f32) -> Result<()>;
    fn SetCenterY(
        &self,
        animation: Ref<'_, IDCompositionAnimation>,
    ) -> Result<()>;
    fn SetCenterY2(&self, centery: f32) -> Result<()>;
}

Required Methods§

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

fn SetScaleX2(&self, scalex: f32) -> Result<()>

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

fn SetScaleY2(&self, scaley: f32) -> Result<()>

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

fn SetCenterX2(&self, centerx: f32) -> Result<()>

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

fn SetCenterY2(&self, centery: f32) -> 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§