Trait IDCompositionVisual_Impl
pub trait IDCompositionVisual_Impl: IUnknownImpl {
Show 17 methods
// Required methods
fn SetOffsetX(
&self,
animation: Ref<'_, IDCompositionAnimation>,
) -> Result<()>;
fn SetOffsetX2(&self, offsetx: f32) -> Result<()>;
fn SetOffsetY(
&self,
animation: Ref<'_, IDCompositionAnimation>,
) -> Result<()>;
fn SetOffsetY2(&self, offsety: f32) -> Result<()>;
fn SetTransform(
&self,
transform: Ref<'_, IDCompositionTransform>,
) -> Result<()>;
fn SetTransform2(&self, matrix: *const Matrix3x2) -> Result<()>;
fn SetTransformParent(
&self,
visual: Ref<'_, IDCompositionVisual>,
) -> Result<()>;
fn SetEffect(&self, effect: Ref<'_, IDCompositionEffect>) -> Result<()>;
fn SetBitmapInterpolationMode(
&self,
interpolationmode: DCOMPOSITION_BITMAP_INTERPOLATION_MODE,
) -> Result<()>;
fn SetBorderMode(&self, bordermode: DCOMPOSITION_BORDER_MODE) -> Result<()>;
fn SetClip(&self, clip: Ref<'_, IDCompositionClip>) -> Result<()>;
fn SetClip2(&self, rect: *const D2D_RECT_F) -> Result<()>;
fn SetContent(&self, content: Ref<'_, IUnknown>) -> Result<()>;
fn AddVisual(
&self,
visual: Ref<'_, IDCompositionVisual>,
insertabove: BOOL,
referencevisual: Ref<'_, IDCompositionVisual>,
) -> Result<()>;
fn RemoveVisual(&self, visual: Ref<'_, IDCompositionVisual>) -> Result<()>;
fn RemoveAllVisuals(&self) -> Result<()>;
fn SetCompositeMode(
&self,
compositemode: DCOMPOSITION_COMPOSITE_MODE,
) -> Result<()>;
}
Required Methods§
fn SetOffsetX(&self, animation: Ref<'_, IDCompositionAnimation>) -> Result<()>
fn SetOffsetX2(&self, offsetx: f32) -> Result<()>
fn SetOffsetY(&self, animation: Ref<'_, IDCompositionAnimation>) -> Result<()>
fn SetOffsetY2(&self, offsety: f32) -> Result<()>
fn SetTransform(&self, transform: Ref<'_, IDCompositionTransform>) -> Result<()>
fn SetTransform2(&self, matrix: *const Matrix3x2) -> Result<()>
fn SetTransformParent(&self, visual: Ref<'_, IDCompositionVisual>) -> Result<()>
fn SetEffect(&self, effect: Ref<'_, IDCompositionEffect>) -> Result<()>
fn SetBitmapInterpolationMode( &self, interpolationmode: DCOMPOSITION_BITMAP_INTERPOLATION_MODE, ) -> Result<()>
fn SetBorderMode(&self, bordermode: DCOMPOSITION_BORDER_MODE) -> Result<()>
fn SetClip(&self, clip: Ref<'_, IDCompositionClip>) -> Result<()>
fn SetClip2(&self, rect: *const D2D_RECT_F) -> Result<()>
fn SetContent(&self, content: Ref<'_, IUnknown>) -> Result<()>
fn AddVisual( &self, visual: Ref<'_, IDCompositionVisual>, insertabove: BOOL, referencevisual: Ref<'_, IDCompositionVisual>, ) -> Result<()>
fn RemoveVisual(&self, visual: Ref<'_, IDCompositionVisual>) -> Result<()>
fn RemoveAllVisuals(&self) -> Result<()>
fn SetCompositeMode( &self, compositemode: DCOMPOSITION_COMPOSITE_MODE, ) -> 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.