Struct windows::Win32::Graphics::Direct2D::D2D1_LAYER_PARAMETERS
#[repr(C)]pub struct D2D1_LAYER_PARAMETERS {
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_OPTIONS,
}
Fields§
§contentBounds: D2D_RECT_F
§geometricMask: ManuallyDrop<Option<ID2D1Geometry>>
§maskAntialiasMode: D2D1_ANTIALIAS_MODE
§maskTransform: Matrix3x2
§opacity: f32
§opacityBrush: ManuallyDrop<Option<ID2D1Brush>>
§layerOptions: D2D1_LAYER_OPTIONS
Trait Implementations§
§impl Clone for D2D1_LAYER_PARAMETERS
impl Clone for D2D1_LAYER_PARAMETERS
§impl Debug for D2D1_LAYER_PARAMETERS
impl Debug for D2D1_LAYER_PARAMETERS
§impl Default for D2D1_LAYER_PARAMETERS
impl Default for D2D1_LAYER_PARAMETERS
§impl PartialEq for D2D1_LAYER_PARAMETERS
impl PartialEq for D2D1_LAYER_PARAMETERS
§fn eq(&self, other: &D2D1_LAYER_PARAMETERS) -> bool
fn eq(&self, other: &D2D1_LAYER_PARAMETERS) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for D2D1_LAYER_PARAMETERS
Auto Trait Implementations§
impl Freeze for D2D1_LAYER_PARAMETERS
impl RefUnwindSafe for D2D1_LAYER_PARAMETERS
impl Send for D2D1_LAYER_PARAMETERS
impl Sync for D2D1_LAYER_PARAMETERS
impl Unpin for D2D1_LAYER_PARAMETERS
impl UnwindSafe for D2D1_LAYER_PARAMETERS
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
)