#[repr(C)]
pub struct DDCAPS_DX6 {
Show 57 fields pub dwSize: u32, pub dwCaps: u32, pub dwCaps2: u32, pub dwCKeyCaps: u32, pub dwFXCaps: u32, pub dwFXAlphaCaps: u32, pub dwPalCaps: u32, pub dwSVCaps: u32, pub dwAlphaBltConstBitDepths: u32, pub dwAlphaBltPixelBitDepths: u32, pub dwAlphaBltSurfaceBitDepths: u32, pub dwAlphaOverlayConstBitDepths: u32, pub dwAlphaOverlayPixelBitDepths: u32, pub dwAlphaOverlaySurfaceBitDepths: u32, pub dwZBufferBitDepths: u32, pub dwVidMemTotal: u32, pub dwVidMemFree: u32, pub dwMaxVisibleOverlays: u32, pub dwCurrVisibleOverlays: u32, pub dwNumFourCCCodes: u32, pub dwAlignBoundarySrc: u32, pub dwAlignSizeSrc: u32, pub dwAlignBoundaryDest: u32, pub dwAlignSizeDest: u32, pub dwAlignStrideAlign: u32, pub dwRops: [u32; 8], pub ddsOldCaps: DDSCAPS, pub dwMinOverlayStretch: u32, pub dwMaxOverlayStretch: u32, pub dwMinLiveVideoStretch: u32, pub dwMaxLiveVideoStretch: u32, pub dwMinHwCodecStretch: u32, pub dwMaxHwCodecStretch: u32, pub dwReserved1: u32, pub dwReserved2: u32, pub dwReserved3: u32, pub dwSVBCaps: u32, pub dwSVBCKeyCaps: u32, pub dwSVBFXCaps: u32, pub dwSVBRops: [u32; 8], pub dwVSBCaps: u32, pub dwVSBCKeyCaps: u32, pub dwVSBFXCaps: u32, pub dwVSBRops: [u32; 8], pub dwSSBCaps: u32, pub dwSSBCKeyCaps: u32, pub dwSSBFXCaps: u32, pub dwSSBRops: [u32; 8], pub dwMaxVideoPorts: u32, pub dwCurrVideoPorts: u32, pub dwSVBCaps2: u32, pub dwNLVBCaps: u32, pub dwNLVBCaps2: u32, pub dwNLVBCKeyCaps: u32, pub dwNLVBFXCaps: u32, pub dwNLVBRops: [u32; 8], pub ddsCaps: DDSCAPS2,
}

Fields§

§dwSize: u32§dwCaps: u32§dwCaps2: u32§dwCKeyCaps: u32§dwFXCaps: u32§dwFXAlphaCaps: u32§dwPalCaps: u32§dwSVCaps: u32§dwAlphaBltConstBitDepths: u32§dwAlphaBltPixelBitDepths: u32§dwAlphaBltSurfaceBitDepths: u32§dwAlphaOverlayConstBitDepths: u32§dwAlphaOverlayPixelBitDepths: u32§dwAlphaOverlaySurfaceBitDepths: u32§dwZBufferBitDepths: u32§dwVidMemTotal: u32§dwVidMemFree: u32§dwMaxVisibleOverlays: u32§dwCurrVisibleOverlays: u32§dwNumFourCCCodes: u32§dwAlignBoundarySrc: u32§dwAlignSizeSrc: u32§dwAlignBoundaryDest: u32§dwAlignSizeDest: u32§dwAlignStrideAlign: u32§dwRops: [u32; 8]§ddsOldCaps: DDSCAPS§dwMinOverlayStretch: u32§dwMaxOverlayStretch: u32§dwMinLiveVideoStretch: u32§dwMaxLiveVideoStretch: u32§dwMinHwCodecStretch: u32§dwMaxHwCodecStretch: u32§dwReserved1: u32§dwReserved2: u32§dwReserved3: u32§dwSVBCaps: u32§dwSVBCKeyCaps: u32§dwSVBFXCaps: u32§dwSVBRops: [u32; 8]§dwVSBCaps: u32§dwVSBCKeyCaps: u32§dwVSBFXCaps: u32§dwVSBRops: [u32; 8]§dwSSBCaps: u32§dwSSBCKeyCaps: u32§dwSSBFXCaps: u32§dwSSBRops: [u32; 8]§dwMaxVideoPorts: u32§dwCurrVideoPorts: u32§dwSVBCaps2: u32§dwNLVBCaps: u32§dwNLVBCaps2: u32§dwNLVBCKeyCaps: u32§dwNLVBFXCaps: u32§dwNLVBRops: [u32; 8]§ddsCaps: DDSCAPS2

Trait Implementations§

§

impl Clone for DDCAPS_DX6

§

fn clone(&self) -> Self

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
§

impl Default for DDCAPS_DX6

§

fn default() -> Self

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

impl Copy for DDCAPS_DX6

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

§

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

§

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

§

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.