Struct windows::Win32::Graphics::Direct2D::D2D1_LAYER_PARAMETERS1
#[repr(C)]pub struct D2D1_LAYER_PARAMETERS1 {
pub contentBounds: D2D_RECT_F,
pub geometricMask: ManuallyDrop<Option<ID2D1Geometry>>,
pub maskAntialiasMode: D2D1_ANTIALIAS_MODE,
pub maskTransform: Matrix3x2,
pub opacity: f32,
pub opacityBrush: ManuallyDrop<Option<ID2D1Brush>>,
pub layerOptions: D2D1_LAYER_OPTIONS1,
}
Fields§
§contentBounds: D2D_RECT_F
§geometricMask: ManuallyDrop<Option<ID2D1Geometry>>
§maskAntialiasMode: D2D1_ANTIALIAS_MODE
§maskTransform: Matrix3x2
§opacity: f32
§opacityBrush: ManuallyDrop<Option<ID2D1Brush>>
§layerOptions: D2D1_LAYER_OPTIONS1
Trait Implementations§
§impl Clone for D2D1_LAYER_PARAMETERS1
impl Clone for D2D1_LAYER_PARAMETERS1
§impl Debug for D2D1_LAYER_PARAMETERS1
impl Debug for D2D1_LAYER_PARAMETERS1
§impl Default for D2D1_LAYER_PARAMETERS1
impl Default for D2D1_LAYER_PARAMETERS1
§impl PartialEq for D2D1_LAYER_PARAMETERS1
impl PartialEq for D2D1_LAYER_PARAMETERS1
§fn eq(&self, other: &D2D1_LAYER_PARAMETERS1) -> bool
fn eq(&self, other: &D2D1_LAYER_PARAMETERS1) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for D2D1_LAYER_PARAMETERS1
Auto Trait Implementations§
impl Freeze for D2D1_LAYER_PARAMETERS1
impl RefUnwindSafe for D2D1_LAYER_PARAMETERS1
impl Send for D2D1_LAYER_PARAMETERS1
impl Sync for D2D1_LAYER_PARAMETERS1
impl Unpin for D2D1_LAYER_PARAMETERS1
impl UnwindSafe for D2D1_LAYER_PARAMETERS1
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)