#[repr(C)]
pub struct D2D1_RENDER_TARGET_PROPERTIES { pub type: D2D1_RENDER_TARGET_TYPE, pub pixelFormat: D2D1_PIXEL_FORMAT, pub dpiX: f32, pub dpiY: f32, pub usage: D2D1_RENDER_TARGET_USAGE, pub minLevel: D2D1_FEATURE_LEVEL, }
Expand description

Required features: "Win32_Graphics_Direct2D", "Win32_Graphics_Direct2D_Common", "Win32_Graphics_Dxgi_Common"

Fields

type: D2D1_RENDER_TARGET_TYPEpixelFormat: D2D1_PIXEL_FORMATdpiX: f32dpiY: f32usage: D2D1_RENDER_TARGET_USAGEminLevel: D2D1_FEATURE_LEVEL

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.