Struct windows::Graphics::DirectX::DirectXPixelFormat

#[repr(transparent)]
pub struct DirectXPixelFormat(pub i32);

Tuple Fields§

§0: i32

Implementations§

§

impl DirectXPixelFormat

pub const Unknown: Self = _

pub const R32G32B32A32Typeless: Self = _

pub const R32G32B32A32Float: Self = _

pub const R32G32B32A32UInt: Self = _

pub const R32G32B32A32Int: Self = _

pub const R32G32B32Typeless: Self = _

pub const R32G32B32Float: Self = _

pub const R32G32B32UInt: Self = _

pub const R32G32B32Int: Self = _

pub const R16G16B16A16Typeless: Self = _

pub const R16G16B16A16Float: Self = _

pub const R16G16B16A16UIntNormalized: Self = _

pub const R16G16B16A16UInt: Self = _

pub const R16G16B16A16IntNormalized: Self = _

pub const R16G16B16A16Int: Self = _

pub const R32G32Typeless: Self = _

pub const R32G32Float: Self = _

pub const R32G32UInt: Self = _

pub const R32G32Int: Self = _

pub const R32G8X24Typeless: Self = _

pub const D32FloatS8X24UInt: Self = _

pub const R32FloatX8X24Typeless: Self = _

pub const X32TypelessG8X24UInt: Self = _

pub const R10G10B10A2Typeless: Self = _

pub const R10G10B10A2UIntNormalized: Self = _

pub const R10G10B10A2UInt: Self = _

pub const R11G11B10Float: Self = _

pub const R8G8B8A8Typeless: Self = _

pub const R8G8B8A8UIntNormalized: Self = _

pub const R8G8B8A8UIntNormalizedSrgb: Self = _

pub const R8G8B8A8UInt: Self = _

pub const R8G8B8A8IntNormalized: Self = _

pub const R8G8B8A8Int: Self = _

pub const R16G16Typeless: Self = _

pub const R16G16Float: Self = _

pub const R16G16UIntNormalized: Self = _

pub const R16G16UInt: Self = _

pub const R16G16IntNormalized: Self = _

pub const R16G16Int: Self = _

pub const R32Typeless: Self = _

pub const D32Float: Self = _

pub const R32Float: Self = _

pub const R32UInt: Self = _

pub const R32Int: Self = _

pub const R24G8Typeless: Self = _

pub const D24UIntNormalizedS8UInt: Self = _

pub const R24UIntNormalizedX8Typeless: Self = _

pub const X24TypelessG8UInt: Self = _

pub const R8G8Typeless: Self = _

pub const R8G8UIntNormalized: Self = _

pub const R8G8UInt: Self = _

pub const R8G8IntNormalized: Self = _

pub const R8G8Int: Self = _

pub const R16Typeless: Self = _

pub const R16Float: Self = _

pub const D16UIntNormalized: Self = _

pub const R16UIntNormalized: Self = _

pub const R16UInt: Self = _

pub const R16IntNormalized: Self = _

pub const R16Int: Self = _

pub const R8Typeless: Self = _

pub const R8UIntNormalized: Self = _

pub const R8UInt: Self = _

pub const R8IntNormalized: Self = _

pub const R8Int: Self = _

pub const A8UIntNormalized: Self = _

pub const R1UIntNormalized: Self = _

pub const R9G9B9E5SharedExponent: Self = _

pub const R8G8B8G8UIntNormalized: Self = _

pub const G8R8G8B8UIntNormalized: Self = _

pub const BC1Typeless: Self = _

pub const BC1UIntNormalized: Self = _

pub const BC1UIntNormalizedSrgb: Self = _

pub const BC2Typeless: Self = _

pub const BC2UIntNormalized: Self = _

pub const BC2UIntNormalizedSrgb: Self = _

pub const BC3Typeless: Self = _

pub const BC3UIntNormalized: Self = _

pub const BC3UIntNormalizedSrgb: Self = _

pub const BC4Typeless: Self = _

pub const BC4UIntNormalized: Self = _

pub const BC4IntNormalized: Self = _

pub const BC5Typeless: Self = _

pub const BC5UIntNormalized: Self = _

pub const BC5IntNormalized: Self = _

pub const B5G6R5UIntNormalized: Self = _

pub const B5G5R5A1UIntNormalized: Self = _

pub const B8G8R8A8UIntNormalized: Self = _

pub const B8G8R8X8UIntNormalized: Self = _

pub const R10G10B10XRBiasA2UIntNormalized: Self = _

pub const B8G8R8A8Typeless: Self = _

pub const B8G8R8A8UIntNormalizedSrgb: Self = _

pub const B8G8R8X8Typeless: Self = _

pub const B8G8R8X8UIntNormalizedSrgb: Self = _

pub const BC6HTypeless: Self = _

pub const BC6H16UnsignedFloat: Self = _

pub const BC6H16Float: Self = _

pub const BC7Typeless: Self = _

pub const BC7UIntNormalized: Self = _

pub const BC7UIntNormalizedSrgb: Self = _

pub const Ayuv: Self = _

pub const Y410: Self = _

pub const Y416: Self = _

pub const NV12: Self = _

pub const P010: Self = _

pub const P016: Self = _

pub const Opaque420: Self = _

pub const Yuy2: Self = _

pub const Y210: Self = _

pub const Y216: Self = _

pub const NV11: Self = _

pub const AI44: Self = _

pub const IA44: Self = _

pub const P8: Self = _

pub const A8P8: Self = _

pub const B4G4R4A4UIntNormalized: Self = _

pub const P208: Self = _

pub const V208: Self = _

pub const V408: Self = _

pub const SamplerFeedbackMinMipOpaque: Self = _

pub const SamplerFeedbackMipRegionUsedOpaque: Self = _

pub const A4B4G4R4: Self = _

Trait Implementations§

§

impl Clone for DirectXPixelFormat

§

fn clone(&self) -> DirectXPixelFormat

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 Debug for DirectXPixelFormat

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
§

impl Default for DirectXPixelFormat

§

fn default() -> DirectXPixelFormat

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

impl PartialEq for DirectXPixelFormat

§

fn eq(&self, other: &DirectXPixelFormat) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Copy for DirectXPixelFormat

§

impl Eq for DirectXPixelFormat

§

impl StructuralPartialEq for DirectXPixelFormat

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> CloneToUninit for T
where T: Clone,

source§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> CloneToUninit for T
where T: Copy,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. 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.

§

impl<T, U> Param<T, CopyType> for U
where T: TypeKind<TypeKind = CopyType> + Clone, U: TypeKind<TypeKind = CopyType> + Clone + CanInto<T>,

§

unsafe fn param(self) -> ParamValue<T>

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.