Struct _D3DNTDeviceDesc_V3

Source
#[repr(C)]
pub struct _D3DNTDeviceDesc_V3 {
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§

Source§

impl Abi for _D3DNTDeviceDesc_V3

Source§

type Abi = _D3DNTDeviceDesc_V3

The abi representation of the implementing type. Read more
Source§

type DefaultType = _D3DNTDeviceDesc_V3

Source§

fn ok(value: &Self::DefaultType) -> Result<Self, Error>

Converts from Self::DefaultType to Result<T>.
Source§

fn abi(&self) -> Self::Abi

Casts the Rust object to its ABI type without copying the object.
Source§

fn set_abi(&mut self) -> *mut Self::Abi

Returns a pointer for setting the object’s value via an ABI call.
Source§

unsafe fn from_abi(abi: Self::Abi) -> Result<Self, Error>

Safety Read more
Source§

fn drop_param(_: &mut Param<'_, Self>)

Source§

impl Clone for _D3DNTDeviceDesc_V3

Source§

fn clone(&self) -> _D3DNTDeviceDesc_V3

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
Source§

impl Debug for _D3DNTDeviceDesc_V3

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Default for _D3DNTDeviceDesc_V3

Source§

fn default() -> Self

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

impl PartialEq for _D3DNTDeviceDesc_V3

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

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

impl Copy for _D3DNTDeviceDesc_V3

Source§

impl Eq for _D3DNTDeviceDesc_V3

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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,

Source§

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>,

Source§

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>,

Source§

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.