windows::Win32::Graphics::DirectComposition

Trait IDCompositionShadowEffect_Impl

pub trait IDCompositionShadowEffect_Impl: IDCompositionFilterEffect_Impl {
    // Required methods
    fn SetStandardDeviation(
        &self,
        animation: Ref<'_, IDCompositionAnimation>,
    ) -> Result<()>;
    fn SetStandardDeviation2(&self, amount: f32) -> Result<()>;
    fn SetColor(&self, color: *const D2D_VECTOR_4F) -> Result<()>;
    fn SetRed(&self, animation: Ref<'_, IDCompositionAnimation>) -> Result<()>;
    fn SetRed2(&self, amount: f32) -> Result<()>;
    fn SetGreen(&self, animation: Ref<'_, IDCompositionAnimation>) -> Result<()>;
    fn SetGreen2(&self, amount: f32) -> Result<()>;
    fn SetBlue(&self, animation: Ref<'_, IDCompositionAnimation>) -> Result<()>;
    fn SetBlue2(&self, amount: f32) -> Result<()>;
    fn SetAlpha(&self, animation: Ref<'_, IDCompositionAnimation>) -> Result<()>;
    fn SetAlpha2(&self, amount: f32) -> Result<()>;
}

Required Methods§

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

fn SetStandardDeviation2(&self, amount: f32) -> Result<()>

fn SetColor(&self, color: *const D2D_VECTOR_4F) -> Result<()>

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

fn SetRed2(&self, amount: f32) -> Result<()>

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

fn SetGreen2(&self, amount: f32) -> Result<()>

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

fn SetBlue2(&self, amount: f32) -> Result<()>

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

fn SetAlpha2(&self, amount: 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§