Struct thindx::d3d::PRasterCaps
source · [−]#[repr(transparent)]pub struct PRasterCaps(_);
Expand description
[docs.microsoft.com] D3DPRASTERCAPS_*
Implementations
sourceimpl PRasterCaps
impl PRasterCaps
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 PRasterCaps
impl PRasterCaps
pub const None: PRasterCaps = PRasterCaps(0)
pub const Anisotropy: PRasterCaps = PRasterCaps(D3DPRASTERCAPS_ANISOTROPY)
pub const ColorPerspective: PRasterCaps = PRasterCaps(D3DPRASTERCAPS_COLORPERSPECTIVE)
pub const Dither: PRasterCaps = PRasterCaps(D3DPRASTERCAPS_DITHER)
pub const DepthBias: PRasterCaps = PRasterCaps(D3DPRASTERCAPS_DEPTHBIAS)
pub const FogRange: PRasterCaps = PRasterCaps(D3DPRASTERCAPS_FOGRANGE)
pub const FogTable: PRasterCaps = PRasterCaps(D3DPRASTERCAPS_FOGTABLE)
pub const FogVertex: PRasterCaps = PRasterCaps(D3DPRASTERCAPS_FOGVERTEX)
pub const MipMapLodBias: PRasterCaps = PRasterCaps(D3DPRASTERCAPS_MIPMAPLODBIAS)
pub const MultisampleToggle: PRasterCaps = PRasterCaps(D3DPRASTERCAPS_MULTISAMPLE_TOGGLE)
pub const ScissorTest: PRasterCaps = PRasterCaps(D3DPRASTERCAPS_SCISSORTEST)
pub const SlopeScaleDepthBias: PRasterCaps = PRasterCaps(D3DPRASTERCAPS_SLOPESCALEDEPTHBIAS)
pub const WBuffer: PRasterCaps = PRasterCaps(D3DPRASTERCAPS_WBUFFER)
pub const WFog: PRasterCaps = PRasterCaps(D3DPRASTERCAPS_WFOG)
pub const ZBufferLessHSR: PRasterCaps = PRasterCaps(D3DPRASTERCAPS_ZBUFFERLESSHSR)
pub const ZFog: PRasterCaps = PRasterCaps(D3DPRASTERCAPS_ZFOG)
pub const ZTest: PRasterCaps = PRasterCaps(D3DPRASTERCAPS_ZTEST)
pub const Rop2: PRasterCaps = PRasterCaps(D3DPRASTERCAPS_ROP2)
pub const Xor: PRasterCaps = PRasterCaps(D3DPRASTERCAPS_XOR)
pub const Pat: PRasterCaps = PRasterCaps(D3DPRASTERCAPS_PAT)
pub const SubPixel: PRasterCaps = PRasterCaps(D3DPRASTERCAPS_SUBPIXEL)
pub const SubPixelX: PRasterCaps = PRasterCaps(D3DPRASTERCAPS_SUBPIXELX)
pub const Stipple: PRasterCaps = PRasterCaps(D3DPRASTERCAPS_STIPPLE)
pub const AntiAliasSortDependent: PRasterCaps = PRasterCaps(D3DPRASTERCAPS_ANTIALIASSORTDEPENDENT)
pub const AntiAliasSortIndependent: PRasterCaps = PRasterCaps(D3DPRASTERCAPS_ANTIALIASSORTINDEPENDENT)
pub const AntiAliasEdges: PRasterCaps = PRasterCaps(D3DPRASTERCAPS_ANTIALIASEDGES)
pub const ZBias: PRasterCaps = PRasterCaps(D3DPRASTERCAPS_ZBIAS)
pub const TranslucentSortIndependent: PRasterCaps = PRasterCaps(D3DPRASTERCAPS_TRANSLUCENTSORTINDEPENDENT)
Trait Implementations
sourceimpl BitOr<PRasterCaps> for PRasterCaps
impl BitOr<PRasterCaps> for PRasterCaps
type Output = PRasterCaps
type Output = PRasterCaps
The resulting type after applying the |
operator.
sourceimpl BitOrAssign<PRasterCaps> for PRasterCaps
impl BitOrAssign<PRasterCaps> for PRasterCaps
sourcefn bitor_assign(&mut self, other: Self)
fn bitor_assign(&mut self, other: Self)
Performs the |=
operation. Read more
sourceimpl Clone for PRasterCaps
impl Clone for PRasterCaps
sourcefn clone(&self) -> PRasterCaps
fn clone(&self) -> PRasterCaps
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PRasterCaps
impl Debug for PRasterCaps
sourceimpl Default for PRasterCaps
impl Default for PRasterCaps
sourceimpl From<PRasterCaps> for DWORD
impl From<PRasterCaps> for DWORD
sourcefn from(value: PRasterCaps) -> Self
fn from(value: PRasterCaps) -> Self
Converts to this type from the input type.
sourceimpl Hash for PRasterCaps
impl Hash for PRasterCaps
sourceimpl Ord for PRasterCaps
impl Ord for PRasterCaps
sourceimpl PartialEq<PRasterCaps> for PRasterCaps
impl PartialEq<PRasterCaps> for PRasterCaps
sourcefn eq(&self, other: &PRasterCaps) -> bool
fn eq(&self, other: &PRasterCaps) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PRasterCaps) -> bool
fn ne(&self, other: &PRasterCaps) -> bool
This method tests for !=
.
sourceimpl PartialOrd<PRasterCaps> for PRasterCaps
impl PartialOrd<PRasterCaps> for PRasterCaps
sourcefn partial_cmp(&self, other: &PRasterCaps) -> Option<Ordering>
fn partial_cmp(&self, other: &PRasterCaps) -> 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
sourceimpl Zeroable for PRasterCaps
impl Zeroable for PRasterCaps
impl Copy for PRasterCaps
impl Eq for PRasterCaps
impl Pod for PRasterCaps
impl StructuralEq for PRasterCaps
impl StructuralPartialEq for PRasterCaps
Auto Trait Implementations
impl RefUnwindSafe for PRasterCaps
impl Send for PRasterCaps
impl Sync for PRasterCaps
impl Unpin for PRasterCaps
impl UnwindSafe for PRasterCaps
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