pub struct IDCompositionVisualDebug(/* private fields */);
Implementations§
§impl IDCompositionVisualDebug
impl IDCompositionVisualDebug
pub unsafe fn SetOffsetX<P0>(&self, animation: P0) -> Result<()>where
P0: IntoParam<IDCompositionAnimation>,
pub unsafe fn SetOffsetX2(&self, offsetx: f32) -> Result<()>
pub unsafe fn SetOffsetY<P0>(&self, animation: P0) -> Result<()>where
P0: IntoParam<IDCompositionAnimation>,
pub unsafe fn SetOffsetY2(&self, offsety: f32) -> Result<()>
pub unsafe fn SetTransform<P0>(&self, transform: P0) -> Result<()>where
P0: IntoParam<IDCompositionTransform>,
pub unsafe fn SetTransform2(&self, matrix: *const Matrix3x2) -> Result<()>
pub unsafe fn SetTransformParent<P0>(&self, visual: P0) -> Result<()>where
P0: IntoParam<IDCompositionVisual>,
pub unsafe fn SetEffect<P0>(&self, effect: P0) -> Result<()>where
P0: IntoParam<IDCompositionEffect>,
pub unsafe fn SetBitmapInterpolationMode( &self, interpolationmode: DCOMPOSITION_BITMAP_INTERPOLATION_MODE ) -> Result<()>
pub unsafe fn SetBorderMode( &self, bordermode: DCOMPOSITION_BORDER_MODE ) -> Result<()>
pub unsafe fn SetClip<P0>(&self, clip: P0) -> Result<()>where
P0: IntoParam<IDCompositionClip>,
pub unsafe fn SetClip2(&self, rect: *const D2D_RECT_F) -> Result<()>
pub unsafe fn SetContent<P0>(&self, content: P0) -> Result<()>where
P0: IntoParam<IUnknown>,
pub unsafe fn AddVisual<P0, P1, P2>( &self, visual: P0, insertabove: P1, referencevisual: P2 ) -> Result<()>
pub unsafe fn RemoveVisual<P0>(&self, visual: P0) -> Result<()>where
P0: IntoParam<IDCompositionVisual>,
pub unsafe fn RemoveAllVisuals(&self) -> Result<()>
pub unsafe fn SetCompositeMode( &self, compositemode: DCOMPOSITION_COMPOSITE_MODE ) -> Result<()>
pub unsafe fn SetOpacityMode( &self, mode: DCOMPOSITION_OPACITY_MODE ) -> Result<()>
pub unsafe fn SetBackFaceVisibility( &self, visibility: DCOMPOSITION_BACKFACE_VISIBILITY ) -> Result<()>
pub unsafe fn EnableHeatMap(&self, color: *const D2D1_COLOR_F) -> Result<()>
pub unsafe fn DisableHeatMap(&self) -> Result<()>
pub unsafe fn EnableRedrawRegions(&self) -> Result<()>
pub unsafe fn DisableRedrawRegions(&self) -> Result<()>
Trait Implementations§
§impl Clone for IDCompositionVisualDebug
impl Clone for IDCompositionVisualDebug
§fn clone(&self) -> IDCompositionVisualDebug
fn clone(&self) -> IDCompositionVisualDebug
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for IDCompositionVisualDebug
impl Debug for IDCompositionVisualDebug
§impl From<&IDCompositionVisual3> for &IDCompositionVisualDebug
impl From<&IDCompositionVisual3> for &IDCompositionVisualDebug
§fn from(value: &IDCompositionVisual3) -> Self
fn from(value: &IDCompositionVisual3) -> Self
Converts to this type from the input type.
§impl From<&IDCompositionVisualDebug> for &IDCompositionVisual
impl From<&IDCompositionVisualDebug> for &IDCompositionVisual
§fn from(value: &IDCompositionVisualDebug) -> Self
fn from(value: &IDCompositionVisualDebug) -> Self
Converts to this type from the input type.
§impl From<&IDCompositionVisualDebug> for &IDCompositionVisual2
impl From<&IDCompositionVisualDebug> for &IDCompositionVisual2
§fn from(value: &IDCompositionVisualDebug) -> Self
fn from(value: &IDCompositionVisualDebug) -> Self
Converts to this type from the input type.
§impl From<&IDCompositionVisualDebug> for &IUnknown
impl From<&IDCompositionVisualDebug> for &IUnknown
§fn from(value: &IDCompositionVisualDebug) -> Self
fn from(value: &IDCompositionVisualDebug) -> Self
Converts to this type from the input type.
§impl From<IDCompositionVisual3> for IDCompositionVisualDebug
impl From<IDCompositionVisual3> for IDCompositionVisualDebug
§fn from(value: IDCompositionVisual3) -> Self
fn from(value: IDCompositionVisual3) -> Self
Converts to this type from the input type.
§impl From<IDCompositionVisualDebug> for IDCompositionVisual
impl From<IDCompositionVisualDebug> for IDCompositionVisual
§fn from(value: IDCompositionVisualDebug) -> Self
fn from(value: IDCompositionVisualDebug) -> Self
Converts to this type from the input type.
§impl From<IDCompositionVisualDebug> for IDCompositionVisual2
impl From<IDCompositionVisualDebug> for IDCompositionVisual2
§fn from(value: IDCompositionVisualDebug) -> Self
fn from(value: IDCompositionVisualDebug) -> Self
Converts to this type from the input type.
§impl From<IDCompositionVisualDebug> for IUnknown
impl From<IDCompositionVisualDebug> for IUnknown
§fn from(value: IDCompositionVisualDebug) -> Self
fn from(value: IDCompositionVisualDebug) -> Self
Converts to this type from the input type.
§impl Interface for IDCompositionVisualDebug
impl Interface for IDCompositionVisualDebug
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for IDCompositionVisualDebug
impl PartialEq for IDCompositionVisualDebug
§fn eq(&self, other: &IDCompositionVisualDebug) -> bool
fn eq(&self, other: &IDCompositionVisualDebug) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IDCompositionVisualDebug
impl StructuralPartialEq for IDCompositionVisualDebug
Auto Trait Implementations§
impl RefUnwindSafe for IDCompositionVisualDebug
impl !Send for IDCompositionVisualDebug
impl !Sync for IDCompositionVisualDebug
impl Unpin for IDCompositionVisualDebug
impl UnwindSafe for IDCompositionVisualDebug
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more