#[repr(C)]
pub struct D3DDEVICEDESC {
Show 34 fields pub dwSize: u32, pub dwFlags: u32, pub dcmColorModel: u32, pub dwDevCaps: u32, pub dtcTransformCaps: D3DTRANSFORMCAPS, pub bClipping: BOOL, pub dlcLightingCaps: D3DLIGHTINGCAPS, pub dpcLineCaps: D3DPRIMCAPS, pub dpcTriCaps: D3DPRIMCAPS, pub dwDeviceRenderBitDepth: u32, pub dwDeviceZBufferBitDepth: u32, pub dwMaxBufferSize: u32, pub dwMaxVertexCount: u32, pub dwMinTextureWidth: u32, pub dwMinTextureHeight: u32, pub dwMaxTextureWidth: u32, pub dwMaxTextureHeight: u32, pub dwMinStippleWidth: u32, pub dwMaxStippleWidth: u32, pub dwMinStippleHeight: u32, pub dwMaxStippleHeight: u32, pub dwMaxTextureRepeat: u32, pub dwMaxTextureAspectRatio: u32, pub dwMaxAnisotropy: u32, pub dvGuardBandLeft: f32, pub dvGuardBandTop: f32, pub dvGuardBandRight: f32, pub dvGuardBandBottom: f32, pub dvExtentsAdjust: f32, pub dwStencilCaps: u32, pub dwFVFCaps: u32, pub dwTextureOpCaps: u32, pub wMaxTextureBlendStages: u16, pub wMaxSimultaneousTextures: u16,
}

Fields§

§dwSize: u32§dwFlags: u32§dcmColorModel: u32§dwDevCaps: u32§dtcTransformCaps: D3DTRANSFORMCAPS§bClipping: BOOL§dlcLightingCaps: D3DLIGHTINGCAPS§dpcLineCaps: D3DPRIMCAPS§dpcTriCaps: D3DPRIMCAPS§dwDeviceRenderBitDepth: u32§dwDeviceZBufferBitDepth: u32§dwMaxBufferSize: u32§dwMaxVertexCount: u32§dwMinTextureWidth: u32§dwMinTextureHeight: u32§dwMaxTextureWidth: u32§dwMaxTextureHeight: u32§dwMinStippleWidth: u32§dwMaxStippleWidth: u32§dwMinStippleHeight: u32§dwMaxStippleHeight: u32§dwMaxTextureRepeat: u32§dwMaxTextureAspectRatio: u32§dwMaxAnisotropy: u32§dvGuardBandLeft: f32§dvGuardBandTop: f32§dvGuardBandRight: f32§dvGuardBandBottom: f32§dvExtentsAdjust: f32§dwStencilCaps: u32§dwFVFCaps: u32§dwTextureOpCaps: u32§wMaxTextureBlendStages: u16§wMaxSimultaneousTextures: u16

Trait Implementations§

§

impl Clone for D3DDEVICEDESC

§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for D3DDEVICEDESC

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
§

impl Default for D3DDEVICEDESC

§

fn default() -> Self

Returns the “default value” for a type. Read more
§

impl PartialEq for D3DDEVICEDESC

§

fn eq(&self, other: &Self) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Copy for D3DDEVICEDESC

§

impl Eq for D3DDEVICEDESC

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.