#[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: u16Trait Implementations§
Source§impl Abi for _D3DDeviceDesc
impl Abi for _D3DDeviceDesc
Source§type Abi = _D3DDeviceDesc
type Abi = _D3DDeviceDesc
The abi representation of the implementing type. Read more
type DefaultType = _D3DDeviceDesc
Source§fn ok(value: &Self::DefaultType) -> Result<Self, Error>
fn ok(value: &Self::DefaultType) -> Result<Self, Error>
Converts from
Self::DefaultType to Result<T>.Source§fn set_abi(&mut self) -> *mut Self::Abi
fn set_abi(&mut self) -> *mut Self::Abi
Returns a pointer for setting the object’s value via an ABI call.
fn drop_param(_: &mut Param<'_, Self>)
Source§impl Clone for _D3DDeviceDesc
impl Clone for _D3DDeviceDesc
Source§fn clone(&self) -> _D3DDeviceDesc
fn clone(&self) -> _D3DDeviceDesc
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for _D3DDeviceDesc
Source§impl Debug for _D3DDeviceDesc
impl Debug for _D3DDeviceDesc
Source§impl Default for _D3DDeviceDesc
impl Default for _D3DDeviceDesc
impl Eq for _D3DDeviceDesc
Auto Trait Implementations§
impl Freeze for _D3DDeviceDesc
impl RefUnwindSafe for _D3DDeviceDesc
impl Send for _D3DDeviceDesc
impl Sync for _D3DDeviceDesc
impl Unpin for _D3DDeviceDesc
impl UnsafeUnpin for _D3DDeviceDesc
impl UnwindSafe for _D3DDeviceDesc
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