#[repr(transparent)]pub struct DevCaps(_);Expand description
[docs.microsoft.com] D3DDEVCAPS_*
Implementations
sourceimpl DevCaps
impl DevCaps
sourcepub const fn from_unchecked(d3d: DWORD) -> Self
pub const fn from_unchecked(d3d: DWORD) -> Self
Convert from an underlying [winapi] D3D... type.
This is probably safe… probably…
sourcepub const fn into_inner(self) -> DWORD
pub const fn into_inner(self) -> DWORD
Convert back into an underlying [winapi] D3D... type.
sourceimpl DevCaps
impl DevCaps
pub const None: DevCaps = DevCaps(0)
pub const CanBltSysToNonLocal: DevCaps = DevCaps(D3DDEVCAPS_CANBLTSYSTONONLOCAL)
pub const CanRenderAfterFlip: DevCaps = DevCaps(D3DDEVCAPS_CANRENDERAFTERFLIP)
pub const DrawPrimitives2: DevCaps = DevCaps(D3DDEVCAPS_DRAWPRIMITIVES2)
pub const DrawPrimitives2Ex: DevCaps = DevCaps(D3DDEVCAPS_DRAWPRIMITIVES2EX)
pub const DrawPrimTlVertex: DevCaps = DevCaps(D3DDEVCAPS_DRAWPRIMTLVERTEX)
pub const ExecuteSystemMemory: DevCaps = DevCaps(D3DDEVCAPS_EXECUTESYSTEMMEMORY)
pub const ExecuteVideoMemory: DevCaps = DevCaps(D3DDEVCAPS_EXECUTEVIDEOMEMORY)
pub const HwRasterization: DevCaps = DevCaps(D3DDEVCAPS_HWRASTERIZATION)
pub const HwTransformAndLight: DevCaps = DevCaps(D3DDEVCAPS_HWTRANSFORMANDLIGHT)
pub const NPatches: DevCaps = DevCaps(D3DDEVCAPS_NPATCHES)
pub const PureDevice: DevCaps = DevCaps(D3DDEVCAPS_PUREDEVICE)
pub const QuinticRtPatches: DevCaps = DevCaps(D3DDEVCAPS_QUINTICRTPATCHES)
pub const RtPatches: DevCaps = DevCaps(D3DDEVCAPS_RTPATCHES)
pub const RtPatchHandleZero: DevCaps = DevCaps(D3DDEVCAPS_RTPATCHHANDLEZERO)
pub const SeparateTextureMemories: DevCaps = DevCaps(D3DDEVCAPS_SEPARATETEXTUREMEMORIES)
pub const TextureNonLocalVidMem: DevCaps = DevCaps(D3DDEVCAPS_TEXTURENONLOCALVIDMEM)
pub const TextureSystemMemory: DevCaps = DevCaps(D3DDEVCAPS_TEXTURESYSTEMMEMORY)
pub const TextureVideoMemory: DevCaps = DevCaps(D3DDEVCAPS_TEXTUREVIDEOMEMORY)
pub const TlVertexSystemMemory: DevCaps = DevCaps(D3DDEVCAPS_TLVERTEXSYSTEMMEMORY)
pub const TlVertexVideoMemory: DevCaps = DevCaps(D3DDEVCAPS_TLVERTEXVIDEOMEMORY)
Trait Implementations
sourceimpl BitOrAssign<DevCaps> for DevCaps
impl BitOrAssign<DevCaps> for DevCaps
sourcefn bitor_assign(&mut self, other: Self)
fn bitor_assign(&mut self, other: Self)
Performs the |= operation. Read more
sourceimpl Ord for DevCaps
impl Ord for DevCaps
sourceimpl PartialOrd<DevCaps> for DevCaps
impl PartialOrd<DevCaps> for DevCaps
sourcefn partial_cmp(&self, other: &DevCaps) -> Option<Ordering>
fn partial_cmp(&self, other: &DevCaps) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl Copy for DevCaps
impl Eq for DevCaps
impl Pod for DevCaps
impl StructuralEq for DevCaps
impl StructuralPartialEq for DevCaps
Auto Trait Implementations
impl RefUnwindSafe for DevCaps
impl Send for DevCaps
impl Sync for DevCaps
impl Unpin for DevCaps
impl UnwindSafe for DevCaps
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more