Skip to main content

ComponentTypeKHR

Struct ComponentTypeKHR 

Source
#[repr(transparent)]
pub struct ComponentTypeKHR(pub i32);
Expand description

Open integer representation of VkComponentTypeKHR.

Khronos reference: VkComponentTypeKHR

Tuple Fields§

§0: i32

Implementations§

Source§

impl ComponentTypeKHR

Source

pub const FLOAT16_KHR: Self

Native value VK_COMPONENT_TYPE_FLOAT16_KHR.

Khronos reference: VK_COMPONENT_TYPE_FLOAT16_KHR

Source

pub const FLOAT32_KHR: Self

Native value VK_COMPONENT_TYPE_FLOAT32_KHR.

Khronos reference: VK_COMPONENT_TYPE_FLOAT32_KHR

Source

pub const FLOAT64_KHR: Self

Native value VK_COMPONENT_TYPE_FLOAT64_KHR.

Khronos reference: VK_COMPONENT_TYPE_FLOAT64_KHR

Source

pub const SINT8_KHR: Self

Native value VK_COMPONENT_TYPE_SINT8_KHR.

Khronos reference: VK_COMPONENT_TYPE_SINT8_KHR

Source

pub const SINT16_KHR: Self

Native value VK_COMPONENT_TYPE_SINT16_KHR.

Khronos reference: VK_COMPONENT_TYPE_SINT16_KHR

Source

pub const SINT32_KHR: Self

Native value VK_COMPONENT_TYPE_SINT32_KHR.

Khronos reference: VK_COMPONENT_TYPE_SINT32_KHR

Source

pub const SINT64_KHR: Self

Native value VK_COMPONENT_TYPE_SINT64_KHR.

Khronos reference: VK_COMPONENT_TYPE_SINT64_KHR

Source

pub const UINT8_KHR: Self

Native value VK_COMPONENT_TYPE_UINT8_KHR.

Khronos reference: VK_COMPONENT_TYPE_UINT8_KHR

Source

pub const UINT16_KHR: Self

Native value VK_COMPONENT_TYPE_UINT16_KHR.

Khronos reference: VK_COMPONENT_TYPE_UINT16_KHR

Source

pub const UINT32_KHR: Self

Native value VK_COMPONENT_TYPE_UINT32_KHR.

Khronos reference: VK_COMPONENT_TYPE_UINT32_KHR

Source

pub const UINT64_KHR: Self

Native value VK_COMPONENT_TYPE_UINT64_KHR.

Khronos reference: VK_COMPONENT_TYPE_UINT64_KHR

Source

pub const BFLOAT16_KHR: Self

Native value VK_COMPONENT_TYPE_BFLOAT16_KHR.

Khronos reference: VK_COMPONENT_TYPE_BFLOAT16_KHR

Source

pub const FLOAT16_NV: Self

Native value VK_COMPONENT_TYPE_FLOAT16_NV.

Khronos reference: VK_COMPONENT_TYPE_FLOAT16_NV

Source

pub const FLOAT32_NV: Self

Native value VK_COMPONENT_TYPE_FLOAT32_NV.

Khronos reference: VK_COMPONENT_TYPE_FLOAT32_NV

Source

pub const FLOAT64_NV: Self

Native value VK_COMPONENT_TYPE_FLOAT64_NV.

Khronos reference: VK_COMPONENT_TYPE_FLOAT64_NV

Source

pub const SINT8_NV: Self

Native value VK_COMPONENT_TYPE_SINT8_NV.

Khronos reference: VK_COMPONENT_TYPE_SINT8_NV

Source

pub const SINT16_NV: Self

Native value VK_COMPONENT_TYPE_SINT16_NV.

Khronos reference: VK_COMPONENT_TYPE_SINT16_NV

Source

pub const SINT32_NV: Self

Native value VK_COMPONENT_TYPE_SINT32_NV.

Khronos reference: VK_COMPONENT_TYPE_SINT32_NV

Source

pub const SINT64_NV: Self

Native value VK_COMPONENT_TYPE_SINT64_NV.

Khronos reference: VK_COMPONENT_TYPE_SINT64_NV

Source

pub const UINT8_NV: Self

Native value VK_COMPONENT_TYPE_UINT8_NV.

Khronos reference: VK_COMPONENT_TYPE_UINT8_NV

Source

pub const UINT16_NV: Self

Native value VK_COMPONENT_TYPE_UINT16_NV.

Khronos reference: VK_COMPONENT_TYPE_UINT16_NV

Source

pub const UINT32_NV: Self

Native value VK_COMPONENT_TYPE_UINT32_NV.

Khronos reference: VK_COMPONENT_TYPE_UINT32_NV

Source

pub const UINT64_NV: Self

Native value VK_COMPONENT_TYPE_UINT64_NV.

Khronos reference: VK_COMPONENT_TYPE_UINT64_NV

Source

pub const SINT8_PACKED_NV: Self

Native value VK_COMPONENT_TYPE_SINT8_PACKED_NV.

Khronos reference: VK_COMPONENT_TYPE_SINT8_PACKED_NV

Source

pub const UINT8_PACKED_NV: Self

Native value VK_COMPONENT_TYPE_UINT8_PACKED_NV.

Khronos reference: VK_COMPONENT_TYPE_UINT8_PACKED_NV

Source

pub const FLOAT_E4M3_NV: Self

Native value VK_COMPONENT_TYPE_FLOAT_E4M3_NV.

Khronos reference: VK_COMPONENT_TYPE_FLOAT_E4M3_NV

Source

pub const FLOAT_E5M2_NV: Self

Native value VK_COMPONENT_TYPE_FLOAT_E5M2_NV.

Khronos reference: VK_COMPONENT_TYPE_FLOAT_E5M2_NV

Source

pub const FLOAT8_E4M3_EXT: Self

Native value VK_COMPONENT_TYPE_FLOAT8_E4M3_EXT.

Khronos reference: VK_COMPONENT_TYPE_FLOAT8_E4M3_EXT

Source

pub const FLOAT8_E5M2_EXT: Self

Native value VK_COMPONENT_TYPE_FLOAT8_E5M2_EXT.

Khronos reference: VK_COMPONENT_TYPE_FLOAT8_E5M2_EXT

Source

pub const FLOAT6_E2M3_EXT: Self

Native value VK_COMPONENT_TYPE_FLOAT6_E2M3_EXT.

Khronos reference: VK_COMPONENT_TYPE_FLOAT6_E2M3_EXT

Source

pub const FLOAT6_E3M2_EXT: Self

Native value VK_COMPONENT_TYPE_FLOAT6_E3M2_EXT.

Khronos reference: VK_COMPONENT_TYPE_FLOAT6_E3M2_EXT

Source

pub const FLOAT4_E2M1_EXT: Self

Native value VK_COMPONENT_TYPE_FLOAT4_E2M1_EXT.

Khronos reference: VK_COMPONENT_TYPE_FLOAT4_E2M1_EXT

Source

pub const FLOAT8_UNSIGNED_E8M0_EXT: Self

Native value VK_COMPONENT_TYPE_FLOAT8_UNSIGNED_E8M0_EXT.

Khronos reference: VK_COMPONENT_TYPE_FLOAT8_UNSIGNED_E8M0_EXT

Source

pub const MXINT8_EXT: Self

Native value VK_COMPONENT_TYPE_MXINT8_EXT.

Khronos reference: VK_COMPONENT_TYPE_MXINT8_EXT

Source

pub const fn from_raw(value: i32) -> Self

Source

pub const fn as_raw(self) -> i32

Source

pub const fn empty() -> Self

Trait Implementations§

Source§

impl Clone for ComponentTypeKHR

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for ComponentTypeKHR

Source§

impl Debug for ComponentTypeKHR

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Default for ComponentTypeKHR

Source§

fn default() -> Self

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

impl Eq for ComponentTypeKHR

Source§

impl Hash for ComponentTypeKHR

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for ComponentTypeKHR

Source§

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

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

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

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for ComponentTypeKHR

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§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

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

Source§

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

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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.