#[repr(transparent)]pub struct Caps3(_);
Expand description
[docs.microsoft.com] D3DCAPS3_*
Implementations
sourceimpl Caps3
impl Caps3
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 Caps3
impl Caps3
pub const None: Caps3 = Caps3(0)
pub const AlphaFullscreenFlipOrDiscard: Caps3 = Caps3(D3DCAPS3_ALPHA_FULLSCREEN_FLIP_OR_DISCARD)
pub const CopyToVidMem: Caps3 = Caps3(D3DCAPS3_COPY_TO_VIDMEM)
pub const CopyToSystemMem: Caps3 = Caps3(D3DCAPS3_COPY_TO_SYSTEMMEM)
pub const DxvaHD: Caps3 = Caps3(D3DCAPS3_DXVAHD)
pub const LinearToSrgbPresentation: Caps3 = Caps3(D3DCAPS3_LINEAR_TO_SRGB_PRESENTATION)
Trait Implementations
sourceimpl BitOrAssign<Caps3> for Caps3
impl BitOrAssign<Caps3> for Caps3
sourcefn bitor_assign(&mut self, other: Self)
fn bitor_assign(&mut self, other: Self)
Performs the |=
operation. Read more
sourceimpl Ord for Caps3
impl Ord for Caps3
sourceimpl PartialOrd<Caps3> for Caps3
impl PartialOrd<Caps3> for Caps3
sourcefn partial_cmp(&self, other: &Caps3) -> Option<Ordering>
fn partial_cmp(&self, other: &Caps3) -> 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 Caps3
impl Eq for Caps3
impl Pod for Caps3
impl StructuralEq for Caps3
impl StructuralPartialEq for Caps3
Auto Trait Implementations
impl RefUnwindSafe for Caps3
impl Send for Caps3
impl Sync for Caps3
impl Unpin for Caps3
impl UnwindSafe for Caps3
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